RE: Get Image in Navigation Template

2013-03-21 Thread Richard Hauer
/r/reddot ? Or /r/opentextwebsolutionsgroupmanagementserver ? -Original Message- From: "Jian Huang" Sent: 21/03/2013 8:18 AM To: "reddot-cms-users@googlegroups.com" Subject: Re: Get Image in Navigation Template Wish there is an upvote button for google groups. T

Re: Get Image in Navigation Template

2013-03-21 Thread Mario Brandt
In fact I keep the number of files on a single navigation list low to avoid such problems. Indeed that is not always an option, but I try to parent my customers ;-) However I will use the new function! Cheers On 20 March 2013 22:18, Jian Huang wrote: > Wish there is an upvote button for google g

Re: Get Image in Navigation Template

2013-03-20 Thread Jian Huang
Wish there is an upvote button for google groups. This post desires one. It is a common performance issue I find in navigation code from customers. On Wednesday, March 20, 2013 2:48:33 PM UTC-4, Hilmar Bunjes wrote: > > Hi Mario, > ok, if there is no difference for you then you can keep it. I h

Re: Get Image in Navigation Template

2013-03-20 Thread Hilmar Bunjes
Hi Mario, ok, if there is no difference for you then you can keep it. I have seen bad performance especially with large navigation areas (>>100 links) and a lot of render tags (hide page, reference another page, display link differently, etc.). Because of that behavior I always suggest to use t

Re: Get Image in Navigation Template

2013-03-20 Thread Mario Brandt
Hi Hilmar, so far using ...ByName() made no speed difference for me. If there was an increasement, then only in ms. Cheers Mario Am Mittwoch, 13. März 2013 schrieb Hilmar Bunjes : > And don't forget to use > > GetElementByName() instead of Elements.GetElement() if you want to improve > Performan

Re: Get Image in Navigation Template

2013-03-13 Thread Hilmar Bunjes
And don't forget to use GetElementByName() instead of Elements.GetElement() if you want to improve Performance in your projects (at least of you use a current V10 or V11 system, was introduced in V10 SP1 HF1). Best, Hilmar Am Mittwoch, 13. März 2013 09:44:37 UTC+1 schrieb Mario: > Thanks ,

Re: Get Image in Navigation Template

2013-03-13 Thread Mario Brandt
Thanks , that works! Mario Am Mittwoch, 13. März 2013 schrieb Wolfgang Roiter : > Hi Mario, > > I once stumpled upon a similar problem and found out, that the element > that you would like to access, must be present in any template that is used > when navigation manager loops through the page hi

Re: Get Image in Navigation Template

2013-03-13 Thread Wolfgang Roiter
Hi Mario, I once stumpled upon a similar problem and found out, that the element that you would like to access, must be present in any template that is used when navigation manager loops through the page hierarchy. Please also add "Str:" when using element names: GetElement(Str:element_name) R

Re: Get Image in Navigation Template

2013-03-06 Thread Joel Kinzel
Mario, it is similar to what you see written there. I'm using the following to get images: <%!! Context:CurrentIndex.Page.Elements.GetElement(img_menuThumb).GetHtml() !!%> On Tuesday, January 8, 2013 9:49:17 AM UTC-6, Mario wrote: > > Hi, > I already read > https://groups.google.com/forum/?

Get Image in Navigation Template

2013-01-08 Thread Mario Brandt
Hi, I already read https://groups.google.com/forum/?fromgroups=#!searchin/RedDot-CMS-Users/rendertag$20image|sort:date/reddot-cms-users/GTnM7wPaXFI/GWSa1TsW2vwJ But is there a way to get the content of an image in the navigation manager, since <%!! Context:CurrentPage.Elements.GetElement(img_dhtm