[Answered] Lien com_content/com_flexicontent article

More
12 years 9 months ago #22649 by Nodel
Bonjour,
J'utilise flexicontent sur le site que je fais en ce moment. J'ai besoin d'un autre composant (customproperties). Seulement les liens que créé le composant customproperties sont des liens com_content et non com_flexicontent (ce que je voudrais).
Comment changer cela ?

Merci.

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

More
12 years 9 months ago #22659 by ggppdk
The com_content links are redirected to com_flexicontent component.

For changing the links you will need to replace
JRoute::_(...)

with
JRoute::_(FlexicontentHelperRoute::getItemRoute(item_id, category_id));

where item_id, category_id must be appropriate variable with the id of the article and id of item's category ...

also you will need to include:
require_once (JPATH_SITE.DS.'components'.DS.'com_flexicontent'.DS.'helpers'.DS.'route.php');

But your changes will be lost when you upgrade this component, maybe it would be better not to do it unless you are a developer.

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
12 years 8 months ago #22839 by LisaLisa
Hi ! Do you plan to make this option in the next version?
It would be very usefull !

Joomla 2.5
Flexicontent version 2.0 RC3 (r1151)

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

More
12 years 8 months ago #22842 by ggppdk
Support it ??? aaa? ... we are not developers of the this other component, you contact the author of the component and pass the information i gave you in my previous post.

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
12 years 8 months ago #22848 by Nodel
Merci pour votre réponse.
J'ai une nouvelle question.
J'ai besoin de récupérer le contenu d'un champ depuis la même page que celle qui récupère le chemin du contenu.
En faite j'ai besoin de récupérer le lien d'une image qui est dans le champ du contenu
Comment faire ?

Thank you for the answer.
I got a new question.
I need to get the content of a field from the same page as the one that get the path of the content.
In fact I need to get the link of a picture wich is in a field of the content.
How to do that ?

Merci.

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

More
12 years 8 months ago #22852 by ggppdk
You need to retrieve it in e.g. inside some third party joomla module?


-- 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.

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