- Posts: 136
COMMUNITY FORUM
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
- Aaron Healey & Frank Clark
-
Topic Author
- Offline
- Premium Member
why does this url become http://localhost/joomla/http://www.radiojar.com/shows/melody-tours-unltd/
when it will never even get to a page that exists
cheers
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Can you point me where this is happening?
A custom regex solution will do the trick.
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
-
Topic Author
- Offline
- Premium Member
- Posts: 136
Please Log in or Create an account to join the conversation.
- Aaron Healey & Frank Clark
-
Topic Author
- Offline
- Premium Member
- Posts: 136
Please Log in or Create an account to join the conversation.
- Aaron Healey & Frank Clark
-
Topic Author
- Offline
- Premium Member
- Posts: 136
"Vel augue aenean scelerisque sagittis vehicula turpis egestas lobortis condimentum vitae purus cursus, ullamcorper primis vulputate pellentesque scelerisque nullam etiam donec massa quisque."
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
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
-
Topic Author
- Offline
- Premium Member
- Posts: 136
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
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
-
Topic Author
- Offline
- Premium Member
- Posts: 136
defibradio.co.uk/joomla/index.php?option=com_k2&view=item&id=23:hastings-pirate-day&Itemid=119
scroll down and you see comment from administrator
Please Log in or Create an account to join the conversation.
- Aaron Healey & Frank Clark
-
Topic Author
- Offline
- Premium Member
- Posts: 136
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
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
-
Topic Author
- Offline
- Premium Member
- Posts: 136
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
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
-
Topic Author
- Offline
- Premium Member
- Posts: 136
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
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
-
- Offline
- Platinum Member
- Posts: 15920
(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.