Godlike Productions

Godlike ProductionsGodlike Productions
  • Dark Heaven Studio
    • Dark Heaven Studio
    • Music
      • The Bands
      • Times of The Sines
        • Singles
        • Man v Machine
        • The First Sign
        • Pulsecodes (Mucho Rapido Mix)
        • Featured On
        • Ming - Addiction EP
        • Compilation - Furchick Throws a Curveball
      • LD 120
        • Albums
        • Wise Words
        • Consume
        • Slowdive
        • The Citadel of Fear (Live)
        • EP's
        • Trancefer
        • Singles
        • The Mall
        • Bitted
        • Atlas My Mark
        • Featured On
        • Semikazi Compilation 2
        • So Who Likes Fashion Anyhow
        • Remixes
        • Lyrics
          • Cliques
          • Atlas My Mark
          • Shadow of Death
      • The X Lander
        • Albums
        • Waiting In The Wings
        • Featured On
        • Unholy Kings On A Black Horizon
      • LOST
        • Albums
        • In Translation
        • Singles
        • Lifeforms
        • Shattered
        • Lost In The Game
        • Lyrics
          • Shattered
          • Lost In The Game
      • Schlerb
      • Sensory Overload
      • The Studio
      • Dark Heaven Studio
      • Bandcamp
      • Podcast
      • Podcast Help
      • Soundcloud
      • Weekly Beats
    • Software
      • PC3 Envelope Controller
      • Jupiter 8 Morph
      • PC3 Bank Decoder
      • K2x00 Remote
      • H9000 Preset Tool
      • Requiem Roller
    • Synth Support
      • Kurzweil
      • Yamaha
      • mLAN
        • mLAN Resources
        • mLAN Chipsets
      • Studio Connections
      • 8PortSE
      • Max 4 Live
      • MIDI Hub
    • Sounds and Patches
      • Bravo
      • LiquidT
      • KSP8
      • H9000
      • Jupiter 8
      • Deluge
    • News
      • New H9000 Algorithms
      • LOST feat Monique Simone releases Lost In The Game
      • Jupiter 8 Morph Updated
      • Times Of The Sines featured in Compilation
      • Snake Skin Jacket Music Video
      • Times of The Sines remixes The Bells by Ming One
      • Jupiter 8 Morph Released
      • Times of The Sines - The First Sign Released
      • Times of The Sines - Golden Door released through Lightarmour Editions
      • Kurzweil RSP8 Studio Connections Module Released
      • Times of the Sines Joins Lightarmour Editions
      • LD 120 - Melt Through The Mobius of Time Video
      • Times of the Sines Man v Machine Released
      • The X Lander - Waiting In The Wings
      • Times of the Sines - Pulsecodes Video
      • LOST Performs at Noisemachine Virtual Gig
      • LOST releases Shattered
      • Times of the Sines - Live at Psychedelicious
      • Times of the Sines - Live at Good Shepherd
      • Times of the Sines - Live at The Artifactory
      • Mikro Tutorials
        • Mikro Tutorial #10 Released
        • Mikro Tutorial #9 Released
        • Mikro Tutorial #8 Released
        • Mikro Tutorial #7 Released
        • Mikro Tutorial #6 Released
        • Mikro Tutorial #5 Released
        • Mikro Tutorial #4 Released
        • Mikro Tutorial #3 Released
        • Mikro Tutorial #2 Released
        • Mikro Tutorial #1 Released
      • Programming With The Puppeteer
        • PWP1 - Virtual Analog
        • PWP2 - Pads
        • PWP3 - PWM
      • Video Tutorial
        • Tutorial 1 - PC3 101
        • Tutorial 2 - Effects
        • Tutorial 3 - Envelopes
        • Tutorial 4 - Controllers
        • Tutorial 5 - MIDI Sync
        • Tutorial 6 - FUNS
        • Tutorial 7 - Riffs
        • Tutorial 8 - Arps
        • Tutorial 9 - MIDI Sync 2
        • Tutorial 10 - Wrap
        • Tutorial 11 - Live Mode
        • Tutorial 13 - Forte and Deluge
      • H9000 Videos
    • Forums
    • Store
  • Forums
  • Picture Framing
    • Glass Cutting
  • Tech Tools
    • Typo3
      • Just News Template
      • Missing Lightbox Buttons
      • Image Spacing
      • nbo_podcast for External Servers
      • tt_news Formatting
      • Typo3 Page Statistics
      • Direct Mail Categories
    • Audio Servicing
      • Kurzweil DMTi
    • Ctrlr
    • Uwatec Memo Mouse on Windows 10
    • Wonderware Historian Current Date
    • SMF Downloads Pro php 7 Fix
    • Pond Volumes
  • Store
Tech Tools » Typo3 » Direct Mail Categories
    • Dark Heaven Studio
    • Forums
    • Picture Framing
    • Tech Tools
      • Typo3
        • Just News Template
        • Missing Lightbox Buttons
        • Image Spacing
        • nbo_podcast for External Servers
        • tt_news Formatting
        • Typo3 Page Statistics
        • Direct Mail Categories
      • Audio Servicing
      • Ctrlr
      • Uwatec Memo Mouse on Windows 10
      • Wonderware Historian Current Date
      • SMF Downloads Pro php 7 Fix
      • Pond Volumes
    • Store

Direct Mail Categories

Typo3 v3?, Direct Mail 2.0.0, Direct Mail Subscription 1.1.0


[Listening to: Amen - Astral Projection - Amen (6:02)]

After spending about a day and a half searching the internet for information on how to get category's to work in Typo3's Direct Mail module, I've finally worked it out.

This applies to Typo3 installations with Direct Mail 2.0.0 or higher and with Direct Mail Subscription 1.1.0

Categories are now stored in a database, rather than how they were previously. The categories themselves are still defined in the old way, and in my case I've got them in a system folder (the id is 54) which will help in deciephering all of the code that's coming up.

On backend pages where you want the categories list to appear you will need to put this in the Page TS Config window (you can find this by going to the Edit Page Properties on the page required.

 

TCEFORM.tt_content.module_sys_dmail_category.PAGE_TSCONFIG_IDLIST = 54
TCEFORM.tt_address.module_sys_dmail_category.PAGE_TSCONFIG_IDLIST = 54
TCEFORM.fe_users.module_sys_dmail_category.PAGE_TSCONFIG_IDLIST = 54
TCEFORM.sys_dmail_group.select_categories.PAGE_TSCONFIG_IDLIST = 54

TCEFORM.tt_content.module_sys_dmail_category.disabled = 0
TCEFORM.tt_address.module_sys_dmail_category.disabled = 0
TCEFORM.fe_users.module_sys_dmail_category.disabled = 0
TCEFORM.sys_dmail_group.select_categories.disabled = 0

 

You will also need the line

 

config.insertDmailerBoundaries = 1

 

In the Direct Mail Folder, but in the TS Setup property. Installing the static template "Direct Mail Content Boundaries" though, should do this automatically for you.

I've got a bunch of other stuff in mine as well, that's working, so if you have this in, and it doesn't work, let me know, and I'll post the full stuff that's in mine.

For frontend pages where you want the subscriber information I've got this in my Page TS Config.

 

TCEFORM.tt_content.module_sys_dmail_category.PAGE_TSCONFIG_IDLIST = 54
TCEFORM.tt_address.module_sys_dmail_category.PAGE_TSCONFIG_IDLIST = 54
TCEFORM.fe_users.module_sys_dmail_category.PAGE_TSCONFIG_IDLIST = 54
TCEFORM.sys_dmail_group.select_categories.PAGE_TSCONFIG_IDLIST = 54

plugin.feadmin.dmailsubscription.cObjects.CATLIST.pid = 54

 

I'm not sure if you need the first 4 lines, but the last one is important. It tells the page where to find the categories.

You need to get rid of whatever was in the TS Config box before, because it stops the new one from working properly.

You need to set a template (or at least a template extension) for this page that includes the Direct Mail Content Boundaries Static Template.

You will also need a new tmpl file. The old one simply won't work with the new categories. It will display on the page like it used to, and it will appear to work, but the front page categories won't line up with the new back end categories, and that's kinda the whole point.

To fix it, you will need to add in

 

<BR>

###CE_CATLIST###

<BR>

 

This will need to go in place of the existing category list (ie the bit that looked a bit like)

 

<br>
<b>Select Special Categories:</b><BR>
<table>
<tr>
<td>###GW2B###Corporate###GW2E###</td><td><input type="checkbox" name="FE<tt_address><module_sys_dmail_category><0>"></td>
</tr>
<tr>
<td>###GW2B###Technical###GW2E###</td><td><input type="checkbox" name="FE<tt_address><module_sys_dmail_category><1>"></td>

</tr>
<tr>
<td>###GW2B###Announcements###GW2E###</td><td><input type="checkbox" name="FE<tt_address><module_sys_dmail_category><2>"></td>
</tr>
</table>

<BR>

 

There is a new template file included with the latest installations, that you can download from the Typo3 repository (go to typo3.org/extensions/repository/list/direct_mail_subscription//info/ext_typoscript_setup.txt/ and download the .tmpl file.)

Note that there is still an error in this new file, and that you'll need to edit this file to fix the Edit Profile links. It's still configured for the old module, not the new one. The simplest way is to search for "Edit profile" and put in the ###CE_CATLIST### entry instead of the Special Categories table.

You'll probably want to edit the email templates near the bottom of this file as well, so that it is more suited your site (ie change the email subject and contents.)

Once you've made the changes you will need to upload the .tmpl file. This is done on the template page for the page where you want it (or wherever you have the direct mail subscription template setup). Browse and upload.

To change the email address and name that the email is sent from go to the template extension and set the constants in the Direct Mail Subscription section.

The Direct Mail Tutorial is still the easiest way to get this incredibly powerful mailing list running, though you'll need the information above for setting the categories, rather than the tutorial file. The manual is useful for the backend stuff, but tells you nothing about the frontend subscription.

The next thing to do is to tie all of this in with the tt_news plugin, but I might leave that for another day.

Hope this is helpful, and I hope this finds it's way sufficiently up the google list for it to be genuinely useful. If you have any comments, corrections, or questions, please add a comment.


Addendum

A short addendum to this, because it looks like lots of people are finding this page to help configure directmail.

There is a bug whereby blank newsletters will be generated with the stock directmail/typo3 installation on the latest php installation.

The workaround for this is to clear the cache (using the buttons at the bottom of the left menu in the backend) between each of the steps in creating a direct mail mailout.

I think the cache needs to be cleared immediately before you create the newsletter, or it won't work.

This is documented in the bugs section of the typo3 website and will hopefully be fixed at some stage. I think that there is a fix documented there, but it's a low priority for us at the moment.

  • © 1997 -2022 Godlike Productions. All Rights Reserved
  • |
  • About Us
  • |
  • Contact
  • |
  • Privacy Policy
  • |
  • Site Map
Godlike Productions is on Facebook Godlike Productions is on Twitter Godlike Productions is on Soundcloud Godlike Productions is on Youtube Godlike Productions is on Bandcamp