If this is your first visit, check our documentation. To post, register or login.
Forums / Basic Configuration / Banner configurations

Banner configurations

Started by dcharov on 26 Jan 2013, 11:33 PM · Views: 1,232

Results 1 to 8 of 8
26 Jan 2013, 11:33 PM
#1
dcharov avatar

dcharov

New Zenner

Join Date:
Jan 2013
Posts:
6
Plugin Contributions:
0

Banner configurations

hi,
I have a silder and i would like to show 3 banners under it ( just in the home page ) .
any helps ?
BRGDS,

26 Jan 2013, 11:43 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Banner configurations

Add this content to your main_page.php file through the admin
admin > tools > define page editor > select main_page > add content > save

Zen-Venom Get Bitten

27 Jan 2013, 11:10 PM
#3
dcharov avatar

dcharov

New Zenner

Join Date:
Jan 2013
Posts:
6
Plugin Contributions:
0

Re: Banner configurations

Thank you ^^
I have another question, how can i show the list of categories in the navbar instead of some pages like ( featred product , view cart , my account ... ), i have a php file who contain the navbar i just need the php code to generate the links ..
And thx again for your help :)

28 Jan 2013, 2:01 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Banner configurations

A link to your site will take the guessing out of the mix

Alsao when you reply - scroll up and read "posting tips" and provide the information

Zen-Venom Get Bitten

28 Jan 2013, 8:45 PM
#5
dcharov avatar

dcharov

New Zenner

Join Date:
Jan 2013
Posts:
6
Plugin Contributions:
0

Re: Banner configurations

Now it is local , i will try to explain what i mean :

I use the last zen cart version and i use this theme : http:// demo.zen-cart-themes.com/demo-free/index.php?tpl=pure
I would like to show the name of categories in the menu like this : http:// demo.zen-cart-themes.com/index_new.php

Here the php code of the menu :

<div class="top-nav-right"></div>
	<ul class="list-style-none">
		<li class="home-link"><a href="<?php echo '' . HTTP_SERVER . DIR_WS_CATALOG;?>"><!--img src="images/spacer.gif" width="1" height="14" alt=""--></a></li>

<?php
if ($current_page_base == 'products_new') {	$active	= 'tab_active'; 
	} else { $active = '';
}?>
		<li class="<?php echo $active;?>"><a href="index.php?main_page=products_new"><?php echo TOP_MENU_NEW_PRODUCTS;?></a></li>

<?php
if ($current_page_base == 'specials') { $active = 'tab_active'; 
	} else { $active = '';
}?>
		<li class="<?php echo $active;?>"><a href="index.php?main_page=specials"><?php echo TOP_MENU_SPECIALS;?></a></li>

<?php
if ($current_page_base == 'account' || $current_page_base == 'login' || $current_page_base == 'account_edit' || $current_page_base == 'address_book' || $current_page_base == 'account_password' || $current_page_base == 'account_newsletters' || $current_page_base == 'account_notifications') { $active = 'tab_active'; 
	} else { $active = '';
}?>
		<li class="<?php echo $active;?>"><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo TOP_MENU_MY_ACCOUNT;?></a></li>

<?php
if ($current_page_base == 'shopping_cart') { $active = 'tab_active'; 
	} else { $active = '';
}?>
		<li class="<?php echo $active;?>"><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo TOP_MENU_VIEW_CART;?></a></li>
	</ul>
</div>
29 Jan 2013, 7:44 AM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Banner configurations

I would like to show the name of categories in the menu like this : http:// demo.zen-cart-themes.com/index_new.php
Buy that template

Zen-Venom Get Bitten

29 Jan 2013, 11:19 PM
#7
dcharov avatar

dcharov

New Zenner

Join Date:
Jan 2013
Posts:
6
Plugin Contributions:
0

Re: Banner configurations

Oh great idea .. you must be kidding me :shocking:
And why im creating a custome theme ?
i have some knowledge of php, it will take me just more times to understand it.
i create this post because i don't have enough times, and hoping if someone have an example to provide me ..

30 Jan 2013, 1:57 AM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Banner configurations

Check the templates at

http://(sorry, site offline)/

Zen-Venom Get Bitten