just one last question..can i add any kind of html code there like flash,javascripts and stuff?
floridave
Joined: 2003-12-22
Posts: 22892
Posted: Tue, 2009-01-27 01:34
not sure if the htmlblock will let you add JS flash and common html.
You can add code to the template file, but you will want to escape JS and flash with {literal} and {/literal} smarty tags: http://www.smarty.net/manual/en/language.function.literal.php
Posts: 22892
Edit sidebar.tpl
or there is a module that might help: http://codex.gallery2.org/Gallery2:Modules:htmlblock .
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 17
first of all thanks for the quick reply.
i installed the module and created a page with the module..then went to adding stuff to the side bar but,couldn't find anything..
i guess it's show/render file in a block,but it wants the path and I couldn't find the file the module created?
Posts: 22892
It does not need a path it just needs the filename.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 17
ok..works fine..Thanks alot =)
just one last question..can i add any kind of html code there like flash,javascripts and stuff?
Posts: 22892
not sure if the htmlblock will let you add JS flash and common html.
You can add code to the template file, but you will want to escape JS and flash with {literal} and {/literal} smarty tags:
http://www.smarty.net/manual/en/language.function.literal.php
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 17
ok..
thanks for all the help..