Welcome, Guest
Username: Password: Remember me
Pleas keep in mind that SPAM will be deleted instantly
  • Page:
  • 1

TOPIC: Url Differences from Module and Component

Url Differences from Module and Component 2 months 2 weeks ago #4907

  • theodoropoulou.dimitra23.gmail
  • theodoropoulou.dimitra23.gmail's Avatar Topic Author
  • Offline
  • Posts: 3
  • Thank you received: 0
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.

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

Last Edit: by theodoropoulou.dimitra23.gmail.

Url Differences from Module and Component 1 month 1 week ago #4935

  • theodoropoulou.dimitra23.gmail
  • theodoropoulou.dimitra23.gmail's Avatar Topic Author
  • Offline
  • Posts: 3
  • Thank you received: 0
Any suggestions please :)

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

Url Differences from Module and Component 1 month 1 week ago #4938

  • dirk
  • dirk's Avatar
  • Offline
  • Posts: 1003
  • Karma: 21
  • Thank you received: 179
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!

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

Last Edit: by dirk.

Url Differences from Module and Component 1 month 5 days ago #4942

  • theodoropoulou.dimitra23.gmail
  • theodoropoulou.dimitra23.gmail's Avatar Topic Author
  • Offline
  • Posts: 3
  • Thank you received: 0
thank you! i fix it :)

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

Last Edit: by theodoropoulou.dimitra23.gmail.
  • Page:
  • 1
Moderators: dirkjoest