1
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?

2
Herko
Re: assign a template?
  • 2005/10/7 7:49

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


where? when? why?

Herko

3
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

like how xoops_module_header is included near the beginning.

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

4
Herko
Re: assign a template?
  • 2005/10/7 12:14

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Then no, that's impossible. You can't 'just' include a template in your theme.html. What exactly are you trying to accomplish, it may be possible via anoteher solution

Herko

5
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>

Login

Who's Online

361 user(s) are online (282 user(s) are browsing Support Forums)


Members: 1


Guests: 360


Harald0123,

more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits