1
Crushinator
Re: assign a template?
  • 2005/10/7 22:06

  • Crushinator

  • Just popping in

  • Posts: 4

  • Since: 2005/5/18


I wanted the menus in CBB to match those from the default nav bar. Unfortunately the javascript for those menus will only work in IE when placed at the end of the page outside the main table. So I wanted to try to do something like:

<script type="text/javascript">
<{foreach 
item=topic_post from=$topic_posts}> 
var = 
fmenu<{$topic_post.post_id}> = new AdMenu("fmenu<{$topic_post.post_id}>"); fmenu<{$topic_post.post_id}>.init();
<{/foreach}>
</
script>



2
Crushinator
Re: assign a template?
  • 2005/10/7 11:59

  • Crushinator

  • Just popping in

  • Posts: 4

  • Since: 2005/5/18


I want to be able to include it at the end of my theme.html just before </body></html>

like how xoops_module_header is included near the beginning.

Except I would like to use a template from the database...



3
Crushinator
assign a template?
  • 2005/10/7 5:09

  • Crushinator

  • Just popping in

  • Posts: 4

  • Since: 2005/5/18


Is something like

xoopsTpl->assign('name', db:template_name.html);

possible?



4
Crushinator
Login box is empty.
  • 2005/5/18 14:56

  • Crushinator

  • Just popping in

  • Posts: 4

  • Since: 2005/5/18


Edit:

I fixed the problem. Sorry to trouble you all.




TopTop