using related/backrelated item to create a related item list

More
11 years 7 months ago #34398 by rottenberg
thank you
I did it, it's working :)

An expected date for 2.0.1 ?

best regards

Michel

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

More
11 years 7 months ago #35162 by rottenberg
hello,
I have just uploaded the v2.1659.
Is there something new about related/backrelated item ?

My problem : the default parameter displays the title of the backrelated item as hyperlink.

I dont want to display the title of the item but the first image of the backrelated item as hyperlink.

The field I use for image is called 'produit'. If I give {{produit}} I get all images of this field and the hyperlink is the full size image.

I have tried
Code:
%%<a href = "__item_url__"><img src ="{{produit}}">%%

I get the same thing (all images of the product) as the parameter {{produit}}.

Is it possible with this new version to display the image in place of the title ?

thank you for help

best regards

Michel

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

More
11 years 7 months ago #35166 by ggppdk
Please use a specific display variable that yields a specific size and only first image:

e.g. use:

{{produit##display_small_src}}
{{produit##display_medium_src}}
{{produit##display_large_src}}
{{produit##display_original_src}}

See more in this FAQ article:
About custom display of image / gallery field

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
11 years 7 months ago #35173 by rottenberg
thank you very much

It's working.

happy easter

best regards

Michel

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

More
11 years 7 months ago #35175 by ggppdk
you are welcome,
see my PM


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
11 years 7 months ago #35177 by rottenberg
Just a little problem remaining :

after each back related link ther is a line feed (< b />)
Is it possible not to display it and only having a css style to manage the presentation.

I have entered the following code :
Code:
%%[url=__item_url__]<img style="float:left;margin-left:5px;margin-right:5px;" src="{{produit##display_medium_src}}">[/url]%%
in the backrelated field.
the result gives this :
[attachment=0:1g7usuki]<!-- ia0 -->related item.jpg<!-- ia0 -->[/attachment:1g7usuki]

I think that this comes from the < b / > at the end of each image.

thanks for help

best regards
Michel

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

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