logo       

doc for skins: msg#00002

Subject: doc for skins
phpslashers -

I've just upgraded to 0.71 and I'd like to change the look of my site. The template documentation is a little dated. I found that out there are three slashHead.tpl files in the default install and there doesn't appear to be any docs for the development of skins. Could someone briefly make an outline of skins and perhaps we could get this in the docs. If no one else has time write it up single handedly, I'll compile the responses, make it readable, and submit it to whoever for inclusion in the next release. Some of the basic questions I have are:

1)  How do I now change the look of my site?
2) Why are there more than one version of each file and how do skins work? I certainly don't want to do it three times over (or more) for each skin. Some basic command line examples would be very helpful if they are explained. Such as this little piece was from Luis in the mail archives addressing a question of how to restrict a site to only one skin - but I don't quite get it:

 $> cd $PHPSLASHROOT/templates
 $> for i in `/bin/ls en`; do mkdir no/$i; done
$> for i in `/bin/ls no`; do echo 'skin.parent = "../en/$i"' > no/$i/skin.ini; done

 essentially, create a directory for e/a template you have in "en" in the
 directory "no". and then create a skin.ini file that contains the line:
 skin.parent = "../en/$i" . where $i is the name of e/a one of the
 directories in the directory "en" ... it's more confusing to explain it than
 to code it... just read the shell code above...

4) What's the skin.ini file? What are some options that could be used?
3) What if I have changes outside the skin files, how to I prevent those changes from being overwritten in the next upgrade?

Thanks for your comments.

P.S. another request for the config.ini.php file is to include the value of the logo file name "new_logo.gif" within a variable. To me, it seems that file name is hardcoded into the html files and it's not intuitive why that file is used in slashHead.tpl as opposed to something like slashHead_logo.gif or something or rather.


Josh Udall
Botany Department
Iowa State University
Ames, IA 50011
(515) 294-7098



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe