Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #1  
Old 02-16-2006, 03:04 AM
mooremwm Offline
forum loafer
 
Join Date: Feb 2006
Location: Canada
Posts: 5
Question Calendar not loading and image border

I've just set up my new PixelPost and I can't seem to get the calendar thing to show up. I've tried most of the suggestions posted in the past and upgraded from v1.4.x to v1.5b and it's still not showing up.

Can someone point me in the right direction here? Here's my URL if that helps: http://www.michaelmoore.ca/photoblog/index.php I'd like to have it look like the following site: http://www.kuperblog.com/

I'd also like to know how you remove the white border around the images. Is this in the CSS style? If so, which line do I modify to remove the border, or make it black?

Thanks for your help.
Reply With Quote
  #2  
Old 02-16-2006, 07:19 AM
eon's Avatar
eon Offline
pixelpost guru
 
Join Date: Nov 2005
Location: Ned
Posts: 280
Send a message via ICQ to eon
First question. I thought that was a bug and they repair it in the new 1.5 version.
Did you put the tag for the calendar in the template?
HTML Code:
<div id="calendar"> <SITE_CALENDAR> </div>
Second question. Yes, you can change that in the css-file.
First look in the template with class you need to change and then thange the class in the css. For more info about css: http://www.w3schools.com/css/default.asp
__________________
Northing.nl
Reply With Quote
  #3  
Old 02-16-2006, 02:24 PM
mooremwm Offline
forum loafer
 
Join Date: Feb 2006
Location: Canada
Posts: 5
Yep, I tried that tag in a bunch of different locations in the image_template.html file and it still doesn't load. Is this the correct file to add it to, and if so, is there a specific place I should add it?

The weird thing is, when I look at the generated HTML source code, that tag shows up just as it's typed above, but in the source for the pages where the calendar shows up, it replaces SITE_CALENDAR with stuff like:

HTML Code:
<table class='table-calendar' cellspacing='0'><tr><td class='td-calendar-days-imagefound'><a href='/index.php?curr_month=2&amp;curr_year=2006&amp;showimage=245&amp;PHPSESSID=69c7f8989aead27d68e3e1ffe77b4f9b'
Something's not working correctly, obviously.
Reply With Quote
  #4  
Old 02-16-2006, 06:44 PM
eon's Avatar
eon Offline
pixelpost guru
 
Join Date: Nov 2005
Location: Ned
Posts: 280
Send a message via ICQ to eon
Yes image_template.html is the correct file.

Let me get it right.
In image_template.html you see SITE_CALENDAR.
And in the source of the browser you see <table....bla...> ? But no calendar.

Aaah, I know the problem again. It is the same problem what I had a long time ago. You need to do a little hack. Look here: http://forum.pixelpost.org/showthread.php?t=2925
__________________
Northing.nl
Reply With Quote
  #5  
Old 02-16-2006, 07:09 PM
mooremwm Offline
forum loafer
 
Join Date: Feb 2006
Location: Canada
Posts: 5
Yeah, that worked! Thanks eon.

I found the CSS tag that removes the image border too. In the dark.css file it's under the *Content* section and changed #photo { padding to 0px (in case anyone else was wondering).

Now I just need to figure out how to centre the calendar properly in Firefox (I put <center> tags around the calendar which sorta works but the month is left-justified under the dates), figure out how to change the calendar CSS settings so that the dates that contain photos are highlighted, and fix the error that occurs when I click next and previous month links. I think I've seen fixes for these issues somewhere in the forum...
Reply With Quote
  #6  
Old 02-16-2006, 07:50 PM
eon's Avatar
eon Offline
pixelpost guru
 
Join Date: Nov 2005
Location: Ned
Posts: 280
Send a message via ICQ to eon
Change #calendar in the css. You have to say something like "aline: center". More info about that you can find on www.w3schools.com.
__________________
Northing.nl
Reply With Quote
  #7  
Old 02-16-2006, 08:04 PM
mooremwm Offline
forum loafer
 
Join Date: Feb 2006
Location: Canada
Posts: 5
I don't have #calendar in the CSS (maybe because I'm using the Simple template?). I did however find some settings that I plugged into my CSS style like:
PHP Code:
.td-calendar-days {padding:1px;text-align:center;border-top:1px solid black;border-bottom:1px solid black;background:#787878} 
and with a little trial and error I figured out how to get the colours and styles I wanted.

Groovy, I think I've got it all looking and working the way I want now. Just need to fill it with some more photos now!
Reply With Quote
  #8  
Old 02-17-2006, 08:31 AM
eon's Avatar
eon Offline
pixelpost guru
 
Join Date: Nov 2005
Location: Ned
Posts: 280
Send a message via ICQ to eon
Succes!
__________________
Northing.nl
Reply With Quote
  #9  
Old 05-21-2006, 01:36 PM
jmz's Avatar
jmz Offline
forum loafer
 
Join Date: Jul 2005
Location: Sydney, Australia
Posts: 12
I have done a little test of the latest pixelpost (1.5 rc 1-2) and I can't seem to get the calendar to work. I have the SITE_CALENDAR as part of my template (see my current site using the exact same template on 1.4.2). I looked at what eon suggested, but that seems to have already been applied in this version of pixelpost (lines commented out in 1.5rc1-2). Any ideas people? Thanks in advance.
Reply With Quote
  #10  
Old 05-21-2006, 01:50 PM
Connie
Guest
 
Posts: n/a
I do not understand that at all why the calendar won't show off


I tried but I cannot open your website, http://www.agit8.org/pixblog
is not opening at all


1) did you activate the calendar in admin/options/template
2) did you enter <SITE_CALENDAR> into image_template.html somewhere?

I just did it: have a look:


or open it in the browser: http://www.bildgier.de/pp/rc_final

I see the calendar
now it is up to you to edit the CSS etc.
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 11:40 AM.

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