GIUSEPPE CHIARI

Musica, Arte, Fluxus

per chi conosce un poco di TYPO3 CMS

Typoscript

######  Constants  #######

styles.content.imgtext.maxWInText = 0
styles.content.imgtext.linkWrap.width = 800
styles.content.imgtext.linkWrap.newWindow = 1
styles.content.imgtext.titleInLinkAndImg = 1
styles.content.imgtext.borderColor = black
styles.content.loginform.pid = 0
plugin.tx_srlanguagemenu.defaultLanguageISOCode = IT
plugin.tx_srlanguagemenu.defaultCountryISOCode = it
plugin.tx_srlanguagemenu.showCurrent = 0
styles.content.imgtext.linkWrap.lightboxEnabled = 1
styles.content.imgtext {
    maxW = 1920
    maxWInText = 1920
}
styles.content.media.defaultVideoWidth = 1920
styles.content.media.defaultVideoHeight = 2080

###### Setup #######

config.simulateStaticDocuments = 0
config.tx_realurl_enable = 1
config.absRefPrefix = /



config.linkVars = L
config.sys_language_uid = 0
config.language = it
config.locale_all = it_IT

[globalVar = GP:L =0]
config.sys_language_uid = 0
config.language = it
config.locale_all = it_IT
config.htmlTag_langKey = it
config.defaultGetVars {
        tx_news_pi1 {
                controller=Notizie
                action=Dettaglio
        }
}
[global]
[globalVar = GP:L =1]
config.sys_language_uid = 1
config.language = gb
config.locale_all = gb_GB
config.htmlTag_langKey = gb
[global]

page = PAGE
page {
   typeNum = 0
   bodyTag >
   bodyTag = <body id="page-top" data-spy="scroll" data-target=".navbar-fixed-top">

   meta.AUTHOR = Mario
   meta.CHARSET = utf-8
   meta.VIEWPORT = width=device-width, initial-scale=1
   meta.TITLE = Test Grayscale - Bootstrap Theme - (adattato da mario chiari)
   
   10 = TEMPLATE
   10.template = FILE
   10.template.file = fileadmin/onePage/temp.html
   10.workOnSubpart = DOCUMENT_BODY
   10.marks {

   DATE = TEXT
   DATE {
    stdWrap.data = date : U
    stdWrap.strftime = %d - %m - %Y    
   }     
   
   AAA = TEXT
   AAA {
     value = Musica, Arte, Fluxus
   }

   OPENUL = TEXT
   OPENUL {
     value = <ul class="nav navbar-nav">
   }
  
   LANGFLAG < plugin.tx_srlanguagemenu.widgets.menu

  
   MIDDLE-MARKER < styles.content.get
   MIDDLE-MARKER.renderObj.stdWrap.dataWrap=<section id="{field:header}" class="container content-section text-center"> <div class="row"> <div class="col-lg-8 col-lg-offset-2"> | </div></div></section>  
 

   TOP-MENU = CONTENT
   TOP-MENU {
        table = tt_content
        select {
                pidInList = this
                orderBy = sorting
                where = colPos=0
                languageField=sys_language_uid
        }
        wrap =  | <li class="toparrow"><a class="page-scroll"  href="#page-top"> <i class="fa fa-angle-double-up animated"></i></a></li>
        renderObj = TEXT
        renderObj {
                field = header
                dataWrap= <li><a class="page-scroll" href="#{field:header}">|</a></li>
        }
        }
   
   CLOSEUL = TEXT
   CLOSEUL {
     value = </ul>
   }
   
   
   LEFT-MENU = HMENU
   LEFT-MENU {
      special = directory
      special.value = 2
      entryLevel = 0
      #stdWrap.wrap = <ul>|</ul>
      1 = TMENU
      1 {
      noBlur = 1
      expAll = 1
      wrap = <ul>|</ul>
      NO.wrapItemAndSub = <li>|</li>
      NO.ATagTitle.field = abstract // description // title
      ACT = 1
      ACT.wrapItemAndSub = <li class="act">|</li>
      ACT.ATagTitle.field = abstract // description // title
      }
   }

   FOOTER-MARKER = COA
   FOOTER-MARKER.1 = CONTENT
   FOOTER-MARKER.1 {
     table = tt_content  
     select {
       pidInList = 4  
       orderBy = sorting
       languageField = sys_language_uid
       selectFields = uid,pid,header
     }
     renderObj = TEXT
     renderObj {
      required = 1
      wrap = &nbsp; | &nbsp;      
      typolink.parameter = 4
      typolink.section.field = header
      field = header
                  }
     }
     FOOTER-MARKER.2 = CONTENT
     FOOTER-MARKER.2 {
     table = tt_content  
     select {
       pidInList = 3   
       orderBy = sorting
       languageField = sys_language_uid
       selectFields = *
               }
     renderObj = TEXT
     renderObj {
      required = 1
      wrap = &nbsp; | &nbsp;      
      typolink.parameter = 3
      typolink.section.field = uid
      field = header
                  }
     }
}
    includeCSS {
   stylesheet_0 = fileadmin/onePage/css/main.css
   stylesheet_1 = fileadmin/onePage/css/bootstrap.css
   stylesheet_3 = fileadmin/onePage/css/grayscale.css
   stylesheet_301 = fileadmin/onePage/css/glyphicon.css
   stylesheet_302 = fileadmin/onePage/css/btn.css
   stylesheet_31 = fileadmin/onePage/css/gc_001.css
   stylesheet_4 = fileadmin/onePage/css/jquery.mmenu.all.css
   stylesheet_44 = fileadmin/onePage/css/demo.css
   stylesheet_5 = fileadmin/onePage/font-awesome/css/font-awesome.css
   stylesheet_6 = fileadmin/onePage/css/loraLocal.css
   stylesheet_6.media = all
   //stylesheet_7 = http://fonts.googleapis.com/css?family=Montserrat:400,700
   stylesheet_7 = fileadmin/onePage/css/montserratLocal.css
   //stylesheet_7.external = 1
   stylesheet_7.media = all
     }
  
   includeJS {
  file1 =fileadmin/onePage/js/jquery.min.js
  file1.type = text/javascript
  file2 = fileadmin/onePage/js/jquery.easing.1.3.js
  file2.type = text/javascript
  file22 = fileadmin/onePage/js/jquery.easing.min.js
  file22.type = text/javascript
  file3 = fileadmin/onePage/js/bootstrap.js
  file3.type = text/javascript
  file4 = fileadmin/onePage/js/bootstrap.min.js
  file4.type = text/javascript
  file5 = fileadmin/onePage/js/grayscale.js
  file5.type = text/javascript
  file6 = fileadmin/onePage/js/jquery.mmenu.js
  file6.type = text/javascript
  file7 = fileadmin/onePage/js/jquery.mmenu.min.all.js
  file7.type = text/javascript
  file8 = fileadmin/onePage/js/local.js
  file8.type = text/javascript
  }
}
  
[globalVar = GP:L =0]
page.10.marks.AAA = TEXT
page.10.marks.AAA.value = Musica, Arte, Fluxus
[global]
[globalVar = GP:L =1]
page.10.marks.AAA = TEXT
page.10.marks.AAA.value = Music, Art, Fluxus
[global]
plugin.tx_srlanguagemenu.settings.englishFlagFile = EXT:sr_language_menu/Resources/Public/Images/Flags/gb.png
plugin.tx_news.settings.link.skipControllerAndAction = 0                 
plugin.tx_news.settings.displayDummyIfNoMedia = 0
plugin.tx_news.settings.detail.media {
 image {
        lightbox {
            enabled = 1
            class = lightbox
            width = 600
            rel = lightbox[myImageSet]
        }
      }
 }
TypoScript

TypoScript

######   alternative template+TS for internal pages #######
page.10.template.file >
page.10.template.file = fileadmin/onePage/tempOther.html

page.10.marks.HOMEICON = IMAGE
page.10.marks.HOMEICON.file = fileadmin/onePage/38_16-home-house-streamline.png
page.10.marks.HOMEICON.file.width = 16
page.10.marks.HOMEICON.altText = home
page.10.marks.HOMEICON.params = style="padding-bottom:3px;"
page.10.marks.HOMEICON.stdWrap.typolink.parameter = 2
page.10.marks.HOMEICON.stdWrap.typolink.wrap = <li id="homeicon" >|</li>
    

page.10.marks.MIDDLE-MARKER.renderObj.stdWrap.dataWrap >
page.10.marks.MIDDLE-MARKER.renderObj.stdWrap.dataWrap = <section id="{field:header}" class="container content-section text-left"> <div class="row"> <div class="col-lg-8 col-lg-offset-2"> | </div></div></section>  
 
page.includeCSS.stylesheet_31 >
page.includeCSS {
   stylesheet_31 = fileadmin/onePage/css/gc_002.css
  }


page.includeCSS.stylesheet_44 >
page.includeCSS {
   stylesheet_44 = fileadmin/onePage/css/demoOther.css
   stylesheet_9 = fileadmin/onePage/js/lightbox-master/dist/ekko-lightbox.css
  }
  
page.includeJS.file19 = fileadmin/onePage/js/lightbox-master/dist/ekko-lightbox.js
page.includeJS.file9.type = text/javascript
page.includeJS.file191 = fileadmin/onePage/js/lightbox-master/dist/ekko-lightbox-local.js
page.includeJS.file91.type = text/javascript


###### Altrnative TypoScript for Biografia page ####

lib.parseFunc_RTE {
    externalBlocks {
        li >
        ul >
        li.stripNL = 1
        li.stdWrap.parseFunc = < lib.parseFunc
        ul.stripNL = 1
        ul.stdWrap.parseFunc = < lib.parseFunc
    }
}

page.includeJS.file3 >
page.includeJS.file3.type >

page.CSS_inlineStyle  (
DIV.csc-textpic, DIV.csc-textpic DIV.csc-textpic-imagerow, UL.csc-uploads LI {   overflow: visible; }  
DIV.csc-textpic-center .csc-textpic-imagewrap, DIV.csc-textpic-center FIGURE.csc-textpic-imagewrap { overflow: visible; }
)

page.includeCSS {
   stylesheet_9 = fileadmin/onePage/js/lightbox-master/dist/ekko-lightbox.css
  }

page.includeJS.file19 = fileadmin/onePage/js/lightbox-master/dist/ekko-lightbox.js
page.includeJS.file9.type = text/javascript
page.includeJS.file191 = fileadmin/onePage/js/lightbox-master/dist/ekko-lightbox-local.js
page.includeJS.file91.type = text/javascript
More TypoScript

Templates

#####  Template Home Page #####

<!-- ###DOCUMENT_BODY### -->
    <!-- Navigation -->

<div class="topm">
   <div id="page">
<nav class="navbar navbar-custom navbar-fixed-top" role="navigation">
        <div class="container">

            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse  navbar-right navbar-main-collapse">
      ###OPENUL### ###TOP-MENU### ###LANGFLAG### ###CLOSEUL###
            </div>
            <!-- /.navbar-collapse -->
      
   <div id="header" class="visible-xs">
                    <a href="#menu"></a>
                  </div>
  </div>  <!-- /.container -->
</nav>

          <section id="intro-body" class="container content-section text-center">
                <div class="row">
                   <div class="col-md-8 col-md-offset-2">  
                        <h1 class="brand-heading">GIUSEPPE CHIARI</h1>
                        <p class="intro-text">###AAA###<br>1926-2007</p>
                    </div> </div> </section>

    <!-- Section -->
                ###MIDDLE-MARKER###

<nav id="menu" class="padd-menu">
###LEFT-MENU###
</nav>
    <!-- Footer -->
    <footer>
  
        <div class="container text-center">
            <p>Copyright &copy; Eredi Giuseppe Chiari &amp; C. s.a.s.</p>
            <p>###DATE###</p>
        </div>
    </footer>

</div> </div>   <!--closing topm + page-->
<!-- ###DOCUMENT_BODY### -->
              
Template pagina home

Template

###### Template internal pages #######
<!-- ###DOCUMENT_BODY### -->
    <!-- Navigation -->

<div class="topm"> 
   <div id="page"> 
<nav class="navbar navbar-custom navbar-fixed-top" role="navigation">
        <div class="container">

            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse  navbar-right navbar-main-collapse">
   ###OPENUL######TOP-MENU### ###LANGFLAG### ###HOMEICON### ###CLOSEUL###
            </div>
            <!-- /.navbar-collapse -->
      
<!-- controlla se Ok -->
   <div id="header" class="visible-xs">
                    <a href="#menu"></a>
                  </div>
  </div> <!-- /.container -->
</nav>

<!--    <header class="intro" > -->

       <section id="intro-body" class="container content-section text-left">
                <div class="row-first">
                   <div class="col-lg-8 col-lg-offset-2">  
                        <h1 class="brand-heading">GIUSEPPE CHIARI </h1>
                        <p class="intro-text">###AAA###</p>
                    </div> </div> </section>

   <!--  </header> -->

    <!-- Section -->
                ###MIDDLE-MARKER###


<nav id="menu" class="padd-menu">
###LEFT-MENU###
</nav>
    <!-- Footer -->
    <footer>
  
        <div class="container text-center">
            <p>Copyright &copy; Eredi Giuseppe Chiari</p>
            <div>###DATE###</div>
            <div>###FOOTER-MARKER###</div>
        </div>
 
    </footer>
</div> </div>   <!-- closing topm + page-->
<!-- ###DOCUMENT_BODY### -->
Template per pagine interne