joomla prepends to 'path' - joomla

my wife have a joomla 2.5 site
She claims that she has done nothing except, installing and and subsequently uninstalling Koowa plugi, Ninja plugin and Ninjaboard component.
Anyway after that the joomla 'path' have changed such that between the domain name and the path rendered by HTML, the joomla server now seems to insert "/index.php" or "/index.php/menu-item-name"
for example clicking a link like the following:
<a href="images/some_folder/xxx.JPG">
points to something like: http://www.domain.contry/index.php/fun/images/some_folder/xxx.JPG
how to we change the 'global path settings' such that
<a href="images/some_folder/xxx.JPG">
points to
http://www.domain.contry/images/some_folder/xxx.JPG
NB: my joomla and php skills are very basic :)
Update:
I think the problem something like this:
all the image paths used to be 'absolute' and are now relative, so if I am in 'index.php/some-menu' and click 'images/xxx.jpg' then it resolves to 'index.php/some-menu/images/xxx.jpg', she has all her images in the image folder, is there some way make all image paths 'absolute' instead of relative in joomla?
because changing 'images/xxx.jpg' to '/images/xxx.jpg' with firebug fixes the problem...
if it is not possible in joomla... how bad do you think it is to:
download the sql database
and run a regex akin to
s/<.+?=\"(images)\/[\w\s]+?\.[\w\d]+)\".*?>/\/$1/g

Look in your global configuration under the Site tab for your SEO settings. Make sure you have URL rewriting enabled, and follow the directions in the tooltip to rename htaccess.txt (Linux servers) or web.config.txt (Windows servers) if necessary.
If you get a server error on the site at this point, try uncommenting RewriteBase / in .htaccess.

Related

ExpressionEngine images/fonts missing from subtemplates (template in template group)

I have set up a site with ExpressionEngine, and put the fonts and images folder in the root of the site, and they work absolutely fine for pages that are template group home pages (with the house icon) but they suddenly dont work on pages that are added to the same template group as new templates...
the paths look like this in the html:
href="fonts/Anybody.woff2" or url(img/header_stripes_light.svg)
where should I copy the fonts and images folders to make them also work in subtemplates? I couldn't find anything useful in their documentation about this issue.
That's an easy one! make those url's absolute and you're fine.
Do it like this: href="/fonts/Anybody.woff2" or url(/img/header_stripes_light.svg)
Your paths are relative to the page now, so without the initial "/"

Different domain causes issue in joomla module

I have a strange issue. When added a new domain to my site, "latest news enhaced" module started to appear truncated, it does not show the calendar and has a different style. For your reference : original installation http://myxolargos.gr/ilioupolis/
addon domain http://www.ilioupoli.gr/
I have tried to uninstall and install from new domain, but again it doesn't work properly in ilioupoli.gr It obviously has to do with a path somewhere?
Any ideas?
Thank you.
This has happened to me before. What fixed the problem for me was to turn "Search Engine Friendly URLs and Use URL Rewriting" off.
Navigate the site on the frontend, to the area affected.
Then turn "Search Engine Friendly URLs and Use URL Rewriting" on.
The issue is related to this stylesheets, one for each module:
/ilioupolis/modules/mod_latestnewsenhanced/stylemaster_238.css
/ilioupolis/modules/mod_latestnewsenhanced/stylemaster_239.css
/ilioupolis/modules/mod_latestnewsenhanced/stylemaster_240.css
Removing them from the original install removes the css rules that handle calendar date and position of the green text (like the new install). So check this files in the new install and you will find the problem.

Magento home page loading without css

http://skgowlar-001-site1.smarterasp.net/
Suddenly stopped working once installed new theme, just brings up page with no csss or formatting.
Have you changed the settings of your theme from admin? System > Configuration > GENERAL > Design
Also from what I see you have some misspelled links:
h:\root\home\skgowlar-001\www\site1\skin\frontend\base\default\css/print.css
This is a local link, probably should look like
http://skgowlar-001-site1.smarterasp.net/skin/frontend/base/default/css/print.css
and should point to your theme's folder, not base/default.
Try using Magento methods to get your URLs right: Mage::getUrl(), Mage::getBaseUrl() or look into Mage_Core_Helper_Url for more methods.

Fishpig's Magento WP Integration -- WP not using Magento Theme/Package

I've successfully installed Fishpig's Magento WordPress Integration extension. I followed the instructions where you install via Magento Connect and had no problems. This is by the way all on the development server which does not have Caching or Compiling enabled.
The Magento cart is installed in the webroot directory and WordPress is in subdirectory "wp" as stated in Fishpig's instructions. The Full Integration blog path is /blog.
PROBLEM:
When I visit the blog's page it is not using the Magento theme. I even set it to use the same layout (same as CMS's homepage) We have a custom Magento theme. Maybe there is something we are doing incorrectly Magento theme wise for Fishpig's extension not to work. Screenshots to come eventually but the host (DataGram) is down due to the flooding Downtown. Should be back hopefully today.
To clarify... WordPress is using its own database. In the Shop's admin panel->WordPress tab I setup Full Integration and set the path to "wp" and the blog path is blog.
So, now if I visit for example... example.com you are in the shop and if you visit example.com/blog you are in the fully integrated blog.
Bottom line is it seems to be configured fine in the admin panel. I am not requesting the blog page from the wp directory (I.E: example.com/wp) but from the fully integrated page (example.com/blog).
Our problem could be similar to what this person is experiencing:
Magento - FishPig Integration - Not getting correct template for /blog
Have a great weekend all!
Best Regards,
George
Huzzah looks like I got things working :-)
The culprit was that this file:
"app/design/frontend/default/eboost/layout/wordpress.xml"
^^ was pointing to the wrong template filename. Corrected and was good to go. Modified line was number 66.
Funny thing is that on the top of that XML file it states:
"
Option 1 - local.xml (recommended)
Create a file named local.xml in your custom theme's layout folder. You can then make changes to the layout there by
using the relevant layout handle. This allows you to leave this file intact and recieve new features
when upgrading the extension.
Option 2 - copy this file
Copy this file and it's contents to a new file in your custom theme's layout folder named wordpress.xml.
Each time you upgrade, you will need to check with your copy of the file and
the copy in app/design/frontend/base/default/layout/wordpress.xml for changes and merge any you find"
Now, as stated in my Original Posting I installed FishPig extension using their instructions: http://fishpig.co.uk/wordpress-integration/docs/installation-and-configuration.html
^^ Therefore I don't know why it is setup using Option 2. That wordpress.xml is in our theme's layout directory.
.
.
.
I feel I should also state the other changes I did even though it doesn't seem like it contributed to making it work. Just doing for completeness:
-- Renamed the subdirectory /wp to /wordpress and changed all references to dev.eboost.com/wp to dev.eboost.com/wordpress within the DataBase using http://interconnectit.com/124/search-and-replace-for-wordpress-databases/
-- Removed .htaccess from /wordpress folder
So bottom line is looks like it is working normally. We are now set for working on redesign for site.
--George
Have a look at this.
http://www.wellicious.com/gbren/wellblog
I also used Fishpig and it is working.
What do you mean by visiting the blog page? Do you request the blog page from the wordpress directory?
If so, it doesn't change its design.
You have to request the blog within your shop.

Magento Admin Panel Missing or Broken - See Screenshots

We were doing typical content edits and the admin panel had the regular functionality and styling.
When we finished and logged out and then in again....We got just a file tree...the links withing the tree just loop back to the original page when you click on them... There is no way to edit anything...Please Help!
Using Magento ver. 1.5.1.0
Thank you!
james
SCREEN SHOT: http://goo.gl/nhaJS
Did you enable CSS/JS minification recently? The default functionality to handle this can be dodgy if your settings aren't just right. My reasoning with this answer would be that it appears you aren't loading any CSS or JS correctly.
Try this:
SELECT * FROM core_config_data WHERE path LIKE '%merge%';
You should get two results. Try setting them to 0 if they are enabled, and then remove your /var/ folder to clear cache.
Further troubleshooting would include disabling modules if you had installed any recently. Barring that, take a gander at Firebug and look at which paths are being built to your CSS/JS files. That should give us a big clue.
Erase everything in /var/cache/ and /var/session/
Looks like you may have left the trailing slash off of your domain name in your Base URL. Go to System -> Configuration -> General -> Web -> Unsecure -> Base URL and make sure it ends with /. Repeat for Secure.
Check file permissions on the media and var directories. They need to be writable by the webserver user. You probably enabled merging of JS and CSS and apache can't write to media/css media/css_secure and/or media/js

Resources