Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

JoomSEF and Joomla 1.5 native routing
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1
  • 2

TOPIC: JoomSEF and Joomla 1.5 native routing

Re:JoomSEF and Joomla 1.5 native routing 15 years, 8 months ago #6278

  • Denitz
Works well - but bug here!!!!

I have the menu item (DB fields are listed from jos_menu):
id: 150
alias: credit-information
link: index.php?option=com_comp&view=category&id=3

'id': parameter is listed in <url> section of XML file for the template of this view, so it is added in the "link"

I use JRoute::_('index.php?Itemid=150');

Without Artio the URL is /credit-information.html
With Artio the URL is /credit-information/1.html (my router adds "id" parameter to segments) - this is incorrect:

So if only Itemid parameter is used in query - Joomla doesn't run the component's router (tested - really doesn't) - but uses the "route" string from JMenu.

Artio runs the router on such queries (like 'index.php?Itemid=45')

Re:JoomSEF and Joomla 1.5 native routing 15 years, 8 months ago #6294

  • Denitz
Any news on that? This is serious bug and all menu items are displayed incorrecty!

Re:JoomSEF and Joomla 1.5 native routing 15 years, 8 months ago #6297

Hi Denitz,

I've been searching for my self in my sh404SEF component in Joomla, And I found at:
Settings --> Components A list of components.

I've disabled my ' jumi ' extension and now ITS GONE! :D
My URL's are like they used to be:
index.php?option=com_jumi&fileid=1 ect..

I hope this is a solution for you aswell!

Good luck with it.

Gr Mike

Re:JoomSEF and Joomla 1.5 native routing 15 years, 6 months ago #6730

  • Denitz
No, your case isn't related to this issue.

I tell that if we use JRoute::_(''index.php?Itemid=45'') the router.php isn't called, menu item alias (->path) is only used.

Look:
I have menu item to my component index view, alias is 'test'

Joomla shows this menu link like /test.html

Artio shows it like /test.html?view=index
Artio calls the router.php file of my extension on this JRoute call, while Joomla not.

or i.e. I have <url> section paramter in the XML file of layout for this view, so the real link is
index.php?option=com_ext&view=index&id=3&Itemid=3

Joomla shows this menu item as /test.html

Artio shows it like /test/3.html?view=index - it calls my router, it adds 'id' to segments and skips 'view'
Last Edit: 15 years, 6 months ago by .
  • Page:
  • 1
  • 2
Přihlášení uživatele Prázdný