[opencms-dev] Default-file for folder tree

Paul-Inge Flakstad flakstad at npolar.no
Wed Mar 2 20:41:42 CET 2011


Hi Tylla,

Think I found it, it wasn't in the config but here:
/system/workplace/commons/newresource_xmlcontent.jsp

Line 88 (on v7.5.3) is as follows:
<td style="white-space: nowrap;" unselectable="on" class="maxwidth"><input name="<%= wp.PARAM_NEWRESOURCEEDITPROPS %>" id="newresedit" type="checkbox" value="true" checked="checked" onclick="toggleButtonLabel();"> <%= wp.key(Messages.GUI_NEWFILE_EDITPROPERTIES_0) %></td>

If you remove checked="checked", all structured content types will have the "Edit properties of the new file" checkbox unchecked by default.

HTH :)

Cheers,
Paul
________________________________________
Fra: opencms-dev-bounces at opencms.org [opencms-dev-bounces at opencms.org] på vegne av Nagy Attila [lists.opencms.org at tylla.hu]
Sendt: 2. mars 2011 19:56
Til: The OpenCms mailing list
Emne: Re: [opencms-dev] Default-file for folder tree

Hi Paul!

So this can be done. OK. :)
If you - or anybody else - manage to find this piece of information please share with us.

Thanks,
Tylla.

On 2011. 03. 02. 17:40, Paul-Inge Flakstad wrote:
Hi Tylla,

The property dialog when creating a new resource can be skipped. I've removed this step for all structured content types.

However, I couldn't recall the setting, and I can't seem to find it again (in one of OpenCms' config files). If someone could tell me where the setting is located, I'd appreciate that very much. :)

Cheers,
Paul




More information about the opencms-dev mailing list