[opencms-dev] OCMS5 - add a custom property input field to the "Create New Page" wizard form

James jim at futurate.com
Tue May 17 14:28:52 CEST 2005


Hi,

 

How can I add a custom property input field to the "Create New Page" wizard
form?
 
I have already created my custom properties. 
 
I’ve tried altering the /system/workplace/templates/explorer_files_new_page
by adding my own input box and code (my custom property is called
“section”):
 
……………
'&section='+encodeURIComponent(document.getElementById("newSection"+whichone
).value);
……………
 
……………
<tr>
<td class=formular>]]>
<LABEL value="input.section" /><![CDATA[:
</td>
<td class=dialogtxt>]]>
<INPUTFIELD name="newSection1" class="textfeld2" size="40" length="100"
/><![CDATA[
</td>
</tr>
……………
 
 
The label in the ‘create new page’ wizard shows as ??? input.section ???.
When I click finish, my custom property “section” does not save or show up
in the new pages’ properties.
 
How do I do this ??????????????

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.11 - Release Date: 16/05/2005
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050517/794cca69/attachment.htm>


More information about the opencms-dev mailing list