Hi SWC_Scotty,
Sorry that you ran into issues here!
Have you tried the suggestions in our Advanced Customization guide? That article walks through some of this here: http://businessdirectoryplugin.com/support-forum/faq/advanced-customization-of-the-list-and-detail-views-of-bd/
Keep in mind you can’t just use that on any old page–it has to be a page where the BD loop is active.
Try that first and if that’s not working, let me know.
Thanks for the clarification. Further to my question above maybe you can help me with the images.
How can i pull an unformatted main image url from the database? Failing that, how can i edit which css classes are applied to the formated $main_image variable.
Thanks.
The customization guide has some tips about pulling image data, but if you want to go with the CSS route, you can override the CSS classes you find in Firebug using custom CSS.
Here is an article about how to use custom CSS with Business Directory in a way that doesn’t get overwritten on upgrade of BD: http://businessdirectoryplugin.com/support-forum/faq/how-to-use-custom-styles-with-bd-2-1/
I’ve searched the page and can find no mention of specifically pulling image data. I want just the path of the image.
Regarding CSS, i wouldn’t want to change the existing classes but rather add others to correspond with other plugins etc. How can i change which classes are appended to the image.
So let me make sure that I understand what you want–what do you mean by “main image URL” in this case?
The primary image of the listing?
Well currently when i use $main_image it returns a whole host of html data and not just the path to the image.
The only reason I wish to pull just the path is because I need to change the HTML. If i can’t do that, i’ll create my own and just put the image path in. I want to put it in my own classes that work with my javascript etc, not just edit the existing style.
I’d rather know where the following string gets formed so I can edit this.
<div class="listing-thumbnail"><a href="xyz" class="thickbox" data-lightbox="wpbdpgal" rel="wpbdpgal"><img width="150" height="150" src="xyz" class="wpbdp-thumbnail attachment-wpbdp-thumb wpbdp-single-thumbnail" alt="Naughty Cat Media" title="Naughty Cat Media" /></a></div>
Let me check with my developer and see what he says, specifically.
I haven’t heard back yet, but it was the weekend when I gave it to him, so give it a bit.
Thanks for being patient.