Page 1 of 1

deep-links to category

Posted: 10 Jan 2011, 12:20
by calimero
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!

Re: deep-links to category

Posted: 10 Jan 2011, 21:20
by Nick
Do you have a link to check? Bit hard to imagine what are you making there.

Re: deep-links to category

Posted: 17 Jan 2011, 12:08
by calimero
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!

Re: deep-links to category

Posted: 17 Jan 2011, 22:01
by mjau-mjau
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.

Re: deep-links to category

Posted: 23 Jan 2011, 07:50
by calimero
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!

Re: deep-links to category

Posted: 26 Jan 2011, 09:41
by mjau-mjau
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 ...

Re: deep-links to category

Posted: 01 Feb 2011, 14:34
by calimero
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!

Re: deep-links to category

Posted: 02 Feb 2011, 01:34
by mjau-mjau
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 ...

Re: deep-links to category

Posted: 03 Feb 2011, 12:54
by calimero
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!

Re: deep-links to category

Posted: 05 Feb 2011, 19:00
by calimero
works fine! thanks ;)