Friday 09 February 2007 7:09:18 am
hi, a client wants an eZ Publish site with a rather graphic-heavy header. they want a big flash header which will serve as main navigation toolbar. this header will do some animations on clicking on an item and will load the corresponding page. having a flash as navigator plus some animations means that if I do not use frames, it will be reloaded at every page thus getting a blank part of screen, and the animation would restart if I don't find a way to save the staus. anyway, the only option to actually not have a reload and keep the status and a smooth animation is to keep the header in a frame, and the content in another. I have read some topics here, like http://ez.no/community/forum/setup_design/problem_using_an_iframe , and I think that having the two siteaccesses could be the solution - but I have this problem: let's suppose I want to have my site at www.example.com. So I create the www.example.com siteaccess, and the (e.g. cframe.example.com one. www would load homepage loads the frames, the header and the homepage of cframe.example.com in the content frame. The problem is that the links that eZ generates for cframe.example.com are of the form http://cframe.example.com .... and that would show up on google, while of course I would love to have the www.example.com (sub)domain to be indexed. especially because the link showing up on google would load the cframe site, without the navigation header. changing the SiteURL parameter for the cframe siteaccess to www.example.com does not accomplish anything. the links are still rendered a cframe.example.com blah blah blah the only option I seem to come up to make it all work would be this ....
- use only one siteaccess
- pagelayout detects somehow whether the header is displayed or not
- if it isn't, load it up and store some variable (cookie ... maybe) - if not, just display the inner content I don't like this much since it assumes that the user agent must have cookies and javascript enabled; but I cannot think of an alternative. anyone can point me in the right direction? I think that if I was able to somehow make those cframe.example urls to change to www.example.com I would have solved my problem ... Cheers, Max
|