English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?

Theme in Subsite creates wrong paths to JS/CSS
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Theme in Subsite creates wrong paths to JS/CSS
#11677
Theme in Subsite creates wrong paths to JS/CSS 11 Years, 1 Month ago Karma: 0
Hello,

I have a fresh Joomla 2.5.14 installation with JMS 1.3.18. Patches are installed.

I have a YooTheme and Widgetkit installed and on the slave-site they produce absolute paths for Javascript-Files.

I had to add the following to warp/src/Warp/Helper/PathHelper.php in the Theme, to remove the Document Root:
$url = str_replace($_SERVER['DOCUMENT_ROOT'], '', $url);

It seems to work now but it's not ideal for updates and so I would like a longterm solution.

Is this a bug in the theme or an issue with Multisites?

Kind regards

-Stephan
iage
Junior Boarder
Posts: 23
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#11683
Re: Theme in Subsite creates wrong paths to JS/CSS 11 Years, 1 Month ago Karma: 54
This is a bug in the WARP that Yoothemes never fixed.
This is the reason why we have created a product "Patches for Yoothemes" to fix the WARP bug in each themes and components.

See www.jms2win.com/en/joomla-multisite?page...46&category_id=1

As WARP is included in each themes and product, verify in our extension that the themes or component that you want to have the patch is effectivelly present in our product for the correct joomla version.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla