Search…

X3 Photo Gallery Support Forums

Search…
 
calimero
Topic Author
Posts: 23
Joined: 09 Jan 2011, 13:00

deep-links to category

10 Jan 2011, 12:20

hi there,

i'm struggling with the deep-links to open an existing folder of the gallery.
using the
Code
?startpath=content/category/ 
with ending slash works for the first call only.
having the gallery opened and then calling a sencond gallery leads to an empty page, since startup is set to false in config.

the other try i've made was to access the folder via
Code
 ...gallery/#/content/category/
as for both options category is replaced to a valid category-name.

any ideas?
thanks in advance!
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: deep-links to category

10 Jan 2011, 21:20

Do you have a link to check? Bit hard to imagine what are you making there.
firedev.com
 
calimero
Topic Author
Posts: 23
Joined: 09 Jan 2011, 13:00

Re: deep-links to category

17 Jan 2011, 12:08

sure: http://www.falkemeier.de

at the moment, i've removed the custom menu, because of these problems. would be nice if you had a hint! if you need further infos or a login, give me a note!

thanks!
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: deep-links to category

17 Jan 2011, 22:01

First of all, I checked your source and you have some incomplete code:
Code
<frame name="HUD" target="top" src="pages/template/blind.htm" marginwidth="0" marginheight="0" scrolling="auto" noresize>
<frame name="images" src="pages/check.htm"
See the 2nd line? It just ends like that without any closing > tag or any attributes. Also the first line ends with "noresize" which looks like an attribute name with no data. This may not have anything to do with your problem, but I thought I should mention it ... It is certainly related that you are using frames.

Now, I am not quite sure about your setup, but but you have disabled SWFAddress. With this disabled, the #/links will certainly not work ...

I tried to use the startpath, and it works fine here:
http://www.falkemeier.de/gallery/?start ... t/animals/

I am not quite sure what is not working that is supposed to work ... I can tell you beforehand that using an iframe may complicate things depending on what you are trying to do.
 
calimero
Topic Author
Posts: 23
Joined: 09 Jan 2011, 13:00

Re: deep-links to category

23 Jan 2011, 07:50

See the 2nd line? It just ends like that without any closing > tag or any attributes. Also the first line ends with "noresize" which looks like an attribute name with no data. This may not have anything to do with your problem, but I thought I should mention it ... It is certainly related that you are using frames.
indeed, the closing tag has been lost :( the "noresize" attribute is instead ok.
anyway, startpath now works fine, but some other struggles appeared:

i've extended the url with a stylesheet-parameter, but it only works on every second attempt.
so if you click one of the nav-bubbles, category and css are provided via params, like

http://www.falkemeier.de/gallery/?start ... orless.css

if you open

http://www.falkemeier.de/gallery/?start ... =spots.css

after that, the css of the prior category is applied.

launching

http://www.falkemeier.de/gallery/?start ... =spots.css

a second time, the correct css is used. differences should appear in color of title and exif-model-value, related to bubble-color of navigation ( you can see which color is set for each category launching the gallery with the menu via

http://www.falkemeier.de

i can reproduce this behaviour with IE and firefox, regardless which cache-settings are set and not only launching the categories from flash-menu, but also as direct link as posted above.

help would be appreciated. thanks a lot!
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: deep-links to category

26 Jan 2011, 09:41

Sorry, where did you get the concept "stylesheet=colorless.css" from? Where are these css files stored? Imagevue loads the imagevue.css in your theme folder, and does not pass on this parameter that you have forwarded in the URL ...

If you are going to use different styles for different URLs/galleries, you need to create a new theme and change the stylesheet in the new theme. Then you can do:

?theme=theme1
?theme=theme2

?stylesheet=stylesheet.css does not work ...
 
calimero
Topic Author
Posts: 23
Joined: 09 Jan 2011, 13:00

Re: deep-links to category

01 Feb 2011, 14:34

Sorry, where did you get the concept "stylesheet=colorless.css" from? Where are these css files stored? Imagevue loads the imagevue.css in your theme folder, and does not pass on this parameter that you have forwarded in the URL ...
sure, it doesn't? ;) it works as mentioned. thought it would be able to pass the param, since it is listed in admin-section as Url_param... ( globalpath,theme,contentfolder,startpath,startmode,language,maincontrols,stylesheet ).

perhaps i've misunderstood this, but as written: it works ( even if you have to reload ). anyway, i'll the way you described!
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: deep-links to category

02 Feb 2011, 01:34

Hmm, you may be right that it is supposed to work. However, it seems like even when you add ?stylesheet=colorless.css, it still loads the default spots.css instead. So I can't see that it is working unfortunately. Setting a separate theme will though ...
 
calimero
Topic Author
Posts: 23
Joined: 09 Jan 2011, 13:00

Re: deep-links to category

03 Feb 2011, 12:54

However, it seems like even when you add ?stylesheet=colorless.css, it still loads the default spots.css instead. So I can't see that it is working unfortunately.
reload it twice :)
launching http://www.falkemeier.de/gallery/?start ... =spots.css a second time, the correct css is used.
anyway - like i've posted: i'll try your suggestion, when applying the version 2.6!
 
calimero
Topic Author
Posts: 23
Joined: 09 Jan 2011, 13:00

Re: deep-links to category

05 Feb 2011, 19:00

works fine! thanks ;)