Search found 3476 matches

by velden
Wed Jan 25, 2023 7:56 pm
Forum: Modules/Add-Ons
Topic: Formbuilder validation
Replies: 1
Views: 633

Re: Formbuilder validation

This part from the help almost says it all: Validation UDT. Set this for a form, and the UDT will receive all of the form's human-readable results. The UDT should do whatever validation it wants, and return an array with the first value being true or false (indication whether the form validates), an...
by velden
Sun Jan 22, 2023 6:02 pm
Forum: CMSMS Core
Topic: Creating a side Menu with Navigator
Replies: 5
Views: 778

Re: Creating a side Menu with Navigator

I suppose number_of_levels=1
by velden
Sun Jan 22, 2023 3:41 pm
Forum: CMSMS Core
Topic: Creating a side Menu with Navigator
Replies: 5
Views: 778

Re: Creating a side Menu with Navigator

The module's help can be found in Module Manager. For a side menu you probably (also) need the (optional) start_level ="" - This option will have the menu only display items starting at the given level relative to the current page. An easy example would be if you had one menu on the page w...
by velden
Tue Jan 03, 2023 10:15 am
Forum: Dutch - Nederlands
Topic: sites onvindbaar na upgrade PHP naar versie > 8
Replies: 8
Views: 4471

Re: sites onvindbaar na upgrade PHP naar versie > 8

Ik kan me niet vinden in die stelling eerlijk gezegd. Ten eerste: voor zowel MenuManager als Navigator heb je Smarty templates nodig. Wat dat betreft is er weinig veranderd. Out of the box kun je met Navigator en de standaard templates gewoon een navigatie-menu opbouwen. Mogelijk zijn de structuur e...
by velden
Mon Jan 02, 2023 12:59 pm
Forum: Dutch - Nederlands
Topic: sites onvindbaar na upgrade PHP naar versie > 8
Replies: 8
Views: 4471

Re: sites onvindbaar na upgrade PHP naar versie > 8

Smarty-kennis. Net zoals in de templates van MenuManager
by velden
Mon Jan 02, 2023 9:13 am
Forum: Dutch - Nederlands
Topic: sites onvindbaar na upgrade PHP naar versie > 8
Replies: 8
Views: 4471

Re: sites onvindbaar na upgrade PHP naar versie > 8

Het klopt dat de verouderde/deprecated module MenuManager niet PHP 8.x compatible is. Daar moet je dus afscheid van nemen aangezien je hosting provider PHP 7.x op (korte) termijn niet meer zal aanbieden. Navigator is inderdaad de opvolger maar templates zijn niet 1 op 1 over te nemen. Het verschil i...
by velden
Fri Dec 23, 2022 2:23 pm
Forum: CMSMS Core
Topic: Step 2 in cmsms upgrade installer does not happen
Replies: 3
Views: 795

Re: Step 2 in cmsms upgrade installer does not happen

Expanded installer can be downloaded from: https://www.cmsmadesimple.org/downloads/cmsms > cmsms-2.2.16-install.expanded.zip

Extract the zip file and please read the README.TXT first. It explains how to use this installer.
by velden
Sat Nov 12, 2022 11:38 am
Forum: Modules/Add-Ons
Topic: Lise name of uploaded file
Replies: 4
Views: 904

Re: Lise name of uploaded file

That sounds like a much easier way indeed.
by velden
Sat Nov 12, 2022 9:49 am
Forum: Modules/Add-Ons
Topic: Lise name of uploaded file
Replies: 4
Views: 904

Re: Lise name of uploaded file

Yes, should be possible with Events and a UDT. You will need to think it out well of course. For example, every time an editor saves an (existing) item you will need to check if the file and/or category and/or reference have been changed to determine whether you have to do something with the filenam...
by velden
Fri Nov 11, 2022 3:55 pm
Forum: Modules/Add-Ons
Topic: News module custom field document format
Replies: 9
Views: 1747

Re: News module custom field document format

Can you post here the output of:

Code: Select all

...
  {if $field->type == 'file'}
...
  <pre>
    filename: {$field->value}
    print_r:
    {$field->value|pathinfo|print_r} 
  </pre>
...
by velden
Fri Nov 11, 2022 1:08 pm
Forum: Modules/Add-Ons
Topic: News module custom field document format
Replies: 9
Views: 1747

Re: News module custom field document format

Although I think you should stay away from the foreach loop looping over fields I will use it for this example: {if isset($entry->fields)} {foreach from=$entry->fields item='field'} <div> {if $field->type == 'file'} {$pathinfo = $field->value|pathinfo} {$extension = $pathinfo.extension} <a href='{$e...
by velden
Wed Nov 09, 2022 3:36 pm
Forum: Dutch - Nederlands
Topic: Navigator template werkt niet meer met php8.1
Replies: 6
Views: 5025

Re: Navigator template werkt niet meer met php8.1

Hoe is het probleem ontstaan eigenlijk? Je wilt PHP versie 8.1 gaan gebruiken en werd daarom gedwongen om over te stappen van Menu Manager naar Navigator? Of werkte je al met Navigator en werkt het nu niet meer door de upgrade naar versie 8.1? Ik begrijp namelijk niet hoe je ooit met een menu van <d...
by velden
Wed Nov 09, 2022 9:40 am
Forum: Dutch - Nederlands
Topic: Navigator template werkt niet meer met php8.1
Replies: 6
Views: 5025

Re: Navigator template werkt niet meer met php8.1

Code: Select all

{function name=Nav_menu depth=1}{strip}
<ul class="navbar-nav mr-auto">
{foreach $data as $node}
Ik denk dat je daar ook een conditie wilt inbouwen:

Code: Select all

{function name=Nav_menu depth=1}{strip}
<ul{if $depth==0} class="navbar-nav mr-auto"{/if}>
{foreach $data as $node}
by velden
Wed Oct 19, 2022 1:16 pm
Forum: Modules/Add-Ons
Topic: Module Uploads
Replies: 6
Views: 1510

Re: Module Uploads

Possibly related (but as DIGI3 mentioned, it will not be fixed by the developer):
http://dev.cmsmadesimple.org/bug/view/12016
by velden
Wed Oct 12, 2022 7:10 am
Forum: Modules/Add-Ons
Topic: FEU enhanced passwords
Replies: 8
Views: 3938

Re: FEU enhanced passwords

Everything what DIGI3 says plus:

Config entries have another form. E.g.:

Code: Select all

$config['feu_disable_forgotpw'] = true;

Go to advanced search