Is this possible?
I have a main catagory navigation list, then sub catagories. My customer wants to be able to click the name of the sub catagory and be taken to an external link in a new window. Its really just a link. I guess the question is, how do I make the name of the subcatagory a clickable link?
|
Does it have to be a subcategory ? If not just add a link to the categories menu to go where you like.
or How about add a bit of text including a link to the description part of the category so that it shows up when you click the category |
He wanted it to be a sub..
The customer wanted it to be a subcatagory, but I talked him out of it completely and were just gonna make a new page with a tab to link to it.
|
Hello poboy,
If you would still like to create a link for your client, then in your subcategories.tpl locate your <a href> links to your home.php section. Please put them BEFORE your {section} code: {if $location.1 ne ""} {assign var="new_window" value="`target="_blank" `"} {/if} Please note the backticks within value. In your <a href> link do: <a {$new_window}href="home.php?cat={$cat}"> *sorry I might have not gotten the syntax correct, it's from memory.* Not the most elegant method, but I think it'll work. |
Thank you
Thanks for the help, I'll try it out.
|
All times are GMT -8. The time now is 11:36 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.