Xmap plugin 2.0.0 for J2.5

More
10 years 10 months ago #37659 by loicberder
links are coming from a Flexicontent menu (see the image)
http://s3.amazonaws.com/awesome_screenshot/2346690?AWSAccessKeyId=0R7FMW7AXRVCYMAPTPR2&Expires=1371191212&Signature=KwBjDynQsmh6SxMZabYlqVy%2Fwvc%3D

loïc

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

More
10 years 10 months ago #37660 by ggppdk
Replied by ggppdk on topic Xmap plugin 2.0.0 for J2.5
Hello, try this
edit file plugin/xmap/com_flexicontent/com_flexicontent.php

and find line
Code:
$node->link = ContentHelperRoute::getCategoryRoute($node->slug);
replace it with
Code:
$node->link = FlexicontentHelperRoute::getCategoryRoute($node->slug);


-- 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
10 years 10 months ago #37676 by loicberder
hello

i have changed the line 300
it is working much better

now links are like :
Code:
http://www....../component/flexicontent/110-pour-commencer

instead of :
Code:
http://www....../aide/110-pour-commencer

some links are automaticly re-directed to the .../ aide/... style, and some not
i don't know why


Loïc

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

More
10 years 10 months ago #37691 by ggppdk
Replied by ggppdk on topic Xmap plugin 2.0.0 for J2.5
Hello,
also do this change:

1. change:
Code:
$node->link = FlexicontentHelperRoute::getItemRoute( $item->slug, $item->catslug );
to
Code:
$node->link = JRoute::_(FlexicontentHelperRoute::getItemRoute( $item->slug, $item->catslug ))
;

2. and change:
Code:
$node->link = FlexicontentHelperRoute::getCategoryRoute($node->slug);
to
Code:
$node->link = JRoute::_(FlexicontentHelperRoute::getCategoryRoute($node->slug));


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