![]() |
MODIFICATION: Display extra fields separately.
Step 1. Go to your administration -> extra fields and note the id of the extra field.
Step 2. Open the viewlisting template file add this code to the top of the template file replacing 4 with the id from step 1: Step 3: Now change the word name to whatever you want. Code:
{foreach from=$extrafields item=extras}In order to display a extra field by itself with the field type of "check boxes" in the viewlisting template use this code where you want it to be displayed: Code:
{foreach from=$extrafields item=extras}Credit goes to Suzkaw. |
I've been looking for a way to put my extra fields seperately in the listing. Would I need to define a 'name' for each extra field individually (so copy all the code in the {foreach} tags for each extra field)?
Thanks! |
I've been looking for a way to put my extra fields seperately in the listing.
Then this mod will work perfectly for you. Would I need to define a 'name' for each extra field individually (so copy all the code in the {foreach} tags for each extra field)? Nope, just make sure you have the id's correctly. |
| All times are GMT -4. The time now is 01:29 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0