SitePreferences

help Foswiki's default preferences are located in System.DefaultPreferences, however settings defined here have override priority and should be used for local customisations.

Appearance

  • Set SEP_TOPIC = Site Preferences
  • Set TITLE = Site Preferences
  • Set PATH_SEP =
  • Set WEB_BASE_PATH = RaulHC
  • Set TABLEPLUGIN_TABLEATTRIBUTES = cellspaceing="0"
  • Set EDIT_TEMPLATE = RaulEdit

  • Set CSS = /* nada a mais */

  • Set PERSONALINFOADDON_FILECACHE = 0

   * Set INI_INFO = <div class="info-out"><div class="info"><div class="info-content">
   * Set FIM_INFO = </div></div></div>
   * Set SUM_DINHEIRO = R%CALC{"$FORMAT(DOLLAR,2,$EVAL($SUBSTITUTE($TRANSLATE($LIST($ABOVE()),$comma,+),[^.+0-9],,,r)))"}%

   * Set DESCRICAO_OCULTA = <div style="display:none">
   * Set FIM_DESCRICAO = </div>

   * Set FLOAT_RIGHT = <div style="float:right; margin-left: 20px;">
   * Set FLOAT_LEFT = <div style="float:left; margin-right: 20px;">
   * Set END_FLOAT = </div>
   * Set CLEAR_FLOAT = <br style="clear:both" />

   * Set INI_BOX = <div style="width:%WIDTH%; float:%FLOAT%; margin-%MARGIN%; padding:10px 15px; background:%BG%; %EXTRACSS%">
   * Set END_BOX = </div>

   * Set CONFIG_EVENT_SEARCH = type="query"
    format="<li itemscope itemtype='http://data-vocabulary.org/Event'>
      <a href='/$web.$topic' itemprop='url'>
        <span class='dateBox'>
        <i $percentATTACHMENTLIST{topic=\"$web.$topic\" extension=\"jpg,jpeg,gif,png\" limit=\"1\" format=\"class='has-img' style='background-image:url($fileUrl)'\"}$percent itemprop='startDate' datetime=$percentCALC{'$LISTJOIN(-,$LISTTRUNCATE(3,$TRANSLATE($topic,-,$comma)))T$formfield(Horário)'>$LISTJOIN(/,$LISTREVERSE($LISTTRUNCATE(3,$TRANSLATE($topic,-,$comma))))}$percent</i>
        </span>
        <span class='sep'>&mdash;</span>
        <strong itemprop='summary'>$percentGETTOPICTITLE{$web.$topic}$percent</strong>
      </a>
      <p itemprop='location' itemscope itemtype='http://schema.org/Place'>
        Encontro $formfield(Tipo) em \"<span itemprop='name'>$formfield(Local)</span>\" &mdash;
        <span itemprop='address' itemscope itemtype='http://schema.org/PostalAddress'>
          <span itemprop='streetAddress'> $formfield(Endereço) </span>
        </span>
      </p>
    </li>"
    reverse="on"
    nonoise="on"

   * Set SOBRE = <div class="sobre-persona">
       <span class="pic">%AVATAR{"%DEFAULT%" size="100"}%</span>
       <h6>
         <a href="%FORMFIELD{"Site" topic="%USERSWEB%.%DEFAULT%"}%">%FORMFIELD{"Nick" default="???" alttext="???" topic="%USERSWEB%.%DEFAULT%"}%</a>
         <small>(AKA %FORMFIELD{"FirstName" topic="%USERSWEB%.%DEFAULT%"}% %FORMFIELD{"LastName" topic="%USERSWEB%.%DEFAULT%"}%)</small>
         &mdash; <strong>%FORMFIELD{"Profissão" default="Esmolé" alttext="Esmolé" topic="%USERSWEB%.%DEFAULT%"}%</strong>
         <br> <strong>%FORMFIELD{"Título" default="Padawan" alttext="Padawan" topic="%USERSWEB%.%DEFAULT%"}%</strong> do <nop>RaulHC
       </h6>
       %FORMFIELD{"Sobre Você" topic="%USERSWEB%.%DEFAULT%"}%
     </div>

   * Set SOBRELAMPIAO = <div class="sobre-persona">
       <span class="pic">%AVATAR{"%DEFAULT%" size="100"}%</span>
       <h6>
         <a href="%FORMFIELD{"Site" topic="%USERSWEB%.%DEFAULT%"}%">%FORMFIELD{"Nick" default="???" alttext="???" topic="%USERSWEB%.%DEFAULT%"}%</a>
         <small>(AKA %FORMFIELD{"FirstName" topic="%USERSWEB%.%DEFAULT%"}% %FORMFIELD{"LastName" topic="%USERSWEB%.%DEFAULT%"}%)</small>
         &mdash; <strong>%FORMFIELD{"Profissão" default="OrêaSeca" alttext="OrêaSeca" topic="%USERSWEB%.%DEFAULT%"}%</strong>
         <br> <strong>%FORMFIELD{"Título" default="Padawan" alttext="Padawan" topic="%USERSWEB%.%DEFAULT%"}%</strong> do <nop>RaulHC
       </h6>
       %FORMFIELD{"Sobre Você" topic="%USERSWEB%.%DEFAULT%"}%
     </div>

Social Media Configurations:

  • Set OGRAPH_TYPE = article
  • Set SOCIAL_URL = http://raulhc.cc/bin/view/Main/SitePreferences
  • Set SOCIAL_TITLE = Raul Hacker Club — Configuração Global do Site
  • Set SOCIAL_IMG = logo-raulhc.png
  • Set TWITTER_DESC = o HackerSpace de Salvador
  • Set SOCIAL_EXTRA =

Customize logo and tooltip texts:

  • Set WIKILOGOIMG = raulhc-top.png
  • Set WIKILOGOALT = Raul Hacker Club
  • Set WIKILOGOURL = http://raulhc.cc

Give your site a specific name:

  • Set WIKITOOLNAME = Raulwiki

Customize your favicon:

  • Set FAVICON = /pub/Main/WebCSS/raul.ico

Customize your top bar background image and color
  • Set WEBHEADERART = /pub/System/PatternSkin/header5.gif
  • Set WEBHEADERBGCOLOR = #ffffff

Actions

  • Set NOWYSIWYG = 1
  • #Set SKIN = pattern
  • Set SKIN = natedit,pattern

  • Set INC_JS_CALENDAR =

Extra

  • Set ATTACHFILESIZELIMIT = 2000

Finalisation

FINALPREFERENCES locks site-level preferences that are not allowed to be overridden by WebPreferences or user preferences:

  • Set FINALPREFERENCES = ATTACHFILESIZELIMIT, PREVIEWBGIMAGE, WIKITOOLNAME, WIKIHOMEURL, ALLOWROOTCHANGE, DENYROOTCHANGE, USERSWEB, SYSTEMWEB, DOCWEB

Topic revision: r31 - 26 Mar 2017, ViniciusMelo
 

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Raulwiki? Send feedback