[solved] Global content - question

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Badyl

[solved] Global content - question

Post by Badyl »

Hello

I have a code

Code: Select all

{cms_module module='Album' albums='1,4,5,6'}  
Numers of album (1,4,5,6) i would like to replace over the Global Content Block

but this code doesn't work:

Code: Select all

{cms_module module='Album' albums='{global_content name='Galeria'}'}  
Have you any idea for this ?
Last edited by Badyl on Thu Nov 29, 2007 11:16 am, edited 1 time in total.
alby

Re: Global content - question

Post by alby »

Badyl wrote: but this code doesn't work:

Code: Select all

{cms_module module='Album' albums='{global_content name='Galeria'}'}  
Have you any idea for this ?
Use:

Code: Select all

{capture assign=galeria}{global_content name='Galeria'}{/capture}
{cms_module module="Album" albums="$galeria"}
Alby
Badyl

Re: [solved] Global content - question

Post by Badyl »

Thanx works fine :)
Locked

Return to “CMSMS Core”