Developer News

Module/Theme authors please read! :o)

Anonymous  23-Jul-2002 13:20 4849 Reads   No comments 
To make classifying & reognizing files easier for everyone, it's strongly suggested that module & theme authors adapt their way of naming files.

By looking at a file, one should know right away what kind of file it is (module, theme, block, hack), the version of xoops it works with, and the revision of the file itself.

m_xoops1.0-rc3_modulename-v1.0.zip
t_xoops1.0-rc3_themename-v1.0.zip
b_xoops1.0-rc3_blockname-v1.0.zip
h_xoops1.0-rc3_hackname-v1.0.zip

Is the suggested convention.


A file compatible with both RC2 & RC3 could be named something like:
t_xoops1.0-rc2+_themename-v1.0.zip

(Meaning its a theme compatible with rc2 or higher)


Compressed archives should also contain the needed directory structure to make installing things easier.

I.E. A module would be named like above, and inside the archive, the directory structure would be:

/modules/modulename/files

a theme on the other hand would look like:
/themes/themename/files

Like this, as soon as the person unzips the file, he knows exactly where the files should go.

---------------
I really hope all adapt this new naming convention. As it will make things much cleaner and easier for all.

Cheers & Thanks!

Rating 0/5
Rating: 0/5 (0 votes)
Voting is disabled!


Login

Who's Online

204 user(s) are online (10 user(s) are browsing Publisher)


Members: 0


Guests: 204


more...

Donat-O-Meter

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

Latest GitHub Commits

Categories