Skip to content
Home
News
Links
Gallery
Forum
Search
FAQs
Home
Forum
zOOM Gallery OpenSEF extension
Bugs
sef_ext.php gives precedence to unpublished menu item
Llama Council Community
User Info & Key Stats
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
May 15, 2008, 08:12:40 PM
401
Posts in
77
Topics by
127
Members
Latest Member:
Janet
News:
Llama Council, it's new, it's cool.
Llama Council Community
zOOM Gallery OpenSEF extension
Bugs
sef_ext.php gives precedence to unpublished menu item
« previous
next »
Pages:
[
1
]
Author
Topic: sef_ext.php gives precedence to unpublished menu item (Read 1676 times)
«
on:
June 12, 2007, 07:42:14 AM »
harikaram
Newbie
Posts: 2
Karma: +0/-0
sef_ext.php gives precedence to unpublished menu item
Hi,
I couldnt get the extension to work at all and after much digging I realised that it was ignoring the menu item to which zOOm was published due to the fact I had an older menu item using zOOm which I had deleted. I changed line 138-ish in sef.rewriter.php:
$query = "SELECT id FROM #__menu WHERE link = 'index.php?option=com_".$component."'
AND published = 1
";
by adding the published bit. On this note, shouldn't it be possible to have the item published multiple times in different menus and still have it work?
Also this code seems redundant given the code above it:
if (ereg( '&Itemid=([0-9]+)', $url, $matches )) {
$menu_id = $matches[1];
}
which actually worked in my setup.
Is the extension still an active project btw?
Cheers
Harikaram
Logged
Reply #1
«
on:
June 13, 2007, 03:33:55 AM »
Darren996
Administrator
Full Member
Posts: 189
Karma: +1/-0
Re: sef_ext.php gives precedence to unpublished menu item
In the subject you say it sef_ext.php that is broken but in the body you say it's sef.rewriter.php that you changed? Sef.rewriter.php is not my code, only sef_ext.php. I don't think you should be changing sef.rewriter.php anyway. I imagine you just need to empty your trash or something.
This is still an active project. It appears that zOOm Gallery is dead and OpenSEF is dead so this project will die. If anyone has any legitimate bugs I will fix them if I can.
Logged
Reply #2
«
on:
June 13, 2007, 04:36:54 AM »
harikaram
Newbie
Posts: 2
Karma: +0/-0
Re: sef_ext.php gives precedence to unpublished menu item
Oh my apologies you are correct.
My download of sef_ext.php was missing like 4 lines off the end though, incl. some curly braces and semicolons.
OpenSEF is dead? Shame, seems like a good component.
Logged
Reply #3
«
on:
June 13, 2007, 01:48:04 PM »
Darren996
Administrator
Full Member
Posts: 189
Karma: +1/-0
Re: sef_ext.php gives precedence to unpublished menu item
Joomla 1.5 has friendly URLs built right in.
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
zOOM Gallery OpenSEF extension
-----------------------------
=> FAQ
=> General Questions
=> Bugs
===> zOOm Gallery Bugs
=> The Llama Locker
-----------------------------
General Category
-----------------------------
=> Llama Veal
=> The Intolerance Zone
=> Llama Troubles...Strange happenings
=> Centre of Detention
=> Llamas and Pirates
=> Suggest a new category.
=> Volunteer!
=> Llama Recipes
=> General Discussion
=> The Vicuna Vault