Home » Forum
NoNumber!

Joomla!® Websites & Extensions
development  -  support  -  consultancy

I try to respond within 48 hours (excluding weekends).
If I haven't responded by then, feel free to post a reminder or bug me via email.

My last reply was: 3 Hours, 49 Minutes ago.

Welcome, Guest
Please Login or Register.    Lost Password?

URL assignment doesn't work in 1.9.1
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: URL assignment doesn't work in 1.9.1
#9664
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.
yes number
Posts: 28
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#9665
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.
Peter van Westen
Admin
Posts: 9169
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
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.
 
#9666
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.
yes number
Posts: 28
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#9667
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...
Peter van Westen
Admin
Posts: 9169
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
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.
 
#9668
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?
yes number
Posts: 28
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#9669
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.
yes number
Posts: 28
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#9670
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?
Peter van Westen
Admin
Posts: 9169
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
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.
 
#9672
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
yes number
Posts: 28
User OfflineClick here to see the profile of this user
Last Edit: 2010/06/26 16:12 By peter.
The administrator has disabled public write access.
 
#9674
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...
Peter van Westen
Admin
Posts: 9169
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
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.
 
#9676
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.
yes number
Posts: 28
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#9677
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.
Peter van Westen
Admin
Posts: 9169
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
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.
 
#9678
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?
yes number
Posts: 28
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#9679
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' );
Peter van Westen
Admin
Posts: 9169
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
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.
 
#9680
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
yes number
Posts: 28
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#9681
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
Paul Hutchins
Posts: 1
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#9685
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....
Peter van Westen
Admin
Posts: 9169
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
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.
 
Go to topPage: 1
Moderators: Peter van Westen
hosting joomla
Open Source Training | Online Joomla! Training and Support
MaxCDN | Content Delivery Network | Accelerate your site to the max