Guest
06 Mar 2013 22:19

Dear,

i want to make custom full record template, to modify the field position..

i success to get individual field to show on full record, and can control by field parameter like show/hide label, label icon. but cant get id in

and

how to get this id??

thank you

Last Modified: 02 Mar 2014


Sergey
Total posts: 13,748
07 Mar 2013 00:44

I am sorry I did not catch the question. Get in javascript? get foe what?


Guest
07 Mar 2013 03:29

Dear,

This is Full record template code, user for get

tag id, but not effect, can you tell my what wrong?

And i have add unset code, but the field is display dupicate....


<?php echo 'dt-'.$field_id; ?>

<?php unset($item->fields_by_key[$params->get('tmpl_params.field_price')]);?>

<dt id="<?php echo 'dt-'.$field_id; ?>" class="<?php echo $item->fields_by_key[$params->get('tmpl_params.field_price')]->class;?>">

thank you


Sergey
Total posts: 13,748
07 Mar 2013 06:33

Please attach your full template here I'll have a look.


Guest
07 Mar 2013 22:03

dear,

This is my code, help me check error,please

thank you


Guest
08 Mar 2013 00:02

Dear,

And this is only modify record information showing position, now record information is under the record title

i think some people will like this!!

thank you!


Guest
09 Mar 2013 01:52

Dear,

this is mydify by record default, i can use, but cant auto load field, because when add auto load field code, will display dupicate, and cant show field id in

tag

please help me check it.

thank you


Sergey
Total posts: 13,748
09 Mar 2013 08:29

In fact I barely understand what you need. I'll check the code and see if I grab your idea from the code.


pepperstreet VIP
Total posts: 3,837
04 Jun 2013 03:26

Maybe he wants a default CSS class/id output, that I mentioned here:

http://support.mintjoomla.com/en/cobalt-8/ideas/Conditional +fields+-+default+field+CLASS+and+ID-4083.html

Powered by Cobalt