Author
|
Message
|
Tore Skobba
|
Wednesday 26 November 2003 4:59:50 am
Hi all I have currently upgraded from EZ 3.2-1 to 3.2-3. Unfortunately this have led to several new bugs on my page/site. Most of them quite difficult to solve. Such as for instance: -Browsing to a page on the site results in correct layout when the page is viewed. -Search for the page and follow the search link results in missplaced layout. I cannot figure this out at all as both PAGES are based on the SAME LAYOUT and CONTENT (full view, content class=100), but they are displayed DIFFERENTLY depending on the LINK to the pages(i.e search link and site link)
Cheers Tore
|
Claus Jensen
|
Wednesday 26 November 2003 5:43:44 am
Yup!
I had several problem as well, one of them was a redirection which led to one of my stylesheets intead of /user/logout. Totally bizarre. However I just uncommented a line in a file. Check it out: http://ez.no/developer/ez_publish_3/forum/setup_design/cant_log_out#msg39212
regards, claÜs
|
Tore Skobba
|
Wednesday 26 November 2003 6:06:31 am
Hi Claus Thanks for the tip, I tried it. But it did not work. In case anyone wonders the link which are leding to the same content viewed with same view but displayed differently are: http://129.240.44.129/index.php/gs/about/administrative_partners__1/the_norwegian_trade_council_ (search link which is wrongly displayed) http://129.240.44.129/index.php/gs/content/view/full/100/ (browse link which is correctly displayed. Strangly both Internet Explorer and Mozilla show the search link wrong, while Opera show both links correct.
Cheers Tore
|
Claus Jensen
|
Wednesday 26 November 2003 6:25:58 am
I dont quite understand whats wrong here, but your content is different. Different node_id's (99, 100) and different classes (1 folder, and 29 something else). They should be displayed different? Have you tried det template debug setting in site.ini.append? Im sure its diffent templates beeing used.
regards, claÜs
|
Tore Skobba
|
Wednesday 26 November 2003 6:34:49 am
Hi Claus Thanks for taking the time. You are quite right, now there is different node id's. But that is because I tried to make a new better solution to circumvent the orginial problem. The problem was: A page listening all administrative partners is made up of a folder with several adm_partner objects as children, display of the page administrative partners is implemented with an template showing all adm_partner child objects. However, when searching it can find one of these adm_partner objects. which are not made to be displayed alone, i.e. they are part of a bigger page. To circumvent this the full view template for adm_partner is only a call on their parents full view display. i.e:
{let parent_node=fetch(content,node,hash(node_id,$$node.parent_node_id))}
{node_view_gui view=full content_node=$parent_node}
{/let} The problem is still there with or without the above solution, strangely it works fine in 3.2-1.
Cheers Tore
|
Claus Jensen
|
Wednesday 26 November 2003 6:53:40 am
I see, but isnt there a $ too much in this code? {let parent_node=fetch(content,node,hash(node_id,$$node.parent_node_id))} {node_view_gui view=full content_node=$parent_node} {/let}
Also I think you should look at this, and try it: http://ez.no/developer/ez_publish_3/forum/setup_design/having_problems_showing_articles_in_foler
Meaning: {node_view_gui view=full content_node=$parent_node} should be {node_view_gui view=full content_node=$parent_node:item} i think
cheers claÜs
|
Tore Skobba
|
Wednesday 26 November 2003 7:12:24 am
Hi Thanks again:). I fixed the extra "$". Using "$parent_node:item" does not work at all, remember here that parent_node is ONE node which is fetched (same as $node). I do not think this is a template error as for example searching for "Forny" (another administrative partner) works fine. 3 url now:)
Browse link: http://129.240.44.129/index.php/gs/content/view/full/100 Display fine
Search "Trade" link: http://129.240.44.129/index.php/gs/about/administrative_partners__1/the_norwegian_trade_council Display wrongly
Search "Forny" link: http://129.240.44.129/index.php/gs/about/administrative_partners__1/forny Display fine This combined with the fact that all works fine in Ez 3.2-1 makes this a problem I find hard to solve. Secondly it works differently in varying browsers (Mozilla and IE have wrong display, but Opera display all fine). But it seems as it is the search which lead to errors. So maybee anyone at EZ can answer if they have done anything with the search and search url since 3.2-1.
Cheers Tore
|
Marco Zinn
|
Wednesday 26 November 2003 3:23:17 pm
Hi,
I found, that some browsers prefer to have a / at the end of the URLs. You could try this (manually), and if this solves the problem, change the templates to concat a "/", when the Link URL is constructed.
Plus, maybe, you should check, if you have some problem with your URL aliases (do you arrive at the correct page (content) at all?) I was not able to check your links. Is this a public site?
Marco
http://www.hyperroad-design.com
|