Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Template design and Front-End Code

Post Reply
 
Thread Tools
  #1  
Old 12-13-2005, 03:27 AM
emaquiling Offline
forum loafer
 
Join Date: Dec 2005
Posts: 8
New user (hope this is not a FAQ), disable onclick (background)

Just installed Pixelpost. I'm coming from MovableType and I'm not bad coding (as long as it is shell scripts ). Anyway, for now, I like the SIMPLE template and on the bottom, there's a link for Light/Dark. I can understand that it is a link to styles/light.css and styles/dark.css respectively.

But since I shot mostly B&W, I like having the background as dark.css. I don't know how to deactivate the "onclick" command and I would like to have the default background the dark.css. I noticed that on top under <!--CSS --> there is a link to the dark.css and light.css. So how do I just enable, for all users, to get to the dark.css?
Oh, the site is www.maquiling.org

TIA
Reply With Quote
  #2  
Old 12-13-2005, 03:56 AM
unseen's Avatar
unseen Offline
pixelpost guru
 
Join Date: Oct 2005
Location: kentucky-ish
Posts: 110
Send a message via AIM to unseen
ha, first of all the darth vaders are adorable. i love it.

okay, you're on the right track. here's the css part:
Quote:
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="templates/simple/styles/light.css" title="light" />
<link rel="alternate stylesheet" type="text/css" href="templates/simple/styles/dark.css" title="dark" />
change that to this:
Quote:
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="templates/simple/styles/dark.css" />
then at the bottom you'll see this:
Quote:
<div id="footer">
Site Style: <a href="#" onclick="setActiveStyleSheet('light'); return false;">Light</a> /
<a href="#" onclick="setActiveStyleSheet('dark'); return false;">Dark</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a href='index.php?x=rss'>RSS 2.0</a> / <a href='index.php?x=atom'>ATOM feed</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a href="http://validator.w3.org/check/referer" title="This website uses Valid xHTML">Valid xHTML</a> / <a href="http://jigsaw.w3.org/css-validator/check/referer" title="This website uses Valid CSS2">Valid CSS</a>
</div>
change that to this:
Quote:
<div id="footer">
<a href='index.php?x=rss'>RSS 2.0</a> / <a href='index.php?x=atom'>ATOM feed</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a href="http://validator.w3.org/check/referer" title="This website uses Valid xHTML">Valid xHTML</a> / <a href="http://jigsaw.w3.org/css-validator/check/referer" title="This website uses Valid CSS2">Valid CSS</a>
</div>
that should do it!
__________________
with love, jade


...click
Reply With Quote
  #3  
Old 12-13-2005, 04:23 AM
emaquiling Offline
forum loafer
 
Join Date: Dec 2005
Posts: 8
Ah sweet. Thanks!!!
This seems easier to edit than Movabletype. Good stuff for blogging but not for photos.
Reply With Quote
  #4  
Old 12-13-2005, 08:17 AM
tinyblob's Avatar
tinyblob Offline
team pixelpost
 
Join Date: Nov 2005
Location: scotland
Posts: 523
Glad you're enjoying Pixelpost!
__________________
touchnothing.net
Reply With Quote
  #5  
Old 12-13-2005, 05:09 PM
emaquiling Offline
forum loafer
 
Join Date: Dec 2005
Posts: 8
Quote:
Originally Posted by tinyblob
Glad you're enjoying Pixelpost!
Thanks! I'm liking it a lot. Its really geared for photos. I had to do a lot of things to get MovableType to do what I wanted it to do for photos.

So MANY good sites out there using pixelpost. I'll have to play with the SIMPLE template for a while until I get the hang of it before starting to install other templates.
Reply With Quote
  #6  
Old 12-13-2005, 08:26 PM
Connie
Guest
 
Posts: n/a
I just went to your website and you have interesting photos

please don't mind, but: the persons on the photos are children, but they all behave like zombies, are dressed in industrial produced costumes, behaving very serious and industrially prefabricated...

was this really a children party / parade?

somehow I feel scared about these media-constructed zombies...

and please help me, what is a "Sprout client"?
Reply With Quote
  #7  
Old 12-13-2005, 08:53 PM
emaquiling Offline
forum loafer
 
Join Date: Dec 2005
Posts: 8
Quote:
Originally Posted by Connie
behave like zombies, are dressed in industrial produced costumes, behaving very serious and industrially prefabricated...

was this really a children party / parade?

somehow I feel scared about these media-constructed zombies...

and please help me, what is a "Sprout client"?
Pretty bizarre eh? And thanks Connie, I've been reading a lot on this forum and you have a lot of great tips/suggestions/fixes!
The children, yah, pretty weird. They have a schoolyard parade on Halloween morning (I don't know if that is practiced on your side of the globe but I'm sure something like that is done ) I don't recall be so serious at that age.

Sprout - (http://www.gosprout.org).I've worked with the mentally and developmetally disabled years ago. I had a gallery show with about 15 images back then. I am trying to scan all the negs from the show cause the prints were printed on nice Agfa Portriga and they are too large to fit my scanner. So basically, I just wanted some test images up there.

Since you mentioned, and perhaps this should be another thread, I did want to learn how people can just visit the shots on the category instead of seeing other shots.

For example, if you go to http://link/to/my/vacation/pictures, you'll only be able to browse through the vacation pictures. But I noticed, that the <- and -> buttons, will get you through other category pictures. So at the end of the set of vacation pictures (hypothetically), you'll end up seeing other pictures that are not part of the vacation. I hope I'm wording that properly.

I've seen some Pixelpost websites that have them and I guess I'll just have to do more reseach on how they did that. Unless of course, you have a quick link for it.
Reply With Quote
  #8  
Old 12-13-2005, 08:59 PM
tinyblob's Avatar
tinyblob Offline
team pixelpost
 
Join Date: Nov 2005
Location: scotland
Posts: 523
My big categories mod is coming soon!
__________________
touchnothing.net
Reply With Quote
  #9  
Old 12-13-2005, 09:01 PM
Connie
Guest
 
Posts: n/a
Eric,

for this I have now short tip, but I remember there was a discussion on that here in the forum...

please have a search for that, I was not involved in that thread

yes, we have "carneval" or "fastnacht" here in Germany, and I organised a lot of fastnacht parades etc. some years ago, but there was more joy, I was missing the joy with the young people..

the sprouts are great photos

please show us more
Reply With Quote
  #10  
Old 12-13-2005, 09:11 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
emaquiling,
Happy pixelposting
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 02:07 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs