I'm still not sure it will work because the render tags are being executed
in a Windows Service and don't have access to the HttpContext object.
Or that's my guess anyways - worth a try.
Conceptually though you're not really doing the right thing anyway - what
querystring are you trying to read? Runtime? SmartEdit? SmartTree? Preview?
PreExecute? RDExecute? They're all different.
I suspect you're trying to do something you simply can't do and you'd be
better off putting your question to the group by starting with what you're
actually trying to do.
Regards,
Richard Hauer
Hi guys,
something like...
Thanks guys... :)
Andry
--
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To post to this group, send email to reddot-c...@googlegroups.com.
To unsubscribe from this group, send email to
reddot-cms-use...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/reddot-cms-users?hl=en.
Hi Tony,
Yes, this is going to be for the audience to find pages based on the first letter of the page title...
Andry
--
You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/reddot-cms-users/-/4fkfS6ry02kJ.
I'm trying to build an A-Z index page. Something like:
http://find.curtin.edu.au/indexaz/index.cfm.
The query string will be on each link from A to Z. Ie. <a
href="?index=A">A</a> <a href="?index=B">B</a> and so on. The page will then
load the following navigation
<reddot:cms>
<if>
<query valuea="Context:CurrentIndex.Headline.Substring(Int:0,
Int:1).ToUpper()" operator="==" valueb="QueryString("index") here">
<htmltext>
<li><a href="<%!! Context:CurrentIndex.GetUrl() !!%>"><%!!
Context:CurrentIndex.Headline !!%></a></li>
<navigation:nextlevel>
</htmltext>
</query>
</if>
</reddot:cms>
The <li> will then be sorted using a javascript.
Doesn't sound like a good plan, does it... Any good advice on how I should
implement this?
Andry
Hi Tony,
Yes, what I mean with audience is the web users / visitors.
Sounds like a good idea. Can you refer me to a good script that does this?
Andry
From: reddot-c...@googlegroups.com [mailto:reddot-c...@googlegroups.com] On Behalf Of Tony Gayter
Sent: Monday, 14 November 2011 7:50 PM
To: reddot-c...@googlegroups.com
Subject: Re: RedDot <if> statement and querystring
what do you mean by audience though? Ill assume you mean the published site, if so why dont you output the list of pages in xml (for example) and build a page ro read that and do what you want with the results? Much easier
--
You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/reddot-cms-users/-/0KwxIME_YqEJ.
Hi Tony,
It doesn’t load J
Andry
From: reddot-c...@googlegroups.com [mailto:reddot-c...@googlegroups.com] On Behalf Of Tony Gayter
Sent: Monday, 14 November 2011 8:08 PM
To: reddot-c...@googlegroups.com
Subject: Re: RedDot <if> statement and querystring
Here is one I did http://www.scottish.parliament.uk/help/2394_2905.aspx
It is done using content containers and keywords, that way they can have a number of A-Z pages. Might be an easier way to go if you dont have many categories (An A-Z per category), it uses keywords to pull in pages.
But as this is for the external site what you were first trying to achieve wouldnt work anyway as you were running reddot code not published code. You will need to focus on outputting teh code you want to teh final page and not trying to get search functionality working un reddot. As Ricard says, it helps to start with what you're trying to achieve first :)
--
You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/reddot-cms-users/-/AuWu-EMGdMkJ.
Hi Richard,
Oh right... hmmm... how and I supposed to implement this function...
Andry
Thanks so much for your code... The problem is, the server is running cold
fusion... But hey... I'll give a go and see if asp will work...
Cheers mate!
The output from the script is pure HTML, since the code snippet I
provided needs to be preexecuted by the OpenText (RedDot) CMS within
the template... which obviously needs Classic ASP and/or Asp.Net to
run dependant on CMS version. You can probably use ColdFusion code to
do the work, since you can tell the CMS to run any code language
within the templates, but generally the CMS box already runs Asp so we
use both Asp and Asp .Net.
Jian's jQuery solution does work, however you don't get the A-Z
functionality without JS enabled. Generally, I think that's a bad
thing for universal readability and certain types of websites have to
meet certain levels of functional compliance without JS enabled.
Stu