dibs223 Posted February 26, 2010 Share Posted February 26, 2010 Hi allHow can i just get the first categories showing up in the wiznav? pm me pleaseI want to be able to creat my own myadminphp database!I want to put it into this code! >{l s='pc' mod='wiznav'} </pre> <ul> {foreach from=$blockCategTree.children item=child name=blockCategTree} {if $smarty.foreach.blockCategTree.last} {include file=$branche_tpl_path node=$child last='false'} {else} {include file=$branche_tpl_path node=$child} {/if} {/foreach} Thanks Link to comment Share on other sites More sharing options...
dibs223 Posted February 27, 2010 Author Share Posted February 27, 2010 Ive got another categorie in my web page and named it pc for my testing!I have looked at blockcategories.php , category-tree-branch.tpl and blackcategories.tpl and cannot fig how to stop the categories from showign up!I am just after showing the first list e.g Accessories,mobilephone,pc not the others leading off these!Can anyone help me out or point me in the right direction please.I have done database therory and the get command in php at university, but its harder when its not your own code that you have built up to find the links to the database.hope somone can help me out here :-) if you need to look my site is www.kaihoo.co.uk Link to comment Share on other sites More sharing options...
dibs223 Posted February 27, 2010 Author Share Posted February 27, 2010 I am getting there slowly! just need to try and get the same background can anyone help me out on my code plz {l s='pc' mod='wiznav'} PC {foreach from=$blockCategTree.children item=child name=blockCategTree} {if $smarty.foreach.blockCategTree.last} {include file=$branche_tpl_path node=$child } {else} {include file=$branche_tpl_path node=$child} {/if} {/foreach} The PC link is not picking up the ??????? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now