Regex, verbatim string literals, list

2010-11-04 Thread Kristaps Karlsons
Hi, list. I'm currently developing rss feed for our homepage. The problem we're having is - we need to replace description to show images properly in rss. Currently I'm stuck here: <% string descr; // define string descr outside of loop %> <%list_nextLevel%>< !/IoRangeRedDotMode> http:

Re: Regex, verbatim string literals, list

2010-11-04 Thread reddotrich
Hi Kristaps, We had the same issue getting them into c# strings, in the end we went for: string descr = @"<%!! Escape:HtmlEncode(Context:CurrentPage.Elements.GetElement(String:text).Value) !! %>"; which seems to work well for us, we do of course have to unencode it later. Rich On Nov 4, 11:58 

Re: Regex, verbatim string literals, list

2010-11-04 Thread Kristaps Karlsons
Hi, Rich. Unfortunately it returns nothing. Do I have to wrap it with or change Context (as you see, I'm in a list_nextLevel loop)? I haven't used render tags previously. Thank you. On Thu, Nov 4, 2010 at 2:41 PM, reddotrich wrote: > Hi Kristaps, > > We had the same issue getting them into c#

Re: Regex, verbatim string literals, list

2010-11-04 Thread reddotrich
Hi, Not used it in a loop like that, but you won't need the tags as it has the <%!! instead. You can look it up in the Navagion Manager PDF for clarification. Which reminds me, for this to work you will need Nav Man turned on. Rich On Nov 4, 12:59 pm, Kristaps Karlsons wrote: > Hi, Rich. > >

Image placeholder not restricted to a single folder

2010-11-04 Thread bobbykjack
Using RedDot CMS 7.5, I can't get an image placeholder to accept images from more than one folder. The placeholder setup in the template requires a folder to be specified. When the element is edited, asset manager defaults to this folder. Although there is a 'switch folder' link, clicking this just

Preexecute Tags

2010-11-04 Thread Joe
Is it possible to place headlines or standard fields between preexecute tags? Thanks -- 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-cms-us...@googlegroups.com. To unsubscribe from this group, sen

Re: Image placeholder not restricted to a single folder

2010-11-04 Thread Jian Huang
Hi Bobby, If the asset manager folder is using file system storage instead of database storage, you can create subfolders under the current folder. However, the subfolders are limited to 1 level below parent folder. Possible asset manager structure: Images Department A Images Department B Ima

Re: Preexecute Tags

2010-11-04 Thread Jian Huang
Hi Joe, Yes, after all, that is how to pass placeholder value to variables for preexecution, either via C#, ASP, coldfusion, etc. However, please keep in mind that the resulting preexecution must be valid and free of syntax error. Example: C# string myString = "<%stf_my_standard_field%>"; Resu

Re: Preexecute Tags

2010-11-04 Thread kimdezen
The only safe way to assign a placeholder value to a variable within a preexecution script block is to return the value via RQL. A pain to do, but its the only safe bet if your your placeholder is either a text/standard field - and contains quotes. On Nov 5, 9:35 am, Jian Huang wrote: > Hi Joe