The Code for DropDown menu
Here's the code.. I guess I was in bad mood or something when I wrote my prev. post...
Code:
{* $Id: product_dropdown_list.tpl,v 1.00 04/29/2003 13:23:08 acidleak Exp $ *} Put the template included below inside head.tpl as such; change the path accordingly Code:
<div align="right">{ include file = ../customer/custmods/product_dropdown_list.tpl }</div> before you'll be able to use the template, you need to build that $all_products array Code:
# include all copyright info here Put the followign line right underheath your "require" calls inside of [b]product.php, products.php, search.php, cart.php [b] changing the path accordingly Code:
require "./custmods/all_products.php"; Problems? pm me -acidleak |
:idea: :wink:
|
Drop Down Menu
Tell me please where i have to put this codes and how?
|
I tried the code posted by YuriC.
- I put the dropdown code in categories.tpl and got the dropdown shows up but no entry. I include all_products.php in customer/categories.php, home.php, products.php etc. But the content of php code shows up on the top of webpage above logo and everything. But dropdown is still empty. Could anyone tell me what could I be doing wrong? Or it is version problem? I am using 4.0.7 and I believe YuriC wrote the code long before version 4 came out. He got it working at http://worldhealthproducts.com/customer/home.php Is there anyway I can achieve this in version 4? Zaw |
All times are GMT -8. The time now is 07:29 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.