---+!! %MAKETEXT{"Create a new web"}% <form id="createNewWeb" name="admin" action="%SCRIPTURLPATH{manage}%/%WEB%/%TOPIC%" method="post"> <input name="newtopic" type="hidden" value="%URLPARAM{"newtopic"}%" /> <input name="action" type="hidden" value="createweb" /> <div class="foswikiFormSteps"> <div class="foswikiFormStep"> <h3>%MAKETEXT{"Name"}%:</h3> <input name="newweb" class="foswikiInputField required" type="text" value="%URLPARAM{"newweb"}%" size="60" /> <div class="foswikiFormDescription"> The name must start with an upper case letter, followed by upper or lower case letters or numbers. Specify a short name to avoid long URLs. </div> </div> <div class="foswikiFormStep"> <h3>%MAKETEXT{"Summary"}%:</h3> <input type="text" class="foswikiInputField" name="WEBSUMMARY" value="" size="60" /> <div class="foswikiFormDescription"> Enter a short description of the web. Write =Web.TopicName= instead of just =TopicName= if you include links. This description will be used in the %SYSTEMWEB%.SiteMap </div> </div> %TWISTY{ showlink="%MAKETEXT{"Show additional settings"}%" hidelink="%MAKETEXT{"Hide additional settings"}%" showimgleft="%ICONURLPATH{toggleopen-small}%" hideimgleft="%ICONURLPATH{toggleclose-small}%" mode="div" }% --- <div class="foswikiFormStep"> <h3>%MAKETEXT{"Template web"}%:</h3> <select name="baseweb" class="foswikiSelect"> %WEBLIST{ "<option $marker>$name</option>" webs="webtemplate,public" selection="_default" separator=" "}% </select> <div class="foswikiFormDescription">Select a TemplateWeb which you want the new web to be based on.</div> </div> <div class="foswikiFormStep"> <h3>%MAKETEXT{"Sitemap"}%:</h3> <label><input type="radio" name="SITEMAPLIST" value="on" checked="checked" /> *show* on sitemap </label> %BR% <label><input type="radio" name="SITEMAPLIST" value="" /> *hide* from sitemap </label> <div class="foswikiFormDescription"> Note, that this will only affect the list of webs on the SiteMap. The web itself is still accessible to users. </div> </div> <div class="foswikiFormStep"> <h3>%MAKETEXT{"Global search"}%:</h3> <label><input type="radio" name="NOSEARCHALL" value="" checked="checked" /> *include* in global search </label>%BR% <label><input type="radio" name="NOSEARCHALL" value="on" /> *exclude* from global search </label> <div class="foswikiFormDescription"> Specify if you want to exclude the web from a global search. Note, that you will have to enter this web explicitly to search in it. </div> </div> <div class="foswikiFormStep"> <h3>%MAKETEXT{"Web color"}%:</h3> <input name="WEBBGCOLOR" class="foswikiInputField jqFarbtastic" type="text" value="#efefef" size="20" /> <div class="foswikiFormDescription"> Displayed on %SYSTEMWEB%.SiteMap. </div> </div> %ENDTWISTY% <div class="foswikiFormStep foswikiFormButtons foswikiFormLast"> %BUTTON{"%MAKETEXT{"Submit"}%" icon="add" type="save"}% %CLEAR% </div> </div> </form> %JQREQUIRE{"farbtastic"}% %JQREQUIRE{"validate"}% %ADDTOZONE{ "script" text="<script> (function($) { $(function() { $('#createNewWeb').validate(); }); })(jQuery); </script>" " requires="JQUERYPLUGIN::VALIDATE" }% %ICON{"help"}% Get help on [[%SYSTEMWEB%.ManagingWebs][managing webs]].
This topic: System
>
WebHome
>
ReferenceManual
>
ManagingWebs
>
WebCreateNewWeb
Topic revision: revision 3 (raw view)
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki?
Send feedback