CB Articles et FlexiContent(solved)

More
9 years 4 months ago #51407 by ggppdk
Hello

you can use the links to Joomla article,

FLEXIcontent will redirect these links to FLEXIcontent item view


-- 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
9 years 4 months ago #51413 by mfe13260
Non, je vais être plus précis....
Dans un profil CB, un plugin appelle automatiquement les articles de l'auteur (utilisateur) dans une tab, et montre le lien de l'article et le lien vers sa catégorie.
Ce CB plugin peut se paramétrer pour des articles Joomla ou K2, mais pas FC.

Les liens pointent donc vers les articles joomla et non vers les Items FC.

Après avoir regardé le fichier.php du "CB plugin Artices" pour Joomla, je pense qu'il suffirait de le modifier pour qu'il appelle les tables FlexiContent.
Pbm, je trouve la table des Items mais pas celles des catégories FC dans ma base de données !

Merci d'avance

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

More
9 years 4 months ago #51421 by ggppdk
Hello

to change the links:
Code:
JRoute::_(ContentHelperRoute::getArticleRoute($article->slug, $article->catid))
to
Code:
JRoute::_(FlexicontentHelperRoute::getItemRoute($article->slug, $article->catid, 0, $article))

How to generate FLEXIcontent SEF URLs in custom code


-- 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
9 years 4 months ago #51425 by mfe13260
Hello

ggppdk wrote:

Code:
JRoute::_(ContentHelperRoute::getArticleRoute($article->slug, $article->catid))

Where do you find this code, I can't see anywhere ?
thank you in advance

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

More
9 years 4 months ago #51427 by ggppdk
Hello

it is not exactly that maybe the above is 2 parts

search for:
ContentHelperRoute::getArticleRoute


-- 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
9 years 4 months ago #51432 by mfe13260
Great! it works !!!
A big thank you for your help :)

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

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