Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Basic Configuration / how to add image in side column of main page

how to add image in side column of main page

Locked

Started by ausbrighter on 22 Dec 2009, 12:43 PM · Views: 2,066

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
22 Dec 2009, 12:43 PM
#1
ausbrighter avatar

ausbrighter

New Zenner

Join Date:
Dec 2009
Posts:
2
Plugin Contributions:
0

how to add image in side column of main page

do anyone knows how to add an image on the side column without any borders nor sideboxs title ?

22 Dec 2009, 2:17 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: how to add image in side column of main page

You can use the Blank Sidebox mod and remove the header and borders in the stylesheet.

22 Dec 2009, 2:42 PM
#3
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: how to add image in side column of main page

If you want to add an image say, in the left-hand column after everything else, you could do the following.

edit
includes/templates/YOUR_TEMPLATE/common/tpl_main_page.php

Scroll down to around line 92 and look for this code:

<div id="navColumnOneWrapper" style="width: <?php echo BOX_WIDTH_LEFT; ?>"><?php require(DIR_WS_MODULES . zen_get_module_directory('column_left.php')); ?></div></td>

change it to:

<div id="navColumnOneWrapper" style="width: <?php echo BOX_WIDTH_LEFT; ?>"><?php require(DIR_WS_MODULES . zen_get_module_directory('column_left.php')); ?>

<br /><br />

--insert image code here--

<br /><br />

</div> </td>

The learning is in the doing.

Potent Products