[solved] cms_selflink in random_blob?

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.
Post Reply
AmandaBTO
Forum Members
Forum Members
Posts: 51
Joined: Thu Aug 09, 2007 2:40 pm

[solved] cms_selflink in random_blob?

Post by AmandaBTO »

I've created a bunch of gcb's and each one has a cms_selflink
Then I use the random_blob to display one of them on the home page

Problem is that the cms_selflink isn't linking.  It's just showing the code ie {cms_selflink page='37' text='Find out more » '}

Any way to get the random_blob to smarty-ize the gcb?

Thanks
manda
Last edited by AmandaBTO on Mon Jul 21, 2008 7:00 pm, edited 1 time in total.
AmandaBTO
Forum Members
Forum Members
Posts: 51
Joined: Thu Aug 09, 2007 2:40 pm

Re: cms_selflink in random_blob?

Post by AmandaBTO »

Yay work around's

Made a udt with the random_blob's code (changed $param to the actual value i wanted to randomize from)
Assigned the random blob's name to a smarty var
In the template: {global_content name=$my_rand}
Post Reply

Return to “CMSMS Core”