Yeah, I am trying to not use nav man in smart edit as it seems to be 
additional work but this might be the only option. 

Currently looking into seeing if I can generate a 'draft' sitemap only when 
a page is created/removed/moved, or possibly just have a 
'regenerate navigation' button which the user would need to push once they 
need an updated nav in smart edit. 

Ill update once I get anything concrete

On Wednesday, 10 April 2013 15:29:59 UTC+1, Jian Huang wrote:
>
> Hi Tony,
>
> 1.  You mean .GetUrl() returns links to pages managed by Management 
> Server, but not to external links?  The general way is to have a redirect 
> page of master page type and then you have two options.
>
> a. do redirect (server side, javascript, or metafresh) when user land on 
> that page.  I recommend this method because it is much easier and put less 
> stress on Management Server.
>
> b. have elaborate rendertag if statements to figure out whether the linked 
> page is a regular page or redirect page, if redirect page, 
> .GetElementByName(stf_external_url).GetHtml()
>
> 2.  Sitemap placeholder outputs HTML (the default is 
> <table><tr><td></td></tr></table>), and I thought XSL is for XML, not 
> HTML.  So you just have to use the sitemap placeholder and change the 
> property within to output XML.  XSL should not be involved.
>
> PERFORMANCE NOTE: Not entirely sure how to handle the SmartEdit or Page 
> Preview scenario because by going with this method, for each page view, an 
> entire sitemap has to be generated (for the .NET control).  In that case, 
> navigation manager might actually sound much better in terms of performance 
> within SmartEdit or preview.
>
> Just my thoughts, best of luck.  Please write back on your findings.
>
> -Jian
>
>
> On Wednesday, April 10, 2013 7:45:52 AM UTC-4, Tony Gayter wrote:
>>
>> I'm looking to limit nav manager dependencies and just have reddot create 
>> a .net sitemap page to generate the navigation throughout the site.
>>
>> I can do this to create the navigation on the published site but there 
>> are a few issues in smart edit. Im currently using nav manager to generate 
>> the sitemap to start with.
>>
>> 1. Is there an easy way to get the internal links from rendertags? the 
>> .getUrl() just gets the external link
>>
>> 2. I found a post by Jian saying about using the sitemap placeholder for 
>> this sort of thing, however I would need it to output it as XML and 
>> as I've not used XSL (to transform) in over 7 years I'm reluctant to jump 
>> into this if I would be wasting my time, I've never used the sitemap 
>> placeholder so Im going to go look that up.
>>
>> Does anyone have any insight into doing nav this way (or with the sitemap 
>> placeholder)
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reddot-cms-users+unsubscr...@googlegroups.com.
To post to this group, send email to reddot-cms-users@googlegroups.com.
Visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to