Adding global blocks by ticking a checkbox or similar...
Re: Adding global blocks by ticking a checkbox or similar...
If you use tinyMCE instead of MicroTiny, you could use the "Custom dropdown:" it has to do this...
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Adding global blocks by ticking a checkbox or similar...
I would use CGContentUtils ..it allows you to build content blocks of different types, including dropdowns. You could create a dropdown content block containing the options 'Sidebar1, Sidebar2, and Sidebar3'}
Then assign the output of that content block to a smarty variable... and display the content block representing the value of the variable.
i.e: (something like:)
{content_module module=CGContentUtils block='foo' name='dropdown' assign='foo'}
{global_content name=$foo}
Then assign the output of that content block to a smarty variable... and display the content block representing the value of the variable.
i.e: (something like:)
{content_module module=CGContentUtils block='foo' name='dropdown' assign='foo'}
{global_content name=$foo}
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Adding global blocks by ticking a checkbox or similar...
howbout:
Some Label 1|sidebar1
Some Label 2|sidebar2
Some Label 1|sidebar1
Some Label 2|sidebar2
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Adding global blocks by ticking a checkbox or similar...
Code: Select all
"globalcontent: sidebar1"
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.