![]() |
Quote:
|
Im calling using {$extra.??.value} but for some reason its only working on a few extra fields,
the extra frields Im trying to use are single line text boxes |
Quote:
The viewlisting.php file assigns the extra field data to a multidimensional array called extra and the viewlisting.tpl.php file uses the following smarty template code to iterate over the array of arrays (multidimensional array). Code:
{foreach from=$extra item=extras}The number of extra fields passed by default behavior can vary from category to category depending on what extra fields you have defined. When in doubt, use the smarty debug console to see what fields are passed as I mentioned in my above post. |
sorry I dont know what going on the {debug} is not working for me
I get this: Warning: Smarty error: [in layout.tpl.php line 1]: syntax error: plugin function smarty_function_debug() not found in /home/fhlinux198/c/cheapholidayrentalsdirect.com/user/htdocs/includes/classes/smarty/plugins/function.debug.php (Smarty_Compiler.class.php, line 798) in /home/fhlinux198/c/cheapholidayrentalsdirect.com/user/htdocs/includes/classes/smarty/Smarty.class.php on line 1095 |
Try uploading your smarty plugin directory again:
includes/classes/smarty/plugins |
| All times are GMT -4. The time now is 10:55 PM. |
Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2007, Jelsoft Enterprises Ltd.