I would suggest not routing to edit via form. To do so, you have to
set a session variable that is the page guid. Once you do that, RedDot
gets a little confused if you try to edit elements on the existing
page (not the page you edited via form) and you could cause some
issues. Of course, if you manage it correctly, it should be fine. Here
is what I used:
I had an ASP file created with the following that just opens up a
window for editing via form.
Session("EditPageGuid") = Request("editpageguid")
%>
<script>
window.open('/CMS/ioRDLevel1.asp?
Action=GetElementsPageFormData&CalledFromRedDot=1&DummyRefreshTime=1226367506390',
'LaunchViaForm', 'width=650,height=550');
</script>
<%
To set the page guid, I had this in my content class (the page from
which I wanted to launch edit via form without going to the following
page).
<a href="javascript:window.open('/CMS/Plugins/ExecuteRQL.asp?
action=LaunchViaForm&editpageguid=<%info_pageguid%>', 'LaunchViaForm',
'width=650,height=550');void(0);">[edit via form]</a>
Hope that helps!
On Dec 23, 7:36 am, "Henry Lu, Sun Certified Java Programmer"
<[email protected]> wrote:
> With simple RQL, you can automate the process of creating and connecting the
> page to a structural element on another page and route the editor to the
> newly created page with its status opened.
>
> I have not done routing the editor to the "Edit Element via A Form" and I
> would think it is doable.
>
> Henry Lu
>
> On Tue, Dec 23, 2008 at 10:14 AM, [email protected] <[email protected]
>
>
>
> > wrote:
>
> > Hey, I am wondering if you guys figured this out, I want to use this
> > in my project. Any help is great.
>
> > On Nov 19, 6:16 am, abdn_webteam <[email protected]> wrote:
> > > It bugs us that the 'creation' of a page is a two-step process: give
> > > the page a headline, then select the page andeditits placeholderelements.
>
> > > Is there a method for joining these two steps together, so when a user
> > > clicks 'Create and Connect Page' they are automatically taken to the
> > > 'EditElementsviaForm' interface?- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---