![]() |
yes - i know - i should get a life. :lol:
|
Quote:
OK guys, anyone who got that is now officially a code geek. Welcome to the club. :P |
{assign var="horror" value="on"} :lol:
|
do know what's worse - i just corrected the code cos i was missing a ;
arrrrrrrrrrrrrrrrrrrrrrrrrrrgggggggggghhhhhhhhhhhh hh |
:lol:
|
Anyone figured out how to arrange the results of a search by price but have it go from most expensive to least expensive? I have modified my search so that I can order by add_date which is in DESC order, but I can't crack the price.
Just curious. In return, I can post my add_date mod if someone requests it. Thanks again :!: |
Nevermind, I figured it out.
|
Looking for code clarity
Even though I did understand "funky's loop" I'm not getting this search mod to work.
To my categories.php file I added before the # Assign Smarty variables this code: Quote:
Quote:
Quote:
{ $categories_level_2[cat_num][0][cat_num1].categoryid} with funky's line, but I still get the same results. Can one of the wizards out there post the code I should use? Thanks :-) Cameron |
Cameron,
That code is going to go right in here: Code:
{section name=cat_num1 loop=$categories_level_2} Replace the {$categories_level_2[cat_num][0][cat_num1].category|escape} with {$categories_level_2[cat_num][0][cat_num1].category_name|escape}. Hope that helps. |
Thanks for the fast reply :-)
my advanced_search.tpl file now contains Quote:
{$categories_level_1[cat_num].category|escape} to {$categories_level_1[cat_num].category_name|escape} but that didn't help either. I'm stumped. Could I have gone wrong with putting together the code for categories.php? |
All times are GMT -8. The time now is 03:43 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.