Search found 54 matches
- Wed Mar 12, 2008 9:12 am
- Forum: French - Français
- Topic: site multi-langues CMSMLE et intégration cataloger
- Replies: 5
- Views: 3230
Re: site multi-langues CMSMLE et intégration cataloger
Au cas où, je décris ici une méthode que je trouve relativement simple et que j'utilise sur plein de sites multilingues. Elle ne nécessite que CMSMS "normal" et ajoute simplement des blocs de contenu pour chaque langue au gabarit des pages... http://forum.cmsmadesimple.org/index.php/topic,...
- Wed Jan 23, 2008 1:38 pm
- Forum: General Discussion
- Topic: SOLVED - PHP: How to get the TITLE of a page
- Replies: 1
- Views: 2334
Re: SOLVED - PHP: How to get the TITLE of a page
OK, I've found the solution, but I had to dig into Content.inc.php. Basically, the name of the title is stored in the mName attribute Therefore, using echo $content->mName; instead of the of the menu name in the previous code will work. Not that straightforward. I hope it will help others ;D
- Wed Jan 23, 2008 1:07 pm
- Forum: General Discussion
- Topic: SOLVED - PHP: How to get the TITLE of a page
- Replies: 1
- Views: 2334
SOLVED - PHP: How to get the TITLE of a page
Hello my friends, I've already spent a few hours on this and can't find the answer ??? I'm writing a code which lists the direct children of a page: I currently display the MenuText that corresponds to each children, but I would like now to display their full title instead . I've tried TitleAttribu...
- Fri Nov 16, 2007 9:56 am
- Forum: [locked] Installation, Setup and Upgrade
- Topic: multiple languages on an existing site
- Replies: 2
- Views: 1358
Re: multiple languages on an existing site
Also, if you don't want to mess with another installation of the multilingual version CMSMS (which I haven't tried yet - I definitively should ;) !), you can use global content blocks on any regular install of CMSMS. I've described all steps here: http://forum.cmsmadesimple.org/index.php/topic,11756...
- Fri Jul 20, 2007 12:52 pm
- Forum: Developers Discussion
- Topic: Calling a User Defined Tag from another one
- Replies: 4
- Views: 2293
Re: Calling a User Defined Tag from another one
Hm couldn't find this out. I'm sure somebody has already done it
- Wed Jul 18, 2007 12:57 pm
- Forum: Developers Discussion
- Topic: Calling a User Defined Tag from another one
- Replies: 4
- Views: 2293
Re: Calling a User Defined Tag from another one
Thank you Ronny, this surely helps!
I don't think that this really shows how to pass parameters, though, but I'll give it a try
Say if you have something like:
{myusd param="42"}
how would this translate to PHP code?
I don't think that this really shows how to pass parameters, though, but I'll give it a try
Say if you have something like:
{myusd param="42"}
how would this translate to PHP code?
- Wed Jul 18, 2007 12:27 pm
- Forum: Developers Discussion
- Topic: Calling a User Defined Tag from another one
- Replies: 4
- Views: 2293
Calling a User Defined Tag from another one
Hello,
I love developing User Defined Tags and I'm wondering: is there a way to call a User Defined Tag (and pass parameters to it) within another one? Or to call smarty within a USD?
Thank you very much for your help!
Cheers
JS
I love developing User Defined Tags and I'm wondering: is there a way to call a User Defined Tag (and pass parameters to it) within another one? Or to call smarty within a USD?
Thank you very much for your help!
Cheers
JS
- Wed Jul 04, 2007 10:38 am
- Forum: Tips and Tricks
- Topic: My trick for multilingual pages with regular CMS v1.0.6
- Replies: 36
- Views: 60346
Re: My trick for multilingual pages with regular CMS v1.0.6
Hi all,
You're welcome!
I've used this script on numerous websites now and it seems to work without much problems.
Cheers
You're welcome!
I've used this script on numerous websites now and it seems to work without much problems.
Cheers
- Mon May 21, 2007 12:17 pm
- Forum: French - Français
- Topic: menu sur trois lignes de couleurs différentes
- Replies: 2
- Views: 1482
Re: menu sur trois lignes de couleurs différentes
Ta méthode va marcher, pas de soucis. Il y a aussi un argument pour plier ou déplier le menu qui peut t'être utile, je te laisse regarder la doc. Si tu préfères changer le template du menu, c'est aussi possible, tu peux alors détecter le niveau hiérarchique et faire tes divs... Comme tu veux ! Tu pe...
- Fri May 11, 2007 5:09 pm
- Forum: Tips and Tricks
- Topic: Easy Database Backup Script
- Replies: 19
- Views: 21115
Re: Easy Database Backup Script
Great job, thanks for the tip
- Mon May 07, 2007 9:26 am
- Forum: Tips and Tricks
- Topic: Customizing your template based on the current page
- Replies: 26
- Views: 83809
Re: Customizing your template based on the current page
> I wonderd if it is possible to create a user defined tag from
> When i try this i get an error.
I haven't followed the discussion, but if you paste Smarty code in a User Defined Code, it won't work since it expects PHP. Maybe that's your problem? You can make a global content block instead.
> When i try this i get an error.
I haven't followed the discussion, but if you paste Smarty code in a User Defined Code, it won't work since it expects PHP. Maybe that's your problem? You can make a global content block instead.
- Mon May 07, 2007 9:24 am
- Forum: Tips and Tricks
- Topic: My trick for multilingual pages with regular CMS v1.0.6
- Replies: 36
- Views: 60346
Re: My trick for multilingual pages with regular CMS v1.0.6
Thanks Pierre, Sure, the multiple tree is a simple way to solve the problem. Since some of my clients asked me to have a single page, this template works better for them. I would love to contribute to developing the core but I really don't have time to put efforts on that: I'm working as a designer...
- Fri May 04, 2007 1:27 pm
- Forum: Tips and Tricks
- Topic: My trick for multilingual pages with regular CMS v1.0.6
- Replies: 36
- Views: 60346
Re: My trick for multilingual pages with regular CMS v1.0.6
> 1. Since the language chosen is contained by the url, do you know if "pretty" urls using Apache's rewrite engine will still work properly? Probably not, but don't forget that you only need to use the language parameter on one page, it is then stored in a cookie so that all other links do...
- Wed May 02, 2007 11:30 am
- Forum: Tips and Tricks
- Topic: My trick for multilingual pages with regular CMS v1.0.6
- Replies: 36
- Views: 60346
Re: My trick for multilingual pages with regular CMS v1.0.6
Also, if you have problems with the search module, have a look there:
http://forum.cmsmadesimple.org/index.ph ... 845.0.html
Cheers
http://forum.cmsmadesimple.org/index.ph ... 845.0.html
Cheers
- Tue May 01, 2007 8:43 am
- Forum: General Discussion
- Topic: [SOLVED] Can Search module index custom content blocks
- Replies: 5
- Views: 5919
[SOLVED] Can Search module index custom content blocks
Solved ---- Hello, In an attempt to create a multilingual version of a site within the same template, I'm using loads of custom content blocks such as {content block="content_fr"} The Search module doesn't seem to index them, though. Is there a way to do so? Indexing seems to take place...