There was a discussion about that
http://markmail.org/message/3x43ymhcpxfp4djp#query:+page:1+mid:arbxfgawqfaej5ny+state:results
Cheers
Mario
On 6 May 2014 00:18, Joel Kinzel joelkin...@gmail.com wrote:
All:
I'm attempting to create a support form within one of my content classes so
that my
Hi Luca,
Can you post more code because from your comment, you are using this inside
a content classes template, not a navigation template. Hence, you can and
are using placeholder like %StoryBlurb%, then why are you using the
aforementioned code? Unless you are assigning that to a variable
Hi Joel,
Where will the end user activating the form from? Published site or inside
CMS?
If inside CMS, you can use RQL, or Session variable, or JavaScript grabbing
text from CMS UI.
-Jian
On Tuesday, May 6, 2014 7:18:07 AM UTC-4, Mario wrote:
There was a discussion about that
Hi Jian,
That's exactly right.
The code is inside preexecute blocks and looks like:
OGDescription = %!!
Escape:HtmlEncode(Context:CurrentPage.Elements.GetElement(StoryBlurb).Value)
!!%
and then OGDescription is used somewhere else, not really sure.
The problem seems to have actually gone
If you are adding it to pre-execution code I guess you really just want to
escape the text? Why don't you try just the element to specify this? Pretty
sure this works.
OGDescription = %!! Escape:HtmlEncode(%StoryBlurb%) !!%
On Tuesday, May 6, 2014 12:00:53 PM UTC-4, Luca Loguercio wrote:
Hi
Mario: Great to know, but we don't want to use pre-execute at all (we have
a very large installation and customer base and doing so would be
detrimental to performance).
Jian,
It will be inside the CMS. I saw that there is a project session variable,
but only the GUID is available. I'll
Hi Joel,
You can use JavaScript to send and parse RQL, all my plugins are using this
method
https://github.com/jhuangsoftware/j-rql-connector-https
For example, AutoFileName, a plugin that automatically set headline as
published file name upon viewing the page first time