Support Forums

Assign Extra fields to Variable

This is a discussion on Assign Extra fields to Variable within the Customizations forums, part of the Developer Forums category; Hi, I'm trying to assign an extra field value to variable in viewlisting.tpl, but the variable store "get_extra_field" Code: {get_extra_field ...


Go Back   68 Classifieds Forums > Developer Forums > Customizations

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 11-07-2009, 12:51 PM   #1
Customer
 
Join Date: Jun 2009
Posts: 127
Rep Power: 9
pipelin is on a distinguished road
Default Assign Extra fields to Variable

Hi,

I'm trying to assign an extra field value to variable in viewlisting.tpl, but the variable store "get_extra_field"

Code:
{get_extra_field id=$view fid=28} 
{assign var=something value=get_extra_field id=$view fid=28}
{$something}
{if $something=="Yes"}
Someone know how I can assign this value to variable?

Note:
this doesn't work
Code:
{assign var=something value={get_extra_field id=$view fid=28}}

Last edited by Eric Barnes; 11-08-2009 at 11:36 AM.
pipelin is offline   Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Extra field variable business Technical Support 7 04-23-2009 09:50 AM
Extra fields seymourjames Technical Support 10 04-11-2008 03:39 PM


All times are GMT -4. The time now is 04:29 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0