Search found 3323 matches

by velden
Sat Mar 27, 2021 5:37 pm
Forum: Modules/Add-Ons
Topic: Protect content with mams_protect problem with javascript
Replies: 7
Views: 254

Re: Protect content with mams_protect problem with javascript

Would it be an idea to start with a simple test? E,g,: 1. Just protect a div with some sample text with a single mams_protect tag 2. Protect two divs with two mams_protect tags, each for a different group In that case you're keeping the complexity of canvas and JS out of the equation. If those tests...
by velden
Sun Mar 14, 2021 10:05 am
Forum: Polish - Polski
Topic: umieszczenie chatu messengera na stronie
Replies: 1
Views: 483

Re: umieszczenie chatu messengera na stronie

Templates are usually stored in the database. You can access them via the CMSMS admin panel. 2021-03-14 11_00_59-Design Manager - CMSMS 2.2.14 - Brave.png To know what templates are used for specific pages you can check the Content Manager: 2021-03-14 11_02_49-Content Manager - CMSMS 2.2.14 - Brave....
by velden
Sun Mar 14, 2021 9:56 am
Forum: Developers Discussion
Topic: pagination in module action
Replies: 2
Views: 260

Re: pagination in module action

News module? action.default.php for example
by velden
Fri Mar 12, 2021 1:15 pm
Forum: CMSMS Core
Topic: Database connection issue after migrating
Replies: 14
Views: 424

Re: Database connection issue after migrating

First it could help if you can post the system information (if accessible) or at least the version of cmsms (version.php in the install root). Possible things to check: Clear the cache: standard procedure after moving a website but I don't remember this problem being caused by cache. Empty the folde...
by velden
Wed Mar 10, 2021 1:30 pm
Forum: Dutch - Nederlands
Topic: "Er is een probleem opgetreden tijdens het communiceren met
Replies: 19
Views: 2408

Re: "Er is een probleem opgetreden tijdens het communiceren met

Is al een tijdje opgelost in 2.2.15

BR #12338 - Allow http/2 responses.
http://dev.cmsmadesimple.org/bug/view/12338
by velden
Tue Mar 09, 2021 4:27 pm
Forum: Modules/Add-Ons
Topic: CGCalendar - Dropdown from UDT
Replies: 9
Views: 536

Re: CGCalendar - Dropdown from UDT

Mostly stolen from the LISE module: $contentops = cmsms()->GetContentOperations(); $result = array(); $allcontent = $contentops->GetAllContent(false); if ($allcontent !== FALSE && count($allcontent) > 0) { $result[-1] = 'Choose a page'; foreach ($allcontent as $one) { // Check if object is valid if(...
by velden
Tue Mar 09, 2021 3:53 pm
Forum: Modules/Add-Ons
Topic: CGCalendar - Dropdown from UDT
Replies: 9
Views: 536

Re: CGCalendar - Dropdown from UDT

you could try to create a UDT (for testing) with some simple code:

Code: Select all

return array(
  'alias1' => 'Title 1',
  'alias2' => 'Title 2'
 );
That would tell you if that's the expected output.
by velden
Tue Mar 09, 2021 3:21 pm
Forum: Modules/Add-Ons
Topic: CGCalendar - Dropdown from UDT
Replies: 9
Views: 536

Re: CGCalendar - Dropdown from UDT

What should be the format of the output of the UDT?
That's important for you: do you want to use the page alias or page id the create the links (both are possible).
What do you want the user to see in the dropdown?
by velden
Thu Feb 25, 2021 8:58 am
Forum: Modules/Add-Ons
Topic: CGCalendar not having foreach
Replies: 5
Views: 289

Re: CGCalendar not having foreach

Probably this works too:

Code: Select all

{$event.fields['my field name with spaces'].field_value}
https://www.smarty.net/docs/en/language ... soc.arrays
by velden
Tue Feb 23, 2021 9:38 pm
Forum: Modules/Add-Ons
Topic: Error in CGCalendar
Replies: 1
Views: 138

Re: Error in CGCalendar

Being on shared hosting doesn't imply it's impossible to change PHP version. It's rather common it can be changed.

Further, it's a warning, so you could consider to change the server's settings to display errors/warnings on your website.
by velden
Mon Feb 22, 2021 1:07 pm
Forum: Modules/Add-Ons
Topic: TinyMCE WYSIWYG
Replies: 3
Views: 194

Re: TinyMCE WYSIWYG

by velden
Thu Feb 18, 2021 6:45 pm
Forum: Modules/Add-Ons
Topic: LISE Prev page next page remaming links
Replies: 2
Views: 187

Re: LISE Prev page next page remaming links

Check for 'prevurl' and 'nexturl' variables and create the links yourself.
by velden
Fri Feb 12, 2021 5:23 pm
Forum: French - Français
Topic: Générateur de titre, image, contenu dans gestion du contenu
Replies: 8
Views: 1770

Re: Générateur de titre, image, contenu dans gestion du contenu

One way to approach this is using the Navigator template you already have: {foreach $nodes as $node} {$anchors[] = "<a href=\"#{$node->alias}\">{$node->menutext}</a>"}{* build an array of anchor links *} <div class="my-dynamic-content" id="{$node->alias}"> <h2>{page_attr page=$node->alias key='title...
by velden
Mon Feb 08, 2021 4:55 pm
Forum: French - Français
Topic: Générateur de titre, image, contenu dans gestion du contenu
Replies: 8
Views: 1770

Re: Générateur de titre, image, contenu dans gestion du contenu

So, let's say you have a main menu which has no sub-menus. Then you could use the navigator's number_of_levels parameter to only display one level. {Navigator number_of_levels=1 ...} For the pages you want to include content (text, header, image) of sub-pages you could also use Navigator; NOT to cre...

Go to advanced search