Edit email message in Listit2

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
trustyrusty
New Member
New Member
Posts: 4
Joined: Thu Oct 04, 2018 1:29 am

Edit email message in Listit2

Post by trustyrusty »

Hi There

Someone has asked me to look after their website...

I have little knowledge of CMSmadesimple.

All I need to do is edit the email message sent out by Listit2 -

(It is being used as a list of stores as they join)

I assume it is Listit2 - I have seen messages for Csmailer - as there is

contact us form (not being used) and is not in there - although it

maybe using csmailer as a dependency.

Can someone give me a clue where to find the file / or content in DB.

(it maybe hard coded in a php function file, or php mailer)

or how it could be set up to for the email message as someone joins

with their details.

Thanks
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1609
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: Edit email message in Listit2

Post by DIGI3 »

I don't think Listit2 does emailing, but it could be being used to add fields to a form. It's an old and unsupported module, which means you're on an old an unsupported version of CMSMS, so it's going to be a guessing game as to what's going on.

You'll probably need to figure out exactly what's creating the form, and what the form action is, to see where the email template is being created. Most sites from that era use FormBuilder (which is still alive and well) but it could be something custom.
Not getting the answer you need? CMSMS support options
trustyrusty
New Member
New Member
Posts: 4
Joined: Thu Oct 04, 2018 1:29 am

Re: Edit email message in Listit2

Post by trustyrusty »

Thank you,

Can you give me a clue where it could be ?

There is formbuilder - think Listit2 is using formbuilder to it out with
csmailer??

(no idea how the system works) ..

Where are the email templates - I need something - I have looked

through everything ..

In general where would the email templates or the where it would it

pull it from for the message

Formbuilder has a reponse email template or in admin I have seen but

it is not the one...

I think the dev has hidden it somewhere...

Any ideas where I could look?

Thanks
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1609
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: Edit email message in Listit2

Post by DIGI3 »

In 2.x you could probably find it quickly with Admin Search, but no such beast exists in 1.x.

You'll need to start by looking at the content page, see what tags are in it. If there's nothing obvious there, look at the template that page is using. You can also view the source of the live page and see what the form action is - that will give a clue as to what's processing the form.
Not getting the answer you need? CMSMS support options
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3483
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: Edit email message in Listit2

Post by velden »

It can be in the CMSMS CMSmailer setting (Extensions -> CMSMailer)

Another possibility is some custom code in Extensions -> User Defined Tags -> ...
trustyrusty
New Member
New Member
Posts: 4
Joined: Thu Oct 04, 2018 1:29 am

Re: Edit email message in Listit2

Post by trustyrusty »

Thank you

I have been the wrong info, sort of ....but still issue exists.

In the admin of the listit2, there is a link that says "view" - it is pop up modal that has a short list of the listers info, and links to pre-loaded email templates - ie Not approved or approved.

The email is created by the pre-populated email link....

email?subject=Dear John&body=You application 123 has successful.

etc etc

It is pulling some ids from the data..

When I mouse over link > /moduleinterface.php in "view"---------

In module interface php - nothing...

Where can I find the admin template for listit2 or the admin template of cmsms so I can find the links to edit...

I will have to find a link in template for a module - I have looked through js's and nothing so far.

I am not sure if that is a normal part of listit2 or is a custom..

I think it maybe be buried in a $lang string [answer1] ??- dont know - no idea...

Thanks
trustyrusty
New Member
New Member
Posts: 4
Joined: Thu Oct 04, 2018 1:29 am

Re: Edit email message in Listit2

Post by trustyrusty »

In regards to last post..(not published yet)

I found !
In module files ...(tpl file)

href="mailto:{$listemail}?subject=Thanks%20for%20your%20

Really long...I am not sure how they created these, is there a program/site that would create - would be really hard to originally make - each word has a space %20.....
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3483
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: Edit email message in Listit2

Post by velden »

Search for 'urlencode' to find more information about the encoding. Note that smarty has functions for it too.

Regarding modifying admin templates read this please: https://docs.cmsmadesimple.org/customiz ... -templates

Note that it might be slightly different for LISE (doing it the old way)
Post Reply

Return to “Modules/Add-Ons”