Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

url not right

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 4 months ago #138938 by Krikor Boghossian
Replied by Krikor Boghossian on topic url not right
Ok, noted. Please allow some time for a solution.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Aaron Healey & Frank Clark
  • Aaron Healey & Frank Clark's Avatar Topic Author
  • Offline
  • Premium Member
More
10 years 4 months ago #138939 by Aaron Healey & Frank Clark
Replied by Aaron Healey & Frank Clark on topic url not right
also what about the admin comments

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 4 months ago #138940 by Krikor Boghossian
Replied by Krikor Boghossian on topic url not right
I am not sure I quite follow you on this one.
If you are reffering to the comments made by the admin, then you can safely delete them.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Aaron Healey & Frank Clark
  • Aaron Healey & Frank Clark's Avatar Topic Author
  • Offline
  • Premium Member
More
10 years 4 months ago #138941 by Aaron Healey & Frank Clark
Replied by Aaron Healey & Frank Clark on topic url not right
i have looked in comments and there are none there but they do remain on the website

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 4 months ago #138942 by Krikor Boghossian
Replied by Krikor Boghossian on topic url not right
Try clearing both your Joomla! and browser cache.
Also you might want to delete these items as well.

Finally if you are seeing them in a recent comments module, you can turn off its cache from the module's advanced settings.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 4 months ago - 10 years 4 months ago #138943 by Krikor Boghossian
Replied by Krikor Boghossian on topic url not right
(function($){
	$(window).load(function(){
	
		$('.programBody .avatar img').each(function(){
				var str = $(this).attr('src');
				var url = str.replace('/URL YOU WANT GONE/', '');
				$(this).attr('src', url);				
		});
		
	});
})(jQuery);

Use this snippet (paste it in your custom.js file) to clean up Radiojar's URLs.
The issue was caused by Joomla!'s router replacing Radiojar's code. So the only solution would be a JS script, since neither Joomla!'s code nor Radiojars can be altered.

Simply replace /URL YOU WANT GONE/ with the url you want eg: http://localhost/joomla/.
Remember to do the same when you push the site live.

If you want to use this snipper for other modules as well, copy it and change
$('.programBody .avatar img').each(function(){

to:
$('.YOUR_MODULE_SUFFIX img').each(function(){

eg:
(function($){
	$(window).load(function(){
		
		//program module
		$('.programBody .avatar img').each(function(){
				var str = $(this).attr('src');
				var url = str.replace('/URL YOU WANT GONE/', '');
				$(this).attr('src', url);				
		});
		
		//another radiojar module
		$('YOUR MODULE SUFFIX img').each(function(){
				var str = $(this).attr('src');
				var url = str.replace('/URL YOU WANT GONE/', '');
				$(this).attr('src', url);				
		});

		
	});
})(jQuery);

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum