Forums / Templates, Stylesheets, Page Layout / move links from one sidebox to another

move links from one sidebox to another

Views: 587

Results 1 to 4 of 4
5 Feb 2011, 6:21 AM
#1
maxy007 avatar

maxy007

Zen Follower

Join Date:
Dec 2010
Posts:
248
Plugin Contributions:
0

move links from one sidebox to another

I've created EZ pages and want them to show up under the good to know heading. Somehow I managed to get E-Juice under that heading but all the rest including E-juice are showing up under the Important links heading.

How do I change it so the links are under the are under the Good to Know sidebox and not the Important Links heading??

Mitch B
www.lovetovape.com.au
love the Zen-Cart forums!!!

5 Feb 2011, 8:36 AM
#2
maxy007 avatar

maxy007

Zen Follower

Join Date:
Dec 2010
Posts:
248
Plugin Contributions:
0

Re: move links from one sidebox to another

Here's what's in my tpl_blank_sidebox.php file
includes/templates/surfshop/sideboxes

<?php /** * blank sidebox - allows a blank sidebox to be added to your site * * @package templateSystem * @copyright 2007 Kuroi Web Design * @copyright Portions Copyright 2003-2007 Zen Cart Development Team * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: blank_sidebox.php 2007-05-26 kuroi $ */ $content = ''; $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">'; // Replace the text and HTML tags between the apostophes on lines 19 and 20. // Use as many or as few lines using this model as you need for your custom content. // If you have a multilingual site define your text in the languages/YOUR_LANGUAGE/extra_definitions/blank_sidebox_defines.php and include it as shown in line 19. // If your site is monolingual, you can put the text right here as shown on line 20 (and nobody will know!) $content .= '' . TEXT_BLANK_SIDEBOX . ''; $content .= '<a href="http://www.lovetovape.com.au/index.php?main_page=page&id=16">Atty Maintenance</a>'; $content .= '</div>'; ?>

If I leave it like it is above then 2 links are on the same line as shown in Pic 1

If I put a <P> in here
$content .= '' . TEXT_BLANK_SIDEBOX . '';
$content .= '<P><a href="http://www.lovetovape.com.au/index.php?main_page=page&id=16">Atty Maintenance</a>';
$content .= '</div>';
?>

The spacing is to far apart as shown in Pic 2.

I just want the links underneath each other.

How do I achieve that?

Cheers,

Maxy

Mitch B
www.lovetovape.com.au
love the Zen-Cart forums!!!

5 Feb 2011, 10:46 AM
#3
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: move links from one sidebox to another

Try with <br /> instead of <p>
Or add #goodtoknowContent to your stylesheet and control the list from there.

5 Feb 2011, 11:23 AM
#4
maxy007 avatar

maxy007

Zen Follower

Join Date:
Dec 2010
Posts:
248
Plugin Contributions:
0

Re: move links from one sidebox to another

Fantastic!!
Exactly what I was after. I tried <br> but that didn't work. I knew I was close :)

Thank you again :clap:

Mitch B
www.lovetovape.com.au
love the Zen-Cart forums!!!