Category Sidebar Plugin - Trouble with Joshua template

Creating and modifying plugins.
Post Reply
theseus
Regular
Posts: 41
Joined: Mon Oct 17, 2005 3:40 am

Category Sidebar Plugin - Trouble with Joshua template

Post by theseus »

I am using the Joshua template and when I use the Category Sidebar plugin, it places bullets in front of the category listing but they are not padded properly. How do I fix this? My website is http://www.cambigue.com/serendipity

Thanks

Theseus

Incidently, I can't get PEAR properly configured so I can use the Tree Menu....
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post by carl_galloway »

Hi theseus, are you talking about the black dots to the left of your category form? If so, the category sidebar plugin outputs an unordered list <ol><li> so what you need to do in style.css for the joshua theme is add the following

Code: Select all

.container_serendipity_categories_plugin li {
list-style-type:none; 
}
I haven't tested it but that should work, or at least give you a good idea of where to start.

Cheers, and good luck

Carl
theseus
Regular
Posts: 41
Joined: Mon Oct 17, 2005 3:40 am

Post by theseus »

Thanks for the help. I tried that but it didn't work. But I am open to other suggestions :D

I think the issue is that this is not a standard plugin but actual built in functionallity...
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

That's weird. Carl's CSS should have caused it to disappear; in fact, it's got inline style that should leave it with no marker. But I can't get it to go away in EditCSS.

Could there be some JavaScript involved that we don't know about?
Judebert
---
Website | Wishlist | PayPal
theseus
Regular
Posts: 41
Joined: Mon Oct 17, 2005 3:40 am

Post by theseus »

An older nightly version (Serendipity 1.0-alpha2) doesn't have this problem. The problem only shows up with Serendipity 1.1-alpha1. So this is internal and not the plugin... in my opinion. I am going to put up the latest nightly version and see what happens....
theseus
Regular
Posts: 41
Joined: Mon Oct 17, 2005 3:40 am

Post by theseus »

Ok. The latest nightly version didn't make a difference.... Thoughts? suggestions? Thanks for your help :D
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Can you run once under the working version, copy the source of the sidebar, and run again under the non-working version, and copy its source?

If not, I'll try to do it on my own, but it might take me a while to get to it.
Judebert
---
Website | Wishlist | PayPal
theseus
Regular
Posts: 41
Joined: Mon Oct 17, 2005 3:40 am

Post by theseus »

judebert wrote:Can you run once under the working version, copy the source of the sidebar, and run again under the non-working version, and copy its source?

If not, I'll try to do it on my own, but it might take me a while to get to it.
I really can't take the site down right now. If you can figure out how to bypass this problem, that would be great. I not in any rush, but really like this template...

Thanks

Theseus
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

I'll give it a shot. I'm busy with the 1.0 release right now, but if I haven't got back to you in a week, bump this topic so I remember it again.
Judebert
---
Website | Wishlist | PayPal
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

In a german thread http://www.s9y.org/forums/viewtopic.php?t=4958 , it was solved by re-setting the "background" property of some li/mainpane element that caused those dots?!

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
theseus
Regular
Posts: 41
Joined: Mon Oct 17, 2005 3:40 am

Post by theseus »

Thanks Garvin!

Removing the Background line from the style.css file in the Joshua template fixed the problem.

Code: Select all

# mainpane left
{ cunning style: none;
padding left: 10px;
background: url(templates/joshua/img/bullet_rounded.gif) NO-repeat 0 6px; margin left: -11px;
}
Thanks Again for pointing me in the right direction!
Post Reply