Search found 10 matches

by mathieu.bautista
Mon Aug 01, 2011 10:29 am
Forum: CMSMS Core
Topic: How to exclude pages from cms_selflink prev/next ?
Replies: 4
Views: 1818

Re: How to exclude pages from cms_selflink prev/next ?

Hello Ronny,

Thank you, that would have been cleverer, but unfortunately I have lots of pages that can't be shown on menu...
by mathieu.bautista
Mon Aug 01, 2011 10:26 am
Forum: CMSMS Core
Topic: How to exclude pages from cms_selflink prev/next ?
Replies: 4
Views: 1818

Re: How to exclude pages from cms_selflink prev/next ?

I finally copied some code from plugins/function.cms_selflink.php and created my own user tags : {prev_link} : global $gCms; $manager = & $gCms->GetHierarchyManager(); $pages = & $manager->getFlatList(); $number = 0; for ($i=0;$i<count($pages);$i++){ if ($pages[$i]->getTag() == $gCms->variab...
by mathieu.bautista
Mon Aug 01, 2011 9:49 am
Forum: CMSMS Core
Topic: How to exclude pages from cms_selflink prev/next ?
Replies: 4
Views: 1818

Re: How to exclude pages from cms_selflink prev/next ?

I have tried this : {cms_selflink dir="prev" assign="prevlink"}{if !$prevlink|strstr:"#"}{$prevlink}{/if} {cms_selflink dir="next" assign="nextlink"}{if !$nextlink|strstr:"#"}{$nextlink}{/if} This hides the unwanted links, but doesn't solve...
by mathieu.bautista
Mon Aug 01, 2011 9:34 am
Forum: CMSMS Core
Topic: How to exclude pages from cms_selflink prev/next ?
Replies: 4
Views: 1818

How to exclude pages from cms_selflink prev/next ?

Hello, I have put the {cms_selflink dir="prev"} and {cms_selflink dir="next"} tags in my template. Here is my menu : 1- Home (page) 2- News (page) 3- Infos (page with coords, access map and contact form) 4- Access map (internal link/anchor) 5- Contact (internal link/anchor) 6- Cr...
by mathieu.bautista
Fri Apr 03, 2009 10:49 am
Forum: Modules/Add-Ons
Topic: Php error when trying to add a PageBlock content on CMSMS 1.4.1
Replies: 8
Views: 5649

Re: Php error when trying to add a PageBlock content on CMSMS 1.4.1

Hi, I think I finally found a simple trick to make PageBlocks work for non-US users, simple add the following code to your /admin/lang/ext/YOUR_LANG/admin.inc.php : $lang['admin']['contenttype_content'] = 'Content'; I think this problem is due to the /modules/PageBlocks/action.addblockcontent.php pr...
by mathieu.bautista
Wed Aug 13, 2008 1:37 pm
Forum: Modules/Add-Ons
Topic: [SOLVED] CGSimpleSmarty help with nested pages (replacement
Replies: 15
Views: 9931

Re: [SOLVED] CGSimpleSmarty help with nested pages (replacement for Page Blocks)

Hi, ???...Errrr.... Sorry, but my experience is PageBlocks 0.1.5 does NOT work with the CMSMS 1.4.1 using Apache 2 and PHP 5... Here is the bug I found : http://forum.cmsmadesimple.org/index.php/topic,24694.0.html Anyway, it seems a better solution to use "CGSimply" (not sure it's the righ...
by mathieu.bautista
Wed Aug 13, 2008 12:52 pm
Forum: Modules/Add-Ons
Topic: Php error when trying to add a PageBlock content on CMSMS 1.4.1
Replies: 8
Views: 5649

Re: Php error when trying to add a PageBlock content on CMSMS 1.4.1

I just tried to install BlockBuilder module, hoping this would replace PageBlocks... Unfortunately Block Builder ruined my CMSMS install, I can't use CMSMS back office anymore. I think I am gonna wait until CMSMS modules are more stable, before using CMSMS... I am going back to Typo3 for the moment ...
by mathieu.bautista
Wed Aug 13, 2008 12:35 pm
Forum: Modules/Add-Ons
Topic: Php error when trying to add a PageBlock content on CMSMS 1.4.1
Replies: 8
Views: 5649

Re: Php error when trying to add a PageBlock content on CMSMS 1.4.1

It seems the CMSMS Tree class (/lib/Tree/Tree.php) has been modified and is not (yet/still) implemented correctly by the PageBlocks Module (/modules/PageBlocks/classes/class.PageBlocksContent.php) I have tried to modify line 289 from file class.PageBlocksContent.php like this : // This was the previ...
by mathieu.bautista
Wed Aug 13, 2008 11:50 am
Forum: Modules/Add-Ons
Topic: Php error when trying to add a PageBlock content on CMSMS 1.4.1
Replies: 8
Views: 5649

Re: Php error when trying to add a PageBlock content on CMSMS 1.4.1

Hi again, I almost forgot, here is my server config : - OS : Linux Ubuntu 6.10 Server - Web server : Apache 2.2.4 with PHP 5.2.1 I have tried to remove ampersands (&) before each object, but it doesn't change anything... Maybe this is a PHP 4 / PHP 5 compatiblity issue ? Anybody can help please ?
by mathieu.bautista
Wed Aug 13, 2008 9:03 am
Forum: Modules/Add-Ons
Topic: Php error when trying to add a PageBlock content on CMSMS 1.4.1
Replies: 8
Views: 5649

Php error when trying to add a PageBlock content on CMSMS 1.4.1

Hi, I have just installed CMSMS 1.4.1 "Spring Garden" and the PageBlocks module 0.1.5. (I am using the French localization) I think there are two problems : - When I go to the Content Menu > PageBlocks : http://ircf.fr/tmp/cmsms_error_1.gif Here I can't see the "Add Block" button...

Go to advanced search