Hi all at Phoca.
I have been using Phoca for my album for awhile now and just the last few days the layout has gone wild.
I have made some alterations to my site they are:
Upgraded Joomla to 1.5.18
Changed my template. I have been onto Shape5 and they say its probably a Phoca problem.
Whats happening is the images have dropped out of the boxes see http://www.kefalonianow.com/kefalonia-p ... skala.html
Any ideas
I am using Phoca version 2.5.5
Layout problem (just happened)
-
kef now
- Phoca Newbie

- Posts: 6
- Joined: 05 Jul 2010, 20:07
Re: Layout problem (just happened)
I have just updated to 2.7.3
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Layout problem (just happened)
Hi, did you check it with some standard template like rhuk_milkyway is? Can I see the site with rhuk_milkyway enabled?
If you find Phoca extensions useful, please support the project
-
kef now
- Phoca Newbie

- Posts: 6
- Joined: 05 Jul 2010, 20:07
Re: Layout problem (just happened)
HiJan wrote:Hi, did you check it with some standard template like rhuk_milkyway is? Can I see the site with rhuk_milkyway enabled?
Before I changed template it was OK. I have a problem with the milkyway template it will not load so I cannot let you see it with that, also my site will drop to bits with that template. Any change of template needs to be quick due to my visitors.
I can after looking at your profile pm you super admin login, then you can change template at will.
thanks for looking
-
kef now
- Phoca Newbie

- Posts: 6
- Joined: 05 Jul 2010, 20:07
Re: Layout problem (just happened)
I have been onto Shape5 and this is what they say
So they are saying its phoca layout problem.I am sorry but without being the developer of this component I wouldn't know what is causing the issue. Components should never rely on a template for css and should have their own css for issues like this. As I said above the component is using a lot of un-necessary calls for positions, floats, lefts, etc. You would need to contact the developer of this component to have this resolved, a component should work on all templates with no issues. You can also verify the css for the component on both installs to make sure they are the same.
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Layout problem (just happened)
Hi,
used code in Phoca Gallery is valid (there are some exceptions because of not stadard browsers like IE, etc.) but e.g. CSS is used this way:
Phoca Gallery is tested in many standard templates like rhuk_milkyway is and is working there without any problems.
So it is a common javascript and CSS problem. Joomla! CMS is very popular and includes a lot of extensions (include templates) and there are conflicts between different extensions (e.g. one extension is loading the same javascript library as a template - but both are different versions and this will then cause conflict - search Joomla.org forum where I have described here and where I have pasted a rule to load libraries only one time - rules for all developers)
No idea why you cannot switch to main standard template which is rhuk milky way, but enabling it, it can show us where the conflict is.
Jan
used code in Phoca Gallery is valid (there are some exceptions because of not stadard browsers like IE, etc.) but e.g. CSS is used this way:
It means, only parts of code which is in id "phocagallery" is affected. It means, Phoca Gallery does not influence any other parts e.g. in template on in other extension.#phocagallery .some-class
Phoca Gallery is tested in many standard templates like rhuk_milkyway is and is working there without any problems.
Every part of Phoca Gallery is necessary. E.g. there is used hack for vertical and horizonal centering the boxes. Some of browsers (IE6 -> IE8) don't know some CSS rules which then prevent from correctly displaying of e.g. vertical and horizontal centering of boxes. This is the reason why e.g. boxes have 3 divs. Mostly this is a problem, some people who don't know the browsers behaviour (IE6, IE7, IE8, Firefox, Chrome, Seamonkey, Safari, Opera, ...) think, 3 divs are unnecessary, etc. Yes they are, but only in case, all users will use only Firefox e.g.As I said above the component is using a lot of un-necessary calls for positions, floats, lefts
So it is a common javascript and CSS problem. Joomla! CMS is very popular and includes a lot of extensions (include templates) and there are conflicts between different extensions (e.g. one extension is loading the same javascript library as a template - but both are different versions and this will then cause conflict - search Joomla.org forum where I have described here and where I have pasted a rule to load libraries only one time - rules for all developers)
No idea why you cannot switch to main standard template which is rhuk milky way, but enabling it, it can show us where the conflict is.
Jan
If you find Phoca extensions useful, please support the project
-
kef now
- Phoca Newbie

- Posts: 6
- Joined: 05 Jul 2010, 20:07
Re: Layout problem (just happened)
The error I get when enabling the milkyway template is a blank page with the following text
Code: Select all
<link rel="stylesheet" href="/templates/rhuk_milkyway/css/- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Layout problem (just happened)
Hi, can I see the site, seems like there is some php error after adding some style to rhuk_milkyway and after this the script will end, so for getting more info you need to display error someway
on your server
https://www.phoca.cz/documents/16-joomla ... rs-on-site
https://www.phoca.cz/documents/16-joomla ... rs-on-site
If you find Phoca extensions useful, please support the project
-
kef now
- Phoca Newbie

- Posts: 6
- Joined: 05 Jul 2010, 20:07
Re: Layout problem (just happened)
OK I think I have figured it out, I have the Shape 5 CSS and JS Compressor on the site if I disable this all is fine. Back to Shape5
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Layout problem (just happened)
Ok
If you find Phoca extensions useful, please support the project