Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #1  
Old 01-29-2007, 02:18 PM
talz Offline
forum loafer
 
Join Date: Jan 2007
Posts: 8
simple template question

is there a way to have the "dark" site style be the default for the "simple" template. so, when you visit the photoblog the default is dark rather than light for the site style? i assume there would be a tweak to do this. maybe to the index page...
Reply With Quote
  #2  
Old 01-29-2007, 02:24 PM
codepoit's Avatar
codepoit Offline
pixelpost guru
 
Join Date: Mar 2006
Location: Danbury, CT
Posts: 186
Yes. In the index page (and all of your foo_template.html files for that matter) change the lines which indicate the style sheet. One of them will indicate the default style sheet and one the alternate...just switch them up and you should be good to go.
__________________
The Last Rewind
Reply With Quote
  #3  
Old 01-29-2007, 02:37 PM
talz Offline
forum loafer
 
Join Date: Jan 2007
Posts: 8
Actually, I just switched places for lines 14 and 15 (see below) in the image_template file and it worked. Now, dark is listed first and light is listed second in the code for the image_template file. Does this seem good to people? It works...

<link rel="alternate stylesheet" type="text/css" href="templates/simple/styles/dark.css" title="dark" />

<link rel="stylesheet" type="text/css" href="templates/simple/styles/light.css" title="light" />
Reply With Quote
  #4  
Old 01-29-2007, 02:41 PM
codepoit's Avatar
codepoit Offline
pixelpost guru
 
Join Date: Mar 2006
Location: Danbury, CT
Posts: 186
That's correct. The reason I said to switch it in all of the x_template.html files is because those same lines of code exist on all of your pages (about, browse, comment, etc.). Without a link to your site, it's hard to say if all of your pages are now using the dark css as the default...
__________________
The Last Rewind
Reply With Quote
  #5  
Old 01-29-2007, 02:42 PM
talz Offline
forum loafer
 
Join Date: Jan 2007
Posts: 8
Quote:
Originally Posted by codepoit View Post
That's correct. The reason I said to switch it in all of the x_template.html files is because those same lines of code exist on all of your pages (about, browse, comment, etc.). Without a link to your site, it's hard to say if all of your pages are now using the dark css as the default...
you're right. my switch in fact, did not work. it was just mozilla remembering what choice i had made for the style. i will try and figure out your way. thanks by the way!
Reply With Quote
  #6  
Old 01-29-2007, 03:00 PM
codepoit's Avatar
codepoit Offline
pixelpost guru
 
Join Date: Mar 2006
Location: Danbury, CT
Posts: 186
My way is the same as your way...in your code where you have the line for alternate style sheet: set that to light. for the other style sheet line set that to dark (this is the default style sheet to be used).
__________________
The Last Rewind
Reply With Quote
  #7  
Old 01-29-2007, 03:01 PM
talz Offline
forum loafer
 
Join Date: Jan 2007
Posts: 8
Quote:
Originally Posted by talz View Post
you're right. my switch in fact, did not work. it was just mozilla remembering what choice i had made for the style. i will try and figure out your way. thanks by the way!
not having any luck...not sure what needs to be changed specifically. my original switch did not do anything actually. i have perused the code but not having much luck. i am pretty useless with deciphering code...i am sure someone must have had this need to set dark as the default...i think...
Reply With Quote
  #8  
Old 01-29-2007, 03:31 PM
codepoit's Avatar
codepoit Offline
pixelpost guru
 
Join Date: Mar 2006
Location: Danbury, CT
Posts: 186
Again, without a link to your site, I can't get too specific, but...if you take this code:
Code:
<link rel="alternate stylesheet" type="text/css" href="templates/simple/styles/dark.css" title="dark" />

<link rel="stylesheet" type="text/css" href="templates/simple/styles/light.css" title="light" />
and change it this:
Code:
<link rel="alternate stylesheet" type="text/css" href="templates/simple/styles/light.css" title="light" />

<link rel="stylesheet" type="text/css" href="templates/simple/styles/dark.css" title="dark" />
you will accomplish what you are trying to do. Notice I changed where light and dark exist, so that light is listed as the alternate, and dark is listed as the stylesheet...
__________________
The Last Rewind
Reply With Quote
  #9  
Old 01-30-2007, 02:12 AM
talz Offline
forum loafer
 
Join Date: Jan 2007
Posts: 8
Quote:
Originally Posted by codepoit View Post
Again, without a link to your site, I can't get too specific, but...if you take this code:
Code:
<link rel="alternate stylesheet" type="text/css" href="templates/simple/styles/dark.css" title="dark" />

<link rel="stylesheet" type="text/css" href="templates/simple/styles/light.css" title="light" />
and change it this:
Code:
<link rel="alternate stylesheet" type="text/css" href="templates/simple/styles/light.css" title="light" />

<link rel="stylesheet" type="text/css" href="templates/simple/styles/dark.css" title="dark" />
you will accomplish what you are trying to do. Notice I changed where light and dark exist, so that light is listed as the alternate, and dark is listed as the stylesheet...

I will try. Thanks. My site is at: www.talz.ca
Reply With Quote
  #10  
Old 01-30-2007, 02:30 AM
talz Offline
forum loafer
 
Join Date: Jan 2007
Posts: 8
I made the change to:

about_template
browse_template
image_template
comment_template

But still no luck. Do I need to change something in the index file?

Hmm...
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 07:58 PM.

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