PDA

View Full Version : Custom add form



Maurizio Nicoli
August 19, 2013, 06:38 PM
I need to call each field individually in the entry form.
I can recall groups of fields individually but not the fields.
Can you tell me how to do? Please reply to this post...

Thanks

Mike
August 21, 2013, 11:49 AM
Do you want it for details page?

for details page you can access listing field values in the template as below



{$listing.common.Fields.title.value}


where "common" fields group key
and "title" field key


for short form it's


{$listing.fields.price.value}

Maurizio Nicoli
August 21, 2013, 12:26 PM
Hallo Mike,

no I mean the fields in the form of new ad insertion (add_listing.tpl).
I need to put some fields on the same line......

Thanks

Mike
August 24, 2013, 08:07 AM
ah, it's more complex then.

Actually not sure there is solution without remaking it..

there is loop through the fields and script prints a "table row" for each field. It's tricky inside the loop to combine fields anyhow.

If you really need it please give us exact information how you wnat it (what fields, where) in the ticket. I'm sorry but changes' likely to cost something

Maurizio Nicoli
August 27, 2013, 08:13 AM
Ok thanks Mike.
As soon we will know the exact fields will open a ticket.

Thanks