Pixelpost

Authentic Photoblog Flavour


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

Post Reply
 
Thread Tools
  #1  
Old 12-20-2007, 07:26 AM
BertJan Offline
forum loafer
 
Join Date: Sep 2007
Posts: 19
Template does'nt work in Firefox

Hello,

I've change the template delicious a bit. First it al worked, but when I view my little gallery with firefox it did'nt work.
In the file you see the image_template code...

Can some-one help me with this?

You can see my gallery here: http://mysteries.sohosted.nl/photo/index.php

And the .html is here... http://mysteries.sohosted.nl/image_template.txt

The things that are nog working, are the hyperlinks on the top of the page.

Last edited by BertJan; 12-20-2007 at 08:10 AM.
Reply With Quote
  #2  
Old 12-20-2007, 12:06 PM
dhdesign's Avatar
dhdesign Offline
pixelpost guru
 
Join Date: Mar 2007
Location: Ohio
Posts: 431
When I manually enter the link to the browse page in Firefox, it is coming up with an extra '/' after photo. What is the url of the gallery in your admin panel (Options>>General)? It looks like there is an extra slash being added somewhere.

I just checked it in Opera, and the links at the top work, but the stylesheets are not being applied to any of the pages.

In IE6, the menu disappears completely. I had to go to the browse page manually, and found one link sticking out the right side of the div that contains the thumbnails.

Have you tried switching to one of the default templates (simple or horizon) and testing to be sure that PP is functioning correctly with those (i.e., links working)?
__________________
My photoblog: KP Images
Reply With Quote
  #3  
Old 12-20-2007, 12:27 PM
BertJan Offline
forum loafer
 
Join Date: Sep 2007
Posts: 19
The templates does'nt show any stylesheet when I opened my gallery..

But now the stylesheet is back.. very strange..

Can I do somewhere a script check or a style check or something like that?
Reply With Quote
  #4  
Old 12-20-2007, 01:57 PM
dakwegmo's Avatar
dakwegmo+ Offline
Team Pixelpost
 
Join Date: Jul 2005
Location: West of Between
Posts: 689
The stylesheet on your main page is working fine in Firefox, and it looks good. However, none of your links in your navigation are working.

You can validate your CSS using: http://jigsaw.w3.org/css-validator/
and x/HTML using: http://validator.w3.org/

I don't know of any way to validate your scripts, but you can use the Firebug addon for Firefox to debug them.
__________________
My Photoblog
If you find my help useful please consider feeding the PixelPost Kitty
If you're short on cash just feed my ego
Reply With Quote
  #5  
Old 12-20-2007, 02:25 PM
BertJan Offline
forum loafer
 
Join Date: Sep 2007
Posts: 19
That's the problem, the hyperlinks on the top are not working.
The rest is good for now...

I've tested my files but don't understand any of the faults...

Thanks for helping me out!
Reply With Quote
  #6  
Old 12-20-2007, 02:43 PM
dakwegmo's Avatar
dakwegmo+ Offline
Team Pixelpost
 
Join Date: Jul 2005
Location: West of Between
Posts: 689
I just ran the validator for your HTML. The first two errors are specific to your JavaScript for the next and previous overlays. Not a big deal, unless you want to put the valid xhtml logo on your page. The next one might tell you the cause of your problems though.
Quote:
there is no attribute "oncontextmenu".

<body oncontextmenu="return false;"></body>

Your closing body tag is right after your open body tag. Also, oncontextmenu isn't standard javascript and is generally going to annoy more people than it prevents from stealing your images or code.

The rest of the errors are because you've already closed your <body> tag.
__________________
My Photoblog
If you find my help useful please consider feeding the PixelPost Kitty
If you're short on cash just feed my ego
Reply With Quote
  #7  
Old 12-21-2007, 06:47 AM
BertJan Offline
forum loafer
 
Join Date: Sep 2007
Posts: 19
I've fixed the error you said, but it did'nt work!

Thanks for helping me out!

Could it be in the links?

Code:
<div id="nav_sub">
<a onclick="Effect.toggle('info','appear'); return false;" title="View Image Title, Description and Comments" href="#">Info</a> :: <a title="the latest photo" href="index.php">Nieuw</a> :: <a href="<SITE_BROWSELINK>" title="stuff you've probably already seen">Archief</a> :: <a href="index.php?x=artikelen" title="artikelen">Artikelen</a> :: <a href="index.php?x=about" title="stuff about me">Over mij</a>
</div>
Reply With Quote
  #8  
Old 12-21-2007, 07:30 AM
BertJan Offline
forum loafer
 
Join Date: Sep 2007
Posts: 19
It all worked for now...

There was a logo, an image file who was transparent over my link so there where not clickable...

Now I can begin with my gallery.
The template is not complete yet, but this is a start.

Thanks to everyone who helped me with my problem!

(Sorry for my bad english, i'm dutch!)
Reply With Quote
  #9  
Old 12-21-2007, 08:52 AM
Dennis's Avatar
Dennis+ Offline
Team Pixelpost
 
Join Date: Jul 2006
Posts: 2,394
Send a message via MSN to Dennis
Quote:
Originally Posted by BertJan View Post
(Sorry for my bad english, i'm dutch!)

Being Dutch is no excuse En ik kan het weten. :P
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 01:09 AM.

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