×
Pleas keep in mind that SPAM will be deleted instantly
Url Differences from Module and Component
- K.Mixalidis
- Topic Author
- Offline
Less
More
- Posts: 4
- Thank you received: 0
6 years 2 months ago - 6 years 1 month 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.
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: 6 years 1 month ago by K.Mixalidis.
Please Log in to join the conversation.
- K.Mixalidis
- Topic Author
- Offline
Less
More
- Posts: 4
- Thank you received: 0
6 years 1 month ago #4935
by K.Mixalidis
Replied by K.Mixalidis on topic Url Differences from Module and Component
Any suggestions please :)
Please Log in to join the conversation.
- Dirk
- Offline
Less
More
- Posts: 1222
- Thank you received: 226
6 years 1 month ago - 6 years 1 month ago #4938
by Dirk
Replied by Dirk on topic Url Differences from Module and Component
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
Have you selected the right JooDB database in your module configuration?
The Database must have a active Menu entry with a Catalog view!
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: 6 years 1 month ago by Dirk.
Please Log in to join the conversation.
- K.Mixalidis
- Topic Author
- Offline
Less
More
- Posts: 4
- Thank you received: 0
6 years 4 weeks ago - 6 years 4 weeks ago #4942
by K.Mixalidis
Replied by K.Mixalidis on topic Url Differences from Module and Component
thank you! i fix it :)
Last edit: 6 years 4 weeks ago by K.Mixalidis.
Please Log in to join the conversation.
Moderators: Dirk, joest