J3.x, Redirecting issue with com_content links

More
11 years 8 months ago #40233 by HillWoody
Hello,

there is a link redirecting issue I cannot solve (J 3.1.5, FC r 1763):

A menu module (swmenu pro) creates content links in a tree view in the form:
option=com_content&view=article&id=<id>.

In J 2.5, these links were converted into the FC context without issues.

In 3.1 however it seems, this conversion happens only sometimes.

In most cases, the items are displayed in core content view instead of FC template view, preventing extra fields from being displayed.

In both cases, the display of the URL does not change in the browser's address line and stays in com_content format. However if I manually change the URL to FC format there, the redirect to FC works normal.

I suspected differences in the category and/or menu configurations, but after hours of investigation I still cannot say why this happens.

What's going on there, and what can I do?


Regards

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

More
11 years 8 months ago #40239 by ggppdk
Hello

question:
a. so the same menu item is sometimes redirected and sometime not redirected
OR
b. some menu items are always redirected and some always not redirected?

and have you noticed something special about those not redirected?


-- 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 8 months ago #40262 by HillWoody
Hi ggppdk,


"question:
a. so the same menu item is sometimes redirected and sometime not redirected
OR
b. some menu items are always redirected and some always not redirected?"

Looks more like case a. Clicking one of the links activates (always) the home menu, but the Itemid is not appended to the URL.


"… and have you noticed something special about those not redirected? "

Yes, I have: in case of the "wrong" links no breadcrumb path is created.

(BTW the usage of the breadcrumb module breaks items display and leads to the following fatal error:

Call to undefined method JPathwaySite::set() in /usr/local/lsws/AMS-NLc/html/_cs/components/com_flexicontent/flexicontent.php on line 179

Deactivating the module does not directly stop message and behaviour, even if I deactivate all caches. Wonder how to stop this).

EDIT: Appending an appropriate Itemid to the URL helps with the pathway error. I only can't find an Itemid that forces the correct link conversion (if that's the reason at all).



Regards

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

More
11 years 8 months ago #40287 by ggppdk
Hello

1. the pathway error occurs when you have enabled parameter "Create pathways automatically"
-- it has been reported and fixed (there will be a new package soon)
-- to fix now just edit file and DELETE the line giving the error

2. about not activating the menu item, that was case in older versions, i will test and if i cannot replicate i will ask you to give me a specific example that shows the problem


-- 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 8 months ago #40332 by HillWoody
Hello ggppdk,

...while debugging queries for the creation of "right" and "wrong" links, I noticed that both ways are mostly in sync until the common template style is loaded.

From that point the "wrong" queries are mostly constructed in a different way, starting with:
Code:
select extension_id as id, element as "option", params, enabled from #__extensions where `type`= 'component' and `element`= 'com_content'

This query is missing in the "right" case.

Hopefully a useful hint.


Regards & thanks in advance

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

More
11 years 8 months ago #40334 by micker

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.594 seconds
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
Save