Search found 118 matches
- Fri Jul 05, 2024 5:10 pm
- Forum: Developers Discussion
- Topic: Load photos into module.
- Replies: 1
- Views: 1012
Re: Load photos into module.
You can leverage the fileManager module in CMS Made Simple to handle most of the file uploading and management tasks, which will save you from writing a lot of custom code for uploading, sanitizing, converting, and resizing images. Below is an example of how you can integrate file upload functionali...
- Fri Jul 05, 2024 3:07 pm
- Forum: Modules/Add-Ons
- Topic: [FormBuilder] Specify default form template
- Replies: 3
- Views: 1197
Re: [FormBuilder] Specify default form template
module_custom doesn’t work here for some reason. I think because it’s loading a hard coded template link
- Fri Jul 05, 2024 9:39 am
- Forum: Modules/Add-Ons
- Topic: [FormBuilder] Specify default form template
- Replies: 3
- Views: 1197
Re: [FormBuilder] Specify default form template
i think your only option is to override the original template. Open the RenderFormDefault.tpl file located in /modules/FormBuilder/templates/ and make the necessary modifications to customize it according to your needs. Remember to do this again if you upgrade the module.
- Fri Jul 05, 2024 9:00 am
- Forum: General Discussion
- Topic: How to Use LogWatch to Debug Errors in CMS Made Simple
- Replies: 0
- Views: 2443
How to Use LogWatch to Debug Errors in CMS Made Simple
How to Use LogWatch to Debug Errors in CMS Made Simple Debugging errors in a web application can be a challenging task, especially when multiple modules and components are involved. To simplify this process in CMS Made Simple, we've created a module called LogWatch. In this blog post, we'll guide y...
- Thu May 30, 2024 11:08 am
- Forum: Modules/Add-Ons
- Topic: MAMS – error on import from FEU
- Replies: 2
- Views: 1451
Re: MAMS – error on import from FEU
import process is attempting to drop an index (cms_feu_idx_belongs) that doesn't exist in the database
- Tue May 21, 2024 9:23 am
- Forum: Modules/Add-Ons
- Topic: SmartForms and Mailchimp API
- Replies: 14
- Views: 1859
Re: SmartForms and Mailchimp API
i think the important thing is, we gave our new friend johnboyuk1 some material to work with.
- Tue May 21, 2024 9:15 am
- Forum: Modules/Add-Ons
- Topic: SmartForms and Mailchimp API
- Replies: 14
- Views: 1859
Re: SmartForms and Mailchimp API
"Stop processing dispositions based on a condition" seems to be also an option. It will not give you the thank you message
- Tue May 21, 2024 9:02 am
- Forum: Modules/Add-Ons
- Topic: SmartForms and Mailchimp API
- Replies: 14
- Views: 1859
Re: SmartForms and Mailchimp API
two options you could try: 1) inside your form template: {smtfm_form_errors assign='errors'} {if !empty($errors)} <ul class="error"> {foreach $errors as $err} <li>{$err}</li> {/foreach} </ul> {/if} {send_to_mailchimp} <form> 2) try putting the {send_to_mailchimp} in the "Form Output&q...
- Mon May 20, 2024 3:51 pm
- Forum: Modules/Add-Ons
- Topic: SmartForms and Mailchimp API
- Replies: 14
- Views: 1859
Re: SmartForms and Mailchimp API
I guess it's not necessary if you want to trigger the UDT on every submission.
- Mon May 20, 2024 12:58 pm
- Forum: Modules/Add-Ons
- Topic: SmartForms and Mailchimp API
- Replies: 14
- Views: 1859
Re: SmartForms and Mailchimp API
it's possible that "m1_" will need to be "cntnt01" check {$actionid}
- Mon May 20, 2024 12:38 pm
- Forum: Modules/Add-Ons
- Topic: SmartForms and Mailchimp API
- Replies: 14
- Views: 1859
Re: SmartForms and Mailchimp API
Yes, you can process parts of a SmartForm in CMS Made Simple to call the Mailchimp API by using a UDT as a form handler: 1) Create a UDT: Go to Extensions > User Defined Tags and create a new UDT. Name it send_to_mailchimp. Add the following PHP code to handle the Mailchimp API call: $api_key = 'you...
- Tue Apr 30, 2024 12:44 pm
- Forum: Modules/Add-Ons
- Topic: LISE categories not working when LISE Instance tag present
- Replies: 2
- Views: 13490
Re: LISE categories not working when LISE Instance tag present
Smarty processes template tags sequentially. If two tags or functions interact with each other or require similar resources, their order and mode of execution might interfere with each other. Try this: {if $items|@count > 0} <div class="table-responsive"> <table class="table table-str...
- Wed Apr 17, 2024 9:45 am
- Forum: Layout and Design (CSS & HTML)
- Topic: Please help me
- Replies: 1
- Views: 4238
Re: Please help me
It sounds like you're encountering a compatibility issue with text resizing in Internet Explorer. This could be due to differences in how IE handles text resizing compared to other browsers like Firefox. try: - Use Relative Units for Font Size: Make sure you're using relative units like em, rem, or ...
- Tue Apr 16, 2024 12:55 pm
- Forum: Italian - Italiano
- Topic: Come verificare se la pagina ha un genitore
- Replies: 1
- Views: 5419
Come verificare se la pagina ha un genitore
In CMS Made Simple, per verificare se una pagina ha un genitore (parent) direttamente dal template Smarty utilizzando le variabili integrate di CMSMS, dovresti usare la variabile $content_obj, che rappresenta l'oggetto contenuto corrente. Puoi accedere all'ID del genitore tramite questo oggetto. Ecc...
- Mon Apr 15, 2024 11:27 am
- Forum: CMSMS Core
- Topic: Add code to more than one template
- Replies: 2
- Views: 253
Re: Add code to more than one template
Hi, welcome to our forum! Embedding PHP code within templates is generally not recommended due to security concerns and best practices, which encourage separating logic from presentation. However, if you need to include PHP code for specific functionality, you can enable PHP in templates where requi...