link field

More
13 years 10 months ago #13703 by themine
link field was created by themine
hi
i want to change the text that appear in the title of the field
to be an image
how can i do that
?

i mean that type of fields
[attachment=0:8zw0oj1r]<!-- ia0 -->as.jpeg<!-- ia0 -->[/attachment:8zw0oj1r]
Attachments:

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago #13710 by micker
Replied by micker on topic link field
an exemple for an image in background
you need to edit your template (item.php) and code this
example
for field18
Code:
<div id="bouton-download"><?php echo $this->fields->field18->display; ?> </div>
and in you template
Code:
#bouton-download{ background:url(yourpath/forimage/your-image.jpg); }
regards

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.594 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline