|
URL assignment doesn't work in 1.9.1 1 Year, 7 Months ago
|
|
|
I can reproduce it like this:
Exclude Non-Sef match: option=com_content&view=article
Joomla SEF is turned off, no SEF extensions installed. This is localhost and Joomla 1.5.17
I thought with the above rule, a module would be "turned off" if any article is displayed. But this doesn't work. I suspect it is a bug in 1.9.1?
Please advise.
|
|
|
|
|
|
|
Re: URL assignment doesn't work in 1.9.1 1 Year, 7 Months ago
|
|
|
The Non-SEF field is used when SEF is not turned on.
The SEF field is used when SEF is turned on.
Seeing you do have SEF turned on, the Non-SEF field is ignored and AMM will use the SEF field to look for URL matches.
|
|
|
|
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
|
|
|
Re: URL assignment doesn't work in 1.9.1 1 Year, 7 Months ago
|
|
I said "Joomla SEF is turned off, no SEF extensions installed." This should imply that SEF is turned OFF  The rule was entered in the Non-Sef field.
|
|
|
|
|
|
|
Re: URL assignment doesn't work in 1.9.1 1 Year, 7 Months ago
|
|
This simply means I cannot read. If only I could fix my personal bugs
Anyway, with this in the field 'option=com_content&view=article', all urls that have that in it should not show the module.
Could you give me admin access and a link to the page where you have this module showing where it shouldn't?
Then I can look into this...
|
|
|
|
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
|
|
|
Re: URL assignment doesn't work in 1.9.1 1 Year, 7 Months ago
|
|
|
No problem, that's why I put a smilie in my response.
Unfortunately it is on my local test site. Is there a way how I could debug this myself (or turn on a trace) and post the information here?
|
|
|
|
|
|
|
Re: URL assignment doesn't work in 1.9.1 1 Year, 7 Months ago
|
|
|
By the way, I also tried to make AMM the first and then the last plugin. Didn't seem to make a difference.
|
|
|
|
|
|
|
Re: URL assignment doesn't work in 1.9.1 1 Year, 7 Months ago
|
|
|
Can you give some (local) urls (as an example) where the module does and does not show?
|
|
|
|
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
|
|
|
Re:URL assignment doesn't work in 1.9.1 1 Year, 7 Months ago
|
|
Here is an example link
http://127.0.0.1/TestDemo/index.php?option=com_content&view=article&id=1&Itemid=12
I tried a few modules. Including
mod_mainmenu
option=com_content&view=article
|
|
|
|
Last Edit: 2010/06/26 16:12 By peter.
|
|
|
Re:URL assignment doesn't work in 1.9.1 1 Year, 7 Months ago
|
|
|
Yep, found the bug... I will send you a new version to try out...
|
|
|
|
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
|
|
|
Re:URL assignment doesn't work in 1.9.1 1 Year, 7 Months ago
|
|
Yes, 1.9.2 fixed it  Thanks!
Now one more question, but is probably a feature request?
You mentioned that when SEF is turned that the Non-Sef field is ignored? Is there a way around that? It is much easier to match based on nonSEF URLs.
|
|
|
|
|
|
|
Re:URL assignment doesn't work in 1.9.1 1 Year, 7 Months ago
|
|
|
Well, that was my initial idea. To just use non-sef matching.
But it turns out that it is impossible for AMM (or any other extension) to get the non-SEF equivalent of a SEF url when SEF is turned on.
It can get close, but not exact. And you need it exactly to be of any use.
So the SEF field is the most straight-forward thing I could think of to overcome this problem.
|
|
|
|
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
|
|
|
Re:URL assignment doesn't work in 1.9.1 1 Year, 7 Months ago
|
|
|
Ok, I understand.
Is even the PHP section useless in this case?
|
|
|
|
|
|
|
Re:URL assignment doesn't work in 1.9.1 1 Year, 7 Months ago
|
|
No, it isn't useles, what you could do is this:
return ( JRequest::getCmd( 'option' ) == 'com_content' && JRequest::getCmd( 'view' ) == 'article' );
|
|
|
|
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
|
|
|
Re:URL assignment doesn't work in 1.9.1 1 Year, 7 Months ago
|
|
Oh, I actually tried that one already, but didn't work. Trying again right now.
Ah, I see that your fix also fixed that problem 
|
|
|
|
|
|
|
Re:URL assignment doesn't work in 1.9.1 1 Year, 7 Months ago
|
|
|
Where can I download 1.9.2 from? I have spent the weekend trying to get this to work for me. Arghhhhhhhhhhhhhh! I guess it means I wasn't doing anything wrong.
Cheers,
Paul
|
|
|
|
|
|
|
Re:URL assignment doesn't work in 1.9.1 1 Year, 7 Months ago
|
|
|
v1.9.2 is still in development. Not yet public. But will probably be released tomorrow....
|
|
|
|
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
|
|
|