Main Stories
Slash Boxes

Slash Open Source Project

Slashcode Log In

Log In

[ Create a new account ]

Article Poll

Poll I found this article to be
Very Helpful
Helpful
Not Helpful
Not Very Helpful
[ Results | Polls ]
Comments:0 | Votes:0

How-To for Themes?

posted by Krow on 01:36 PM December 10th, 2001   Printer-friendly   Email story
robd writes "Hey guys, I was wondering if anyone knew of a good How-To for themes. I've got a VERY basic user who wants to make his own theme, but anyways. Do you guys know of a theme repository? It'd be damn funny if there was a section on themes.org, but I'm betting there isn't. I'm welcome to suggestion though."
Ok, since people ask about this every so often I will reveal a sample one. The import thing to notice is how it inherits what it needs from a baseone, and just overwrites what it doesn't need. BTW this is the theme for slashcode.com. Slashcode.com doesn't use the slashcode theme exactly, it actually overrides a few pieces of it.
On a side note there is a bug in the code that is causing this topic icon not to appear. This is on my list :)
name=slashcode
description="REAL Slashcode.com theme"
topic=../slashcode/htdocs/images/topics/topicbug.j pg
topic=../slashcode/htdocs/images/topics/topiclinux .gif
topic=../slashcode/htdocs/images/topics/topicnews. gif
topic=../slashcode/htdocs/images/topics/topicslash .gif
topic=../slashcode/htdocs/images/topics/topicslash dot.gif
topic=../slashcode/htdocs/images/topics/topicedito rial.gif
image=../slashcode/htdocs/images/660000.gif
image=../slashcode/htdocs/images/admin_bracket.gif
image=../slashcode/htdocs/images/bsb.gif
image=../slashcode/htdocs/images/bsbr.gif
image=../slashcode/htdocs/images/bsr.gif
image=../slashcode/htdocs/images/cl.gif
image=../slashcode/htdocs/images/cr.gif
image=../slashcode/htdocs/images/gl.gif
image=../slashcode/htdocs/images/gr.gif
image=../slashcode/htdocs/images/greendot.gif
image=../slashcode/htdocs/images/icondiv.gif
image=../slashcode/htdocs/images/icondiv2.gif
image=../slashcode/htdocs/images/leftbar.gif
image=../slashcode/htdocs/images/line-bg.gif
image=../slashcode/htdocs/images/line-corner.gif
image=../slashcode/htdocs/images/mainbar.gif
image=../slashcode/htdocs/images/pix.gif
image=../slashcode/htdocs/images/portalmap.gif
image=../slashcode/htdocs/images/rightbar.gif
image=../slashcode/htdocs/images/sbs.gif
image=../slashcode/htdocs/images/sdlogo.gif
image=../slashcode/htdocs/images/sl.gif
image=../slashcode/htdocs/images/slashhead.gif
image=../slashcode/htdocs/images/slashlogo.gif
image=../slashcode/htdocs/images/slashslogan.gif
image=../slashcode/htdocs/images/slr.gif
image=../slashcode/htdocs/images/sr.gif
image=../slashcode/htdocs/images/srs.gif
image=../slashcode/htdocs/images/wl.gif
image=../slashcode/htdocs/images/wl_cccccc.gif
image=../slashcode/htdocs/images/wr.gif
image=../slashcode/htdocs/images/wr_cccccc.gif
htdoc=../slashcode/htdocs/about.shtml
htdoc=../slashcode/htdocs/404.pl
htdoc=../slashcode/htdocs/article.pl
htdoc=../slashcode/htdocs/authors.pl
htdoc=../slashcode/htdocs/comments.pl
htdoc=../slashcode/htdocs/faq.shtml
htdoc=../slashcode/htdocs/slashguide.shtml
htdoc=../slashcode/htdocs/index.pl
htdoc=../slashcode/htdocs/metamod.pl
htdoc=../slashcode/htdocs/moderation.shtml
htdoc=../slashcode/htdocs/pollBooth.pl
htdoc=../slashcode/htdocs/sections.pl
htdoc=../slashcode/htdocs/submit.pl
htdoc=../slashcode/htdocs/topics.pl
htdoc=../slashcode/htdocs/users.pl
mysql_dump=../slashcode/sql/mysql/datadump.sql
mysql_prep=../slashcode/../slashcode/sql/mysql/pre p.sql
task=../slashcode/tasks/adminmail.pl
task=../slashcode/tasks/daily.pl
task=../slashcode/tasks/daily_archive.pl
task=../slashcode/tasks/expire.pl
task=../slashcode/tasks/flush_formkeys.pl
task=../slashcode/tasks/new_headfoot.pl
task=../slashcode/tasks/freshenup.pl
task=../slashcode/tasks/open_backend.pl
task=../slashcode/tasks/new_motd.pl
task=../slashcode/tasks/p2f_hof_topics.pl
task=../slashcode/tasks/refresh_authors_cache.pl
task=../slashcode/tasks/run_moderatord.pl
task=../slashcode/tasks/run_portald.pl
task=../slashcode/tasks/set_recent_topics.pl
task=../slashcode/tasks/spamarmor.pl
template=../slashcode/templates/admin;menu;default
template=../slashcode/templates/changePasswd;users ;default
template=../slashcode/templates/comment_submit;com ments;default
template=../slashcode/templates/currentAdminUsers; misc;default
template=../slashcode/templates/data;article;defau lt
template=../slashcode/templates/data;comments;defa ult
template=../slashcode/templates/data;index;default
template=../slashcode/templates/data;metamod;defau lt
template=../slashcode/templates/data;misc;default
template=../slashcode/templates/data;pollBooth;def ault
template=../slashcode/templates/data;sections;defa ult
template=../slashcode/templates/data;submit;defaul t
template=../slashcode/templates/data;topics;defaul t
template=../slashcode/templates/delSectCancel;sect ions;default
template=../slashcode/templates/delSectConfirm;sec tions;default
template=../slashcode/templates/delSection;section s;default
template=../slashcode/templates/del_message;commen ts;default
template=../slashcode/templates/deleted_cids;comme nts;default
template=../slashcode/templates/discreate;comments ;default
template=../slashcode/templates/discuss_list;comme nts;default
template=../slashcode/templates/dispComment;misc;d efault
template=../slashcode/templates/dispComment;misc;l ight
template=../slashcode/templates/dispLinkComment;mi sc;default
template=../slashcode/templates/dispStory;misc;def ault
template=../slashcode/templates/dispStory;misc;lig ht
template=../slashcode/templates/dispTheComments;me tamod;default
template=../slashcode/templates/display;article;de fault
template=../slashcode/templates/displayForm;submit ;default
template=../slashcode/templates/displayForm;users; default
template=../slashcode/templates/displayThread;misc ;default
template=../slashcode/templates/editComm;users;def ault
template=../slashcode/templates/editHome;users;def ault
template=../slashcode/templates/editKey;users;defa ult
template=../slashcode/templates/editSection;sectio ns;default
template=../slashcode/templates/editUser;users;def ault
template=../slashcode/templates/edit_comment;comme nts;default
template=../slashcode/templates/editpoll;pollBooth ;default
template=../slashcode/templates/errors;comments;de fault
template=../slashcode/templates/errors;metamod;def ault
template=../slashcode/templates/errors;users;defau lt
template=../slashcode/templates/fancybox;misc;defa ult
template=../slashcode/templates/fancybox;misc;ligh t
template=templates/footer;misc;admin
template=templates/footer;misc;default
template=templates/footer;misc;light
template=../slashcode/templates/formLabel;misc;def ault
template=../slashcode/templates/formbox;misc;defau lt
template=../slashcode/templates/formkeyErrors;misc ;default
template=../slashcode/templates/genQuickies;submit ;default
template=../slashcode/templates/getOlderStories;mi sc;default
template=../slashcode/templates/getUserAdmin;users ;default
template=templates/header;misc;admin
template=templates/header;misc;default
template=../slashcode/templates/header;misc;light
template=../slashcode/templates/html-header;misc;d efault
template=../slashcode/templates/html-redirect;misc ;default
template=../slashcode/templates/index;index;defaul t
template=../slashcode/templates/index;index;light
template=../slashcode/templates/isEligible;metamod ;default
template=../slashcode/templates/linkComment;misc;d efault
template=../slashcode/templates/linkCommentPages;m isc;default
template=../slashcode/templates/linkStory;misc;def ault
template=../slashcode/templates/listSections;secti ons;default
template=../slashcode/templates/listTopics;topics; default
template=../slashcode/templates/listpolls;pollBoot h;default
template=../slashcode/templates/lockTest;misc;defa ult
template=../slashcode/templates/loginForm;users;de fault
template=../slashcode/templates/main;404;default
template=../slashcode/templates/main;authors;defau lt
template=templates/mainmenu;misc;default
template=../slashcode/templates/messages;users;def ault
template=../slashcode/templates/metaModerate;metam od;default
template=../slashcode/templates/miniAdminMenu;user s;default
template=../slashcode/templates/modCommentLog;misc ;default
template=../slashcode/templates/mod_footer;comment s;default
template=../slashcode/templates/mod_header;comment s;default
template=../slashcode/templates/moderation;comment s;default
template=../slashcode/templates/motd;misc;default
template=../slashcode/templates/netIDInfo;users;de fault
template=../slashcode/templates/newUserForm;users; default
template=../slashcode/templates/newdiscussion;comm ents;default
template=templates/organisation;misc;default
template=../slashcode/templates/pollbooth;misc;def ault
template=../slashcode/templates/portalboxtitle;mis c;default
template=../slashcode/templates/portalmap;misc;def ault
template=../slashcode/templates/previewForm;submit ;default
template=../slashcode/templates/previewSlashbox;us ers;default
template=../slashcode/templates/preview_comm;comme nts;default
template=../slashcode/templates/printCommComments; misc;default
template=../slashcode/templates/printCommNoArchive ;misc;default
template=../slashcode/templates/printCommentsMain; misc;default
template=../slashcode/templates/reRegisterMail;mes sages;default
template=../slashcode/templates/recentTopics;misc; default
template=../slashcode/templates/regResult;users;de fault
template=../slashcode/templates/rereg_mail;message s;default
template=../slashcode/templates/saveSub;submit;def ault
template=../slashcode/templates/savepoll;pollBooth ;default
template=../slashcode/templates/sectionisolate;mis c;default
template=../slashcode/templates/sectionindexd;misc ;default
template=../slashcode/templates/select;misc;defaul t
template=../slashcode/templates/selectThreshLabel; misc;default
template=../slashcode/templates/sendPasswdForm;use rs;default
template=../slashcode/templates/ssifoot;misc;defau lt
template=../slashcode/templates/ssihead;misc;defau lt
template=../slashcode/templates/storylink;index;de fault
template=../slashcode/templates/storylink;index;li ght
template=../slashcode/templates/subEdAdmin;submit; default
template=../slashcode/templates/subEdTable;submit; default
template=../slashcode/templates/subEdUser;submit;d efault
template=../slashcode/templates/tildeEd;users;defa ult
template=../slashcode/templates/titlebar;misc;defa ult
template=../slashcode/templates/titlebar;misc;ligh t
template=../slashcode/templates/titles;users;defau lt
template=../slashcode/templates/topTopics;topics;d efault
template=../slashcode/templates/topics;menu;defaul t
template=../slashcode/templates/undo_mod;comments; default
template=../slashcode/templates/userInfo;users;def ault
template=../slashcode/templates/showInfoConflict;u sers;default
template=../slashcode/templates/userlogin;misc;def ault
template=../slashcode/templates/users;menu;default
template=../slashcode/templates/vote;pollBooth;def ault
template=../slashcode/templates/yourPendingSubs;su bmit;default
template=../slashcode/templates/listAbuses;admin;d efault
template=../slashcode/templates/topAbusers;users;d efault
template=../slashcode/templates/listReadOnly;users ;default
template=../slashcode/templates/listBanned;users;d efault
template=../slashcode/templates/three;misc;default
template=templates/osdnheader;misc;default

misc=../slashcode/misc/spamarmors
plugin=Admin
plugin=CheesyPortal
plugin=Hof
plugin=ForumZilla
plugin=Journal
plugin=Messages
plugin=PubKey
plugin=Repository
plugin=Search
plugin=Stats

template=templates/editStory;admin;default
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login
Loading... please wait.
  • I basically copied the slashcode theme, renamed it, and then modded away.

    Two things to note:

    1. install-slashsite doesn't install plugins in any specific order. if your theme is modifying schema, or dependent on something being installed, watch the order. You may find that your changes are trying to modify a table that doesn't yet exist during the install process.

    2. if you define 'plugin=blah' in your THEME file, that is just a recommendation of what the theme requires (When you run install-slashsite, it'll put an asterisk by those that should be installed by default). But unless you specifically install those plugins, I don't think that the installer will force those plugins to be installed. So be careful.
    --
    lottadot [lottadot.com]
    • There was bug for a bit that was solved where if you selected plugins then none of the defaults would be installed but that was fixed a bit ago.
      So if you put in "plugin=" then it will install that plugin.
      The order thing really should be fixed, or you should be able to say that "blah" plugin is a requirement and it gets installed first.
      --

      --
      You can't grep a dead tree.