Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #41  
Old 04-09-2006, 01:35 AM
jaybussiere Offline
forum loafer
 
Join Date: Jul 2005
Posts: 17
CSS thumbnail spacing bug

Here is my CSS thumbnail code bug fix. It seems the margin gets some extra spacing for some reason...


/* margin CSS tags are buggy and need one negative value to equal 0. I'm not sure why this is but is only needed for the *GeoS Show Category ADDON* for pixelpost. The default pixelpost CSS value of 0 work fine. */

.thumbnails {
background: #CCCCCC;
border: 1px solid #CCCCCC;
padding: 0px;
margin: -1px;
}
.thumbnails:hover {
background: #FFFFFF;
border: 1px solid #666666;
padding: 0px;
margin: -1px;
}
Reply With Quote
  #42  
Old 04-09-2006, 02:56 AM
jaybussiere Offline
forum loafer
 
Join Date: Jul 2005
Posts: 17
Talking

Geos, the addon works wonderfully.

a little tricky on the href links on whether to add the <tags> inside or outside. which was different on 2 occasions (one in and the other outside).


check it out:

http://www.opticdesire.com/pixelpost...se&category=30

pixelpost is now everything i needed! for now! perfecto!
Reply With Quote
  #43  
Old 04-09-2006, 10:18 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
Cool to see that it works for you
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #44  
Old 04-10-2006, 02:46 AM
RobbieMc Offline
pp veteran
 
Join Date: Feb 2006
Location: Canada
Posts: 78
Quote:
Originally Posted by jaybussiere
Here is my CSS thumbnail code bug fix. It seems the margin gets some extra spacing for some reason...

I also found that the thumbnails generated by <SC_THUMBNAILS> gained a little in the margins from the original <THUMBNAILS> tag. I fixed it on my site by modifying the addon script itself, removing the ".chr(10)" from line 238.

I guess that code is for a carriage return or something that ends up putting each thumbnail on a different line in the output html. Removing it tightened them up again.

Rob
Reply With Quote
  #45  
Old 04-10-2006, 06:24 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
Ill remember that in next release.
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #46  
Old 04-30-2006, 12:28 AM
greentraveler's Avatar
greentraveler Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 106
Thanks for the update today!
Reply With Quote
  #47  
Old 04-30-2006, 12:29 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
There was an update.

Please read addon changelog (history) on forum or in addon section of pixelpost.org.

EDIT: Green you've posted just before my info about update (you were faster then I) :P

PS Please all of you - inform me if there is something not OK (about any bugs) or if you want something more (but for today I think that is all what it should have)
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #48  
Old 04-30-2006, 02:06 AM
greentraveler's Avatar
greentraveler Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 106
Question OpticDesire.com Question

Quote:
Originally Posted by jaybussiere
Geos, the addon works wonderfully.

a little tricky on the href links on whether to add the <tags> inside or outside. which was different on 2 occasions (one in and the other outside).


check it out:

http://www.opticdesire.com/pixelpost...se&category=30

pixelpost is now everything i needed! for now! perfecto!
Jay,

Just so I don't go crazy trying to figure out whether or not your category navigation is dynamically generated...the categories on the right side of the page you linked to were hardcoded, right? If not, please share your secret...maybe it's not even a secret and I'm missing something big. But having a list automatically generating links to category-only viewing is too tempting not to ask about.

Any way you slice it, nice site!
Reply With Quote
  #49  
Old 05-01-2006, 11:21 PM
ttlive Offline
pp regular
 
Join Date: Oct 2005
Location: Frankfurt Germany
Posts: 31
That's a great plugin, thank's a lot!

I'm just having a little problem here with the drop-down-menue.

After I had selected or changed a category (e.g. "Germany") in the drop-down-menue and after than the page as been reloaded, the name of the category is disapearing in the box. Insead off e.g. "Germany" there is nothing (blank) shown in the box. I tried it with Firefox and the Konqueror on Linux.

The name of the category is shown under next to the "SC_CAT_NAME" tag, so everything is working fine, the browsing, the thumbnails, ...
... but just the name of the selected category is disapearing th e drop-down-menue.

Did I do something wrong, is there something I forgot and a way to fix it or is it a bug?
Reply With Quote
  #50  
Old 05-02-2006, 09:01 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
Its not bug, I didnt forget about this, ... - there was no such intention for this drop-down menu.

Solution is quite easy. Find in code of addon (line 334/345):
PHP Code:
            while(list($cat_id,$cat_name,$img_id) = mysql_fetch_row($query4))
            {
                
$sc_browse_category .= '<option value="index.php?category=' $cat_id '&amp;showimage=' $img_id '">' $cat_name '</option>';
            } 
and replace it with:
PHP Code:
            while(list($cat_id,$cat_name,$img_id) = mysql_fetch_row($query4))
            {
                
$sc_browse_category .= '<option value="index.php?category=' $cat_id '&amp;showimage=' $img_id '"';
                if(
$cat_id == $_GET["category"])    $sc_browse_category .= ' selected';
                
$sc_browse_category .= '>' $cat_name '</option>';
            } 
PS I didnt test it but it should work fine Write to me a PM if it doesnt work then we will find solution.
__________________
photoblog | portfolio | addons | Donate

Last edited by GeoS; 08-24-2006 at 06:18 PM.
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 09:35 PM.

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