If there any possibility of just creating a tag-set like this ?
I want to use several complex (in other words, not with just one div layer done) content blocks and i wish to use them like
{box} my content here {/box}
I dont want to use global text blocks to just pass the infomation using the std variable system. Its just shitty to split up all done text into global blocks ... and its not realy usable for me to manage them.
So how can i do it?
{tag} {/tag}
Re: {tag} {/tag}
I've tried to make 2 user-defined tags, box and /box: but when i tried to call them i got this error.Tharo wrote: If there any possibility of just creating a tag-set like this ?
I want to use several complex (in other words, not with just one div layer done) content blocks and i wish to use them like
{box} my content here {/box}
I dont want to use global text blocks to just pass the infomation using the std variable system. Its just shitty to split up all done text into global blocks ... and its not realy usable for me to manage them.
So how can i do it?
string(121) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '/box' (Smarty_Compiler.class.php, line 590)"
I think you can fix this by not using the /box but something like box_end.
- RarePinda
Re: {tag} {/tag}
Have you succeeded in creating {tag} {tag_end}? I've just the same thing to do and I want to know if it is possible.
Thanks
Thanks
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: {tag} {/tag}
if you're a programmer, what you want is a smarty block plugin. there are a few of them in CMS Made simple's plugin directory, and more in the lib/smarty/plugins directory to go by. their named block.*
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.