Ive been using this technique for years now.. you can use it to check any placeholder for content (even text placeholders) <%
vbvariable="<!IoRangeConditional>True< !IoRangeRedDotMode>< ! IoRangeNoRedDotMode><%stf_placeholder%><!/IoRangeNoRedDotMode>< !/ IoRangeRedDotMode>< !/IoRangeConditional>" %> The variable is set to "True" when a value, page or content is assigned to the placeholder.. and empty if nothing has yet been assigned. Of course, what ever technique you chose to use check for the existance of a value, it will always be True when a page is open for editing. Cheers, Kim On Jul 18, 10:09 am, RedDotExpert <[email protected]> wrote: > Hi BjP, > > I believe Chandrakanth wants to display or perform additional > processing when anc is not empty. > > The best method I have found so far is to use the conditional > blockmark, hence making the page rendering faster and not to reply on > preexecution > > Please note this is pseudo code > > <blockmark conditional> > <%anc_link%> > > Maybe Fixed Text Here > > Or Placeholder with default text of " " so it will almost be non > empty > > <%txt_mytext%> > </blockmark conditional> > > On Jul 17, 5:33 pm, BjP <[email protected]> wrote: > > > Hi Chandrakanth > > > If an anchor isnt connected or assigned a url RD wont publish it > > anyway. > > > Regards, > > BjP > > > On Jul 16, 11:40 pm, Sids <[email protected]> wrote: > > > > <% > > > > Or even more not clickable as following: > > > > if "<%anc_Cond%>" <> "" then > > > Response.Write "<a href='"&<%anc_Cond%>&"'">" > > > else > > > 'do nothing > > > end if > > > > Response.Write "Anchor Text" > > > > if "<%anc_Cond%>" <> "" then > > > Response.Write "</a>" > > > else > > > 'do nothing > > > end if > > > > %> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/RedDot-CMS-Users?hl=en -~----------~----~----~----~------~----~------~--~---
