Réécriture SEF sur un lien vers une catégorie

More
12 years 10 months ago #16651 by Clement_M
Bonjour,

Dans mon site, j'ai mis en place une FAQ sous la forme :
    - un item = question/réponse classée dans la catégorie FAQ
    - page FAQ = vue catégorie qui contient directement la liste des questions/réponses (je n'utilise pas la vue item).

Je voudrais que les liens dans les résultats de la recherche sur un item pointe vers la vue catégorie de la FAQ pour tous les items.

J'ai donc modifié le composant Flexisearch en changeant la partie qui génère le lien :
Code:
FlexicontentHelperRoute::getItemRoute($row->slug, $row->categoryslug)
devient
Code:
FlexicontentHelperRoute::getCategoryRoute($row->categoryslug)

Sans la réécriture SEF ça fonctionne, par contre dès que je l'active ça ne marche plus :
    - le helper flexicontent génère l'url
index.php?option=com_flexicontent&view=category&cid=1:categorie-1
    - en passant dans Jroute, les paramètres ne sont pas conservés
index.php/component/flexicontent/category


Quelqu'un à une idée pour m'aider à résoudre ce problème ?

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

More
12 years 9 months ago #16845 by ggppdk


-- 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 9 months ago #16850 by micker
ggpdk you are great !

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