If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Re: Blank Sidebox as Linked Graphic Only

The code snippet in post 8 is not a suggestion to be interpreted, it is exactly the code you need to use to hide that link on ez-page 20. You can also adapt it very simply by changing 'page' to whatever page name you want (this is the "main_page=xxx" in the address bar at the top of the window) and eliminating the "or ..." part.

Re: Blank Sidebox as Linked Graphic Only

I still need help with this one. I actually had not setup the Smart Backgrounds Add-On when I was working on this. I setup my graphics each as logo sideboxes. Unfortunately, they seem to be showing up with the default sidebox style - you can see this for the three graphics under the search box on the right at my site.

I inserted your code from the Smart Backgrounds add-on (oops just realized I forgot to make the EZpages sytax correction you figured out last night) in to the right column on tpl_main_page as follows:

I then duplicated my we_accept.gif graphic and renamed as smartbg.gif and uploaded. It works just the way I want. Except that it shows up the Search Box rather than below. I think I'd have to move this code to another file rather than the tpl_main_page to do this, but I'm not sure. Maybe you can suggest this as well.

So how do I make the other three show up now? I want the remaining three to link to specific pages and not show up on their respectively linked pages, and possibly other pages (ie. Our Company, Careers, etc.)

Please help, as I still haven't fully grasped the way this add-on works, but am liking the results, especially after the way it works for the header backgrounds.

Re: Blank Sidebox as Linked Graphic Only

I don't think the Smart BG code is really the best way to handle this case. You want the "we accept" image all the time, right? Just inserting the <img> code in the location you show will (should) put that image at the top of the column, above the sideboxes. If you want just one of the "logo" boxes to show depending on the page, the easiest way would be to have one logo sidebox with all the images in it, and the if() test modified and extended to display the one desired for each page.

Re: Blank Sidebox as Linked Graphic Only

Thanks for the reply. Actually, I don't want the we_accept.gif on the non-cart pages, such as Careers, Our Company, etc. How would I go about modifying the Logo Sidebox to make the changes necessary? Could you show me an example?

Re: Blank Sidebox as Linked Graphic Only

Sorry for the delay. Took the family to play in the snow today. Actually, the solution may be even simpler if you could tell me how I could keep the Snazzy Rounded corners add-on for my main sideboxes and remove any styling from the Logo Sideboxes.

The Logo Sideboxes files I have so far as as follows:

For the includes/templates/myfolder/sideboxes, I have:

For the we_accept.gif (file: tpl_logo_sidebox.php)

PHP Code:

// $Id: tpl_logo_sidebox.php,v 1.1 8/21/2008
// --------------------------------------------------
//
// Link Option - uncomment this if you intend to use the logo as a link