Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #121  
Old 11-04-2006, 10:37 PM
RobbieMc Offline
pp veteran
 
Join Date: Feb 2006
Location: Canada
Posts: 78
Thanks, Geos. Once again you found the problem and in very short time. Doesn't look like it was 1.5 Final at all, but was probably always there, but I just never ran into it.

I replaced the href in the 'COMMENT_POPUP' tag with # and it works fine now. Thanks.

Rob
Reply With Quote
  #122  
Old 11-04-2006, 10:53 PM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
No problem.

Im happy that it works now as you wanted
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #123  
Old 11-17-2006, 05:57 PM
j_ambrose's Avatar
j_ambrose Offline
pp regular
 
Join Date: Oct 2005
Posts: 33
Send a message via AIM to j_ambrose
Maybe I'm an idiot but I can't get this to work at all. Will it be standard on a future version of PP? I'll just wait until then.
__________________
[openroadimagery.com]
Images from Arizona and beyond.
Reply With Quote
  #124  
Old 11-18-2006, 08:07 AM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
Probably it wont so PM me with your questions. There is one ready template which should work. It is enough to look on it and copy what is needed to yours.
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #125  
Old 11-19-2006, 05:35 PM
j_ambrose's Avatar
j_ambrose Offline
pp regular
 
Join Date: Oct 2005
Posts: 33
Send a message via AIM to j_ambrose
Ok I'll give that a try I was wondering why those templates were in there. I'll pm you if I have any more troubles.
__________________
[openroadimagery.com]
Images from Arizona and beyond.
Reply With Quote
  #126  
Old 11-29-2006, 03:33 PM
Marx Offline
forum loafer
 
Join Date: Aug 2006
Location: Belgium somewhere near Brugge
Posts: 7
Quote:
Originally Posted by syntaxmonster View Post
Nevermind I found it out
And how did you fix it?
Thanks..
Reply With Quote
  #127  
Old 11-29-2006, 06:30 PM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
There are tags for complete link, i.e.:
<SC_IMAGE_PREVIOUS_LINK_TXT>
<SC_IMAGE_NEXT_LINK_TXT>
and so on. There shouldnt be a problem with links.
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #128  
Old 12-29-2006, 12:36 AM
zac's Avatar
zac Offline
pp veteran
 
Join Date: Jul 2005
Posts: 99
This looks great.. having some troubles incorporating it into the theme. I am using this modified theme:
http://forum.pixelpost.org/showthrea...ghlight=ame235

which allows for a mouse over the image for previous and next navigation. That bit of code is:

Code:
	<div id="image">
				<img src="./images/<IMAGE_NAME>" id="imgmaine" width="<IMAGE_WIDTH>" height="<IMAGE_HEIGHT>" />
			<div id="menu_browse" style="width: <IMAGE_WIDTH>px; height:<IMAGE_HEIGHT>px;">
<script type="text/javascript">
         var existprev = "<IMAGE_PREVIOUS_ID>";
         var existnext = "<IMAGE_NEXT_ID>";
         if (existprev != "<IMAGE_ID>"){
            document.write('<a href="#" id="menu_browse_prev" onclick="document.location=\'index.php?showimage=<IMAGE_PREVIOUS_ID>\';"></a>');
         }
         if (existnext != "<IMAGE_ID>"){
            document.write('<a href="#" id="menu_browse_next" onclick="document.location=\'index.php?showimage=<IMAGE_NEXT_ID>\';"></a>');
         }            
</script></div>
			</div>
i tried changing it to this but no luck:

Code:
<div id="image">
				<img src="./images/<IMAGE_NAME>" id="imgmaine" width="<IMAGE_WIDTH>" height="<IMAGE_HEIGHT>" />
			<div id="menu_browse" style="width: <IMAGE_WIDTH>px; height:<IMAGE_HEIGHT>px;">
<script type="text/javascript">
         var existprev = "<SC_IMAGE_PREVIOUS_LINK_TXT> (#<SC_IMAGE_PREVIOUS_ID>, <SC_IMAGE_PREVIOUS_TITLE>, <SC_IMAGE_PREVIOUS_DATETIME_FORM>) ";
         var existnext = "<SC_IMAGE_NEXT_LINK_TXT> (#<SC_IMAGE_NEXT_ID>, <SC_IMAGE_NEXT_TITLE>, <SC_IMAGE_NEXT_DATETIME_FORM>)";
         if (existprev != "<IMAGE_ID>"){
            document.write('<a href="#" id="menu_browse_prev" onclick="document.location=\'index.php?showimage=<SC_IMAGE_PREVIOUS_ID>\';"></a>');
         }
         if (existnext != "<IMAGE_ID>"){
            document.write('<a href="#" id="menu_browse_next" onclick="document.location=\'index.php?showimage=<SC_IMAGE_NEXT_ID>\';"></a>');
         }            
</script></div>
			</div>
The arrows still work to navigate, however they ignore the chosen category. You can see what I mean at my testing site:

http://www.folkphotography.com/attic/

Thanks for the great addon and for any help with this.
__________________
folkphotography
Reply With Quote
  #129  
Old 12-29-2006, 07:41 AM
zac's Avatar
zac Offline
pp veteran
 
Join Date: Jul 2005
Posts: 99
Hmmm I am floundering. I guess the problem lies in:

Quote:
<SC_IMAGE_PREVIOUS_LINK> - gives link to previous image (just first part of HTML code - <a href=...>)
So somehow I must combine it with this:
Code:
<a href="#" id="menu_browse_prev" onclick="document.location = 'index.php?showimage=<SC_IMAGE_PREVIOUS_ID>';"></a>
am I on the right track?
__________________
folkphotography
Reply With Quote
  #130  
Old 01-01-2007, 11:13 PM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
Yeap - it should work (the last example of code).

I need some free time to make web page with all my addons, to create docs to them and so on. This isnt easy :/
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 06:37 PM.

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