FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » Template tree view
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Template tree view [message #24899] Wed, 18 May 2005 10:31 Go to next message
Marticus   United States
Messages: 272
Registered: June 2002
Karma: 1
Senior Member
add to buddy list
ignore all messages by this user
When I was modifying my theme, I found that it may have been helpful if the template tree view had some sort of association view that showed where in the theme each .tmpl was attached. My work-around was to use Nvu on the resulting page to view it as a whole. If each .tmpl had a <!-- file.tmpl --> in it. Maybe the use of basename() would be helpful during template compilation, or something. Just a thought. On a side note, I enjoy the ease of modifying the dynamic templates in mambo. Although, I like the idea of pre-compiled static templates (or whatever you are calling your system) to reduce overhead. I'm done rambling now.
Re: Template tree view [message #24905 is a reply to message #24899] Wed, 18 May 2005 11:07 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Templates already have references in the form of {REF} tags

FUDforum Core Developer
Re: Template tree view [message #24906 is a reply to message #24905] Wed, 18 May 2005 11:23 Go to previous messageGo to next message
Marticus   United States
Messages: 272
Registered: June 2002
Karma: 1
Senior Member
add to buddy list
ignore all messages by this user
And these appear in the resulting html code?
Re: Template tree view [message #24907 is a reply to message #24906] Wed, 18 May 2005 11:27 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
no, there is no need for them to appear there, it would only be a waste of bandwidth.

FUDforum Core Developer
Re: Template tree view [message #24908 is a reply to message #24905] Wed, 18 May 2005 11:29 Go to previous message
Marticus   United States
Messages: 272
Registered: June 2002
Karma: 1
Senior Member
add to buddy list
ignore all messages by this user
The resulting php files in the theme directory could have at the beginning of each file, <!-- <? print basename($_SERVER['PHP_SELF']) ?> -->

But, I suppose I would be the only one who finds this useful because I don't know what I am doing when it comes to making fud templates. The template system is definately not for wysiwyg users. I admit I can go either way, but I much prefer if wysiwyg was available as a tool to help roll-out new templates.
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Cache troubles for guests
Next Topic: Highlighting keywords in search results
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Dec 12 03:18:18 EST 2017

Total time taken to generate the page: 0.00671 seconds