× Pleas keep in mind that SPAM will be deleted instantly

Url Differences from Module and Component

More
3 years 10 months ago - 3 years 9 months ago #4907 by K.Mixalidis
Url Differences from Module and Component was created by K.Mixalidis
Hello guys,
I am dealing with a URL difference issue.
For example,
If I am in the list view of the component,
and i "click" on the header to see the catalog view of db result ..
I have an url like
www.site/ndex.php/events/526-bla-bla-bla-307

and from the Joodb module when I "click" the same header to guide me to the list view,
the url leads to a different url ..
www.site/index.php/component/joodb/article/3/-bla-bla-bla-307

How i can have the first working url in the module ???
(So when I fix the Seo Url to be in the same Url of the list "click" and not different path)

Thank you.
Last edit: 3 years 9 months ago by K.Mixalidis.

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

More
3 years 9 months ago #4935 by K.Mixalidis
Replied by K.Mixalidis on topic Url Differences from Module and Component
Any suggestions please :)

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

More
3 years 9 months ago - 3 years 9 months ago #4938 by Dirk
I guess mod_joodb is not able to detect a valid menu entry for the event database.

Look in the helper.php file at modules/mod_joodb
// Try to estimate the Itemid if we are outside of the database
$db->setQuery("SELECT id FROM #__menu WHERE published=1 "
		." AND link LIKE 'index.php?option=com_joodb&view=catalog%'"
		." AND ( params LIKE 'joobase=".$jb->id."%'"
		." OR params LIKE '{\"joobase\":\"".$jb->id."\"%' )");
$jb->Itemid=$db->loadResult();

Have you selected the right JooDB database in your module configuration?
The Database must have a active Menu entry with a Catalog view!
Last edit: 3 years 9 months ago by Dirk.

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

More
3 years 8 months ago - 3 years 8 months ago #4942 by K.Mixalidis
Replied by K.Mixalidis on topic Url Differences from Module and Component
thank you! i fix it :)
Last edit: 3 years 8 months ago by K.Mixalidis.

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

Moderators: Dirkjoest