I've been looking through the forum and I can't find an answer to this question. I hope there is one though. If I missed it or you think this topic is bad I hope you can forgive a beginer at CMS.
I'm running cms 1.5.3.
I have a module tag with inputs. It so happens to be a module not in the core cms package but the question is general for all moduls. The tag is this: {cms_module module='SimpleSlider' show='showname'}
My question is this: Is there a way for you to tell the tag differnet shownames on diffrent pages. For example have shownames that are the same as the page alias. So I like to be able to do something like this:
{cms_module module='SimpleSlider' show=pageAlias}
and depending on what page I'm on it will be the show for "home", "contact", "about me" and so on.
Can you do it somehow? I've tried the basic things like doing it all in a udt but the built string is not read as a "smarty tag" on the page. so it just comes up as a text lite exactly what it looks like. Is there a way to make it read it as a tag instead of just normal text?
I hope I'm doing this right.
Thanks for any help
[Solved] adding custom info into a module smarty tag depending on page.
[Solved] adding custom info into a module smarty tag depending on page.
Last edited by perseus on Thu Apr 09, 2009 10:13 pm, edited 1 time in total.
Re: adding custom info into a module smarty tag depending on page.
You are close. Try:
This may be helpful for you too: http://calguy1000.com/Blogs/12/60/basic ... kills.html
Code: Select all
{cms_module module='SimpleSlider' show=$page_alias}
This may be helpful for you too: http://calguy1000.com/Blogs/12/60/basic ... kills.html
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
Re: [Solved] adding custom info into a module smarty tag depending on page.
Thank you. I guess I was just not a good detective 
