Hey everyone.
I'm having some difficulties trying to create a admin module for a homepage.
The thing is that I've made one page in mode (request.querystring(mode)) where
I've to forms and both of them I want to use the awesome RTE.
But it can't seem to work.
When I inserting the RTE code:
<%
'Declare the ASP variables used
Dim strFormName
Dim strTextAreaName
'ID tag name of the HTML form the textarea is within
strFormName = "edit"
'ID tag name of HTML textarea being replaced
strTextAreaName = "main"
%>
I've only
one variables declaration, and that is about the first form that I want to use
the RTE on. On the second it looks like this:
<%
'Declare the ASP variables used
'ID tag name of the HTML form the textarea is within
strFormName = "edit"
'ID tag name of HTML textarea being replaced
strTextAreaName = "main"
%>
And I've tried
to change the second form and textarea name and also tried to have the same
name in same textarea, but I always get the same result; this is returned:
Microsoft VBScript compilation (0x800A0411)
Name redefined
/kd/admin/rte/RTE_configuration/RTE_setup.asp, line 31, column 4
Dim blnAbout
I know what
the error is about; that the variable blnAbout is declared twice, but HOW I can
get around that problem, that is what I don't know.
Is there a logical solution to this problem? I've tempered with the code other
than set some true to false under the functions of the RTE.
Thank you in advance
Public2