Internal linking: how do others do it?

More
11 years 4 weeks ago #47274 by Rooney
Hi, I have posted similar topics in the past. I am just wondering, how you do internal linking with FlexiContent!

Do only I have the following problem?
I am using JCE with the latest FC advanced link plugin. Using this to create a link gives the following
Code:
http://www.muenstermann.com/index.php?option=com_flexicontent&view=item&cid=71:filter-und-entstaubungsanlagen&id=357:entstaubungsanlagen-fuer-mobile-brecher&Itemid=543
The article is assigned to several categories. The resulting SEF link is
Code:
http://www.muenstermann.com/de/site-content/71-filter-und-entstaubungsanlagen/357-entstaubungsanlagen-fuer-mobile-brecher.html
So, clicking on the link the article uses all the modules assigned to it. Actually this article SEF path should not even exist.
The real non SEF path is
Code:
http://www.muenstermann.com/index.php?option=com_flexicontent&view=item&cid=242:aktuelle-und-interessante-projekte-luftreinhaltung&id=357:entstaubungsanlagen-fuer-mobile-brecher&Itemid=575&lang=de
and the real SEF path is
Code:
http://www.muenstermann.com/de/entstaubungsanlagen/aktuelle-projekte/item/357-entstaubungsanlagen-fuer-mobile-brecher.html
So here the correct path is built:
  • de: German part of page
  • entstaubungsanlagen: category first level (menu item linking to category)
  • aktuelle-projekte: sub category second level (sub menu item linking to sub category)
  • item/357-entstaubungsanlagen-fuer-mobile-brecher.html: article assigned to category de/entstaubungsanlagen/aktuelle-projekte in category view
I am wondering how someone is using the JCE plugin, because for me it is totally useless. Joomla 3.3.0 (but same for all Joomla 3 versions) and FC latest 2.2.0 Beta.

Oh, by the way, why are the aliases added into the path in the first place? If the alias is changing the links still contain the old ones!
Code:
http://www.muenstermann.com/index.php?option=com_flexicontent&view=item&cid=242:aktuelle-und-interessante-projekte-luftreinhaltung&id=357:entstaubungsanlagen-fuer-mobile-brecher&Itemid=575&lang=de
This works also without aliases:
Code:
http://www.muenstermann.com/index.php?option=com_flexicontent&view=item&cid=242&id=357&Itemid=575&lang=de

Rooney

Joomla! 3.9.24 and FC 3.3.9

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

More
11 years 4 weeks ago #47278 by ggppdk
Hello


about SEF links creation
(="Joomla routing" to find an appropriate menu item)


code was revised, r1905+, and is now:


1. performance wise (if you have a website with 1000+ menu items)
... complexity was O(m*n) and now is only O(n)
m is number of itesm
n is the number of SEF links created in a page


2. It can now search not just category but also menu items for its parent categories, and also use directory menu item


3. you can remove /item/ if you want (EXISTING bookmarked LINKs will not break)
-- if you do the above ANY category without a direct menu item will get a:
/category/
-- if you had categories without menu items then do not enable the new parameter, because old bookmarked links will not work


NOTE: this parameter is good because usually you don't have categories without menu item so you will rarely get /category/ urls, so you can avoid both /item/ and /category/


4. Also i believe now routing is always appropriate ?:


// Priority 1: Item view menu items of given item ID

// Priority 2: Type's default before categories (if so configured): ... giving an object means no-lookup and just use it

// Priority 3: Category view menu items of given category IDs ... item's category and its parent categories in ascending order

// Priority 4: Directory view menu items ... pointing to same category IDs as above

// Priority 5: Type's default after categories (if so configured): ... giving an object means no-lookup and just use it

// Priority 6: Currently active menu item that matches current category view ... giving an object means no-lookup and just use it






about last comment:

-- so alias should be included only in dynamic generated links ??

-- and not inside article description, since these are not links will not be re-calculated when article is displayed ?

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
11 years 4 weeks ago #47287 by Rooney
Hi,
thanks for the long explanation. I am going to test 1905+ as soon as it is available. For now, I am on r1901. I guess what you want to say is that linking with JCE should work with 1905+ based on all the work (thanks for this) you put in optimising routing.

ggppdk wrote: about last comment:

-- so alias should be included only in dynamic generated links ??

-- and not inside article description, since these are not links will not be re-calculated when article is displayed ?

Regards

Well, I don't understand why article alias is part of the dynamic links created by JCE (and FC routing), because all information for creating a SEF link is in a dynamic link like
Code:
index.php?option=com_flexicontent&view=item&cid=242&id=357&Itemid=575&lang=de
or?
Rooney

Joomla! 3.9.24 and FC 3.3.9

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

More
11 years 2 weeks ago #47473 by Rooney
Hi,
searching in Advanced link of JCE gives the following error:
Code:
WHERE ' at line 1 SQL=SELECT i.id, i.title AS title, i.created, i.id AS fc_item_id, i.access, ie.type_id, i.language, ie.search_index AS text, CASE WHEN CHAR_LENGTH(i.alias) THEN CONCAT_WS(':', i.id, i.alias) ELSE i.id END as slug, CASE WHEN CHAR_LENGTH(c.alias) THEN CONCAT_WS(':', c.id, c.alias) ELSE c.id END as categoryslug, CONCAT_WS( " / ", 'Content', c.title, i.title ) AS section, c.access as category_access, ty.access as type_access, 1 AS has_access FROM epvxm_content AS i JOIN epvxm_categories AS c ON c.id = i.catid JOIN epvxm_flexicontent_items_ext AS ie ON ie.item_id = i.id JOIN epvxm_flexicontent_types AS ty ON ie.type_id = ty.id WHERE 1 AND i.state IN (1,-5) AND c.published = 1 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= UTC_TIMESTAMP() ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= UTC_TIMESTAMP() ) AND ty.access IN (0,1,1,2,3) AND c.access IN (0,1,1,2,3) AND i.access IN (0,1,1,2,3) AND ie.type_id IN () AND i.id IN ( SELECT item_id FROM epvxm_flexicontent_items_ext AS ts WHERE MATCH (ts.search_index) AGAINST ('+ofen*' IN BOOLEAN MODE) ) GROUP BY i.id ORDER BY i.created DESC LIMIT 0, 50
The FC Advanced search is enabled in JCE plugins. If I enable Joomla search, the link gives invalid results (404 error links).
Rooney

Joomla! 3.9.24 and FC 3.3.9

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

More
11 years 2 weeks ago #47481 by ggppdk
Hello

1. About SQL ERROR during search in FLEXIcontent Advanced Links ADD-ON, we missed updating the flexiadvsearch.php plugin,

Please use r1909+:
www.flexicontent.org/forum/index ... =viewtopic



2. Also please test this updated version of FLEXIcontent Advanced Links ADD-ON:
[attachment=1:2bi5533e]<!-- ia1 -->jce_v2_0_x_advlink_flexi_j25x3x.zip<!-- ia1 -->[/attachment:2bi5533e]



3. About title-links plugin:
try replacing:
plugins/system/titlelink/titlelink_plugins/plugin_content_title.php

with this (which creates FLEXIcontent links):


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

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

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