Display item image in Favourites page

More
14 years 4 months ago #7970 by andrus
Hello, I've been trying for hours to display the item image in the Favourites page without any results...

I'm editing the file: components/com_flexicontent/views/favourites/tmpl/default.php, I need to change this variable:
Code:
$src = flexicontent_html::extractimagesrc($item);

with the path and name of the item image... the problem is I don't know how to get the item image name from the database!!!

Thanks a lot for your help :)

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

More
14 years 4 months ago #7998 by micker
hello an idea of solution in french
<!-- l --><a class="postlink-local" href=" www.flexicontent.org/phpbb/viewtopic.php?f=10&t=1335 ">viewtopic.php?f=10&t=1335
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.

More
14 years 4 months ago #8272 by andrus
Micker thanks very much for your reply but I couldn't solve my problem, I've been struggling a few more days without results... :oops:

The name of the picture I need to pick up is located in a table named: "jos_flexicontent_fields_item_relations", this table has the following fields:
- field_id: (example: 15)
- item_id: 54
- valueorder: 1
- value: a:4:{s:12:"originalname";s:8:"0032.jpg";s:3:"alt";s:4:"Bice";s:5:"title";s:4:"Bice";s:4:"desc";s:4:"Bice";}

what does this last line mean and how do I pick up the "0032.jpg" that I need to display?

Thanks a lot! ;)

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

More
14 years 2 weeks ago #11458 by andrus
Forgive me for this little "up" but I'm still having troubles with this :(

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

More
13 years 10 months ago #13156 by tembargo
Yeah.. Me too I'd like to know the details of that line..

Did you find something ?
* a:4
a:4 or a:3 or a:1 => No idea
* s:12:"originalname"
Sometimes its s:4:"link" and sometimes s:12:"originalname" => ~ok
* s:8:"0032.jpg";s:3:"alt";s:4:"Bice";s:5:"title";s:4:"Bice";s:4:"desc";s:4:"Bice";} => No idea..

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

More
13 years 10 months ago #13170 by ivonecchi
andrus,

The $src var (line 92) do not show the name of the image?

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.806 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