vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=84994

[TIP] Leave Comments
by Sephiroth32
15 Oct 2002 03:04

This isnt a very in depth thing but some people never seem to think about thr wonderul <!-- --> tag.

You should always leave comments in your code when creating complex tables and templets. lets take the welcome pannel for instance.
This mod has one big table then one row, then a 3 cells with tables rows and cells inside them and some with tables rows and cells inside the tables inside the cell with tables rows and cells.
confusing eh?

well if you leave comments you can look for them and instantly know exactly where you are.
so we can turn something like this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(left out most of the pannle caouse i was pressed for time)

into this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

see wasnt that less confusing?

anyway thats my tip. enjoy :)

Tony G 15 Oct 2002 06:28

Nice tip, it can be useful for finding code for a specific part of your design. :)

Phate 02 Nov 2002 00:46

yup yup


All times are GMT. The time now is 07:25.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.