1
LazyBadger
Comments in templates

Well, as you (most probably) know - reconstruction of final XOOPS page is nightmare for novice (and mid-level) XOOPS user.
I think, everybody will be more than happy, if one small addinion will be added as mandatory requrement to all templates implementation (for core and non-core modules):
- Mark start&end of any tempate with html-comments in order to easy correlation resulted HTML and used template, smth. like:
<!--<modulename> <templatenamestart -->
...
<!--<
modulename> <templatenameend -->
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

2
LazyBadger
Re: Comments in templates

Don't lose my idea
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

3
LazyBadger
Re: Comments in templates

?
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

4
LazyBadger
Re: Comments in templates

#OOPS#ed monologue....
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

5
davidl2
Re: Comments in templates
  • 2005/11/17 13:20

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


From what I understand, it seems a good idea.

Do you mean to add these areas just as a comment? - or perhaps to be interpretted somehow?

6
LazyBadger
Re: Comments in templates

Comments - in order to split generated HTML on parts and know, which template to edit without blind dances around heap of templates
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

7
davidl2
Re: Comments in templates
  • 2005/11/17 14:07

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


A good idea indeed.... it is a headache trying to follow templates.

(I misunderstood at first, and thought you meant some "ssi" type extra commands )

8
Dave_L
Re: Comments in templates
  • 2005/11/17 15:01

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Comments within templates should use Smarty comment delimiters, not HTML comment delimiters.

<!-- HTML comment -->


<{* Smarty comment *}>


(Not that I'm planning on following your suggestion.)

9
LazyBadger
Re: Comments in templates

Pardon, but... Even some System templates have HTML-comments
<!-- start comment post -->
        <
tr>
...
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

10
Dave_L
Re: Comments in templates
  • 2005/11/18 12:09

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


And your point is?

Login

Who's Online

232 user(s) are online (166 user(s) are browsing Support Forums)


Members: 0


Guests: 232


more...

Donat-O-Meter

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

Latest GitHub Commits