Problems, need help? Have a tip or advice? Post it here.
2 posts Page 1 of 1
Hello, I added some images on my website and I have problem with extra text (just link to the img) - look to the attachment. How can I remove this?

The code on my php file looks like:

<cms:editable
name='offer_1'
label='Image'
desc='Add photo herej'
type='image' />

<img src="<cms:show offer_1 />" class="img-responsive">

Attachments

Hi,

One solution is the addition of 'hidden' parameter as follows -
Code: Select all
<cms:editable
    name='offer_1'
    label='Image'
    desc='Add photo herej'
    type='image'
    hidden='1'
/>

The recommended method, however, is defining all editable regions within <cms:template> block.
Please see viewtopic.php?f=4&t=7292 for a discussion on this same topic.

Hope it helps.
2 posts Page 1 of 1