Guest
19 Feb 2013 01:24

How to you get an image to align on the right side of the page? We have a field in our description for an image but it will only display in the sequence of how it is entered.

Last Modified: 02 Mar 2014


Konstantin
Total posts: 1,113
19 Feb 2013 05:35

Hello,

what image you mean? Field Image or something else?

Give us the screenshots and link, then we look and help you.


Guest
19 Feb 2013 09:47

Would like to have the image of the turbo parts on the right instead of on the bottom


Guest
19 Feb 2013 17:04

Hidden text


Konstantin
Total posts: 1,113
19 Feb 2013 23:47

First you need copy default template for Article in admin panel with new name. Then open this template (default_record_new_name.php) and edit it. You can use this code to insert where you want:


echo $this->item->fields_by_key['kfff48cc0204efce2d9866ca2e72a05d2']->label; echo $this->item->fields_by_key['kfff48cc0204efce2d9866ca2e72a05d2']->result; unset($this->item->fields_by_groups['']['kfff48cc0204efce2d9866ca2e72a05d2']);

'kfff48cc0204efce2d9866ca2e72a05d2' - the key of field, which you find in fields table in admin panel.

fields_by_groups[''] - if your field is ungrouped.


Sergey
Total posts: 13,748
20 Feb 2013 06:20

Very useful also to read this article.

Powered by Cobalt