[TYPO3-UG Italy] scindere il contenuto con un'inclusione

sevenumber sevenumber sevenumber at hotmail.com
Fri Apr 6 09:52:05 CEST 2007


per originale intendo il codice di prima con il colLeft, non mi sembra, ma 
viste le mie nozioni ..... te lo riposto:

#lingua di default
config.language = it

temp.titolo = TEXT
temp.titolo.field = subtitle

temp.titoloPagina = TEXT
temp.titoloPagina.field = subtitle

### menu verticale left-box###
	# Menu cObject
	temp.left-box = HMENU
	temp.left-box.entryLevel=1

	# First level menu-object, textual
	temp.left-box.1 = TMENU
	temp.left-box.1 {

	# Normal state properties
	NO.subst_elementUid = 1
	NO.allWrap = <div class="menu-level1-no item-{elementUid}"> | </div>
	NO.stdWrap.htmlSpecialChars = 1

	# Enable active state and set properties:
	ACT.subst_elementUid = 1
	ACT.stdWrap.htmlSpecialChars = 1
	ACT.allWrap = <div class="menu-level1-act item-{elementUid}"> | </div>
	}

	# Second level menu-object, textual
	temp.left-box.2 = TMENU
	temp.left-box.2 {

	# Normal state properties
	NO.allWrap = <div class="menu-level2-no"> | </div>
	NO.stdWrap.htmlSpecialChars = 1

	# Enable active state and set properties:
	ACT = 1
	ACT.stdWrap.htmlSpecialChars = 1
	ACT.allWrap = <div class="menu-level2-act"> | </div>
}

### CONTENUTO ###
temp.colLeft < styles.content.getLeft
temp.content < styles.content.get
temp.content-box < styles.content.getRight

### TEMPLATE ###
template = TEMPLATE
template {
  template = FILE
  template.file = fileadmin/template/template_associati.html
  workOnSubpart = main-box
  subparts.titolo < temp.titolo
  subparts.COLLEFT< temp.colLeft
  subparts.content < temp.content
  subparts.content-box < temp.content-box
  subparts.bottom-box < temp.bottom-box
  subparts.left-box < temp.left-box
  subparts.titoloPagina < temp.titoloPagina
}

### PAGINA ###
pagina = PAGE
pagina.10 < template

### CSS ###
  pagina.includeCSS {
  file1 = fileadmin/template/style/stylesheet_associati.css
  file1.media = screen

   }

----Original Message Follows----
From: Mauro Lorenzutti <mauro.lorenzutti at webformat.com>
Reply-To: Mauro Lorenzutti <mauro.lorenzutti at webformat.com>,TYPO3 Usergroup 
Italy <typo3-ug-italy at lists.netfielders.de>
To: TYPO3 Usergroup Italy <typo3-ug-italy at lists.netfielders.de>
Subject: Re: [TYPO3-UG Italy] scindere il contenuto con un'inclusione
Date: Fri, 6 Apr 2007 09:51:23 +0200
MIME-Version: 1.0
Received: from lists.netfielders.de ([213.203.207.41]) by 
bay0-mc9-f20.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Fri, 6 
Apr 2007 00:47:55 -0700
Received: from lists.netfielders.de (localhost.localdomain [127.0.0.1])by 
lists.netfielders.de (Postfix) with ESMTP id 1782F877423A;Fri,  6 Apr 2007 
09:47:55 +0200 (CEST)
Received: from hs11.quadrolabs.com (unknown [195.85.228.30])by 
lists.netfielders.de (Postfix) with ESMTP id 647AA877422Afor 
<typo3-ug-italy at lists.netfielders.de>;Fri,  6 Apr 2007 09:47:53 +0200 (CEST)
Received: (qmail 42645 invoked from network); 6 Apr 2007 07:45:47 -0000
Received: from host7-203-static.40-85-b.business.telecomitalia.it 
(HELOJESOLO) (85.40.203.7)by 195.85.228.44 with SMTP; 6 Apr 2007 07:45:47 
-0000
X-Message-Info: 
LsUYwwHHNt2LDAj9Wp/ErNXwmRD9dvN/Is2nqEkOGz1AmL+NP9LuSh9kdfhORwpq
X-Original-To: typo3-ug-italy at lists.netfielders.de
Delivered-To: typo3-ug-italy at lists.netfielders.de
X-Mailer: The Bat! (v2.12.04) Business
Organization: WEBFORMAT srl - TYPO3 Association
References: 
<mailman.122297.1175841181.21067.typo3-ug-italy at lists.netfielders.de><mailman.122315.1175845177.21067.typo3-ug-italy at lists.netfielders.de>
X-BeenThere: typo3-ug-italy at lists.netfielders.de
X-Mailman-Version: 2.1.7
Precedence: list
List-Id: TYPO3 Usergroup Italy <typo3-ug-italy.lists.netfielders.de>
List-Unsubscribe: 
<http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-italy>,<mailto:typo3-ug-italy-request at lists.netfielders.de?subject=unsubscribe>
List-Archive: <http://lists.netfielders.de/pipermail/typo3-ug-italy>
List-Post: <mailto:typo3-ug-italy at lists.netfielders.de>
List-Help: <mailto:typo3-ug-italy-request at lists.netfielders.de?subject=help>
List-Subscribe: 
<http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-italy>,<mailto:typo3-ug-italy-request at lists.netfielders.de?subject=subscribe>
Errors-To: typo3-ug-italy-bounces at lists.netfielders.de
Return-Path: typo3-ug-italy-bounces at lists.netfielders.de
X-OriginalArrivalTime: 06 Apr 2007 07:47:56.0322 (UTC) 
FILETIME=[E3B90020:01C7781F]


 > funziona sia con valore ciao che l'esempio di prima... sarà stata mica 
l'ora
 > tarda??!!!


mi sembrava strano che non funzionasse :-)


 > ne approfitto, visto che ti ho postato il mio codice TS per chiederti un
 > parere ...

 > ### CONTENUTO ###
 > temp.colLeft < styles.content.getLeft
 > temp.content < styles.content.get
 > temp.content-box < styles.content.getRight

 > ### TEMPLATE ###
 > template = TEMPLATE
 > template {
 >   template = FILE
 >   template.file = fileadmin/template/template_associati.html
 >   workOnSubpart = main-box
 >   subparts.titolo < temp.titolo
 >   subparts.COLLEFT< temp.colLeft
 >   subparts.content < temp.content
 >   subparts.content-box < temp.content-box
 >   subparts.bottom-box < temp.bottom-box
 >   subparts.left-box < temp.left-box
 >   subparts.titoloPagina < temp.titoloPagina
 > }

 > come puoi vedere dal contenuto abbiamo il menu di sinitra e due 
contenuti,
 > ho sostituito il menu di sinistra con "left-box" (subparts.left-box <
 > temp.left-box) non sarebbe corretto scrivere così?

 > ### CONTENUTO ###
 > temp.left-box < styles.content.getLeft  <--------MODIFICA
 > temp.content < styles.content.get
 > temp.content-box < styles.content.getRight

 > ### TEMPLATE ###
 > template = TEMPLATE
 > template {
 >   template = FILE
 >   template.file = fileadmin/template/template_associati.html
 >   workOnSubpart = main-box
 >   subparts.titolo < temp.titolo
 >   subparts.COLLEFT< temp.colLeft     <------ RIGA DA CANCELLARE
 >   subparts.content < temp.content
 >   subparts.content-box < temp.content-box
 >   subparts.bottom-box < temp.bottom-box
 >   subparts.left-box < temp.left-box
 >   subparts.titoloPagina < temp.titoloPagina
 > }

 > in tal caso, nel front end, sparisce il menu e riappare quando ripristino 
il
 > TS originale ... why?


cosa conteneva originariamente il tuo temp.left-box? Non è che il tuo
menu era definito proprio in questo oggetto?


Ciao,
  Mauro Lorenzutti


e-mail:  mauro.lorenzutti at webformat.com

---------------------------------------------------------
WEBFORMAT srl | Corte Europa, 12 | I-33097 SPILIMBERGO PN
      Tel +39-0427-926.389  --  Fax +39-0427-927.653
        info at webformat.com  --  http://www.webformat.com
---------------------------------------------------------

_______________________________________________
TYPO3-UG-italy mailing list
TYPO3-UG-italy at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-italy

_________________________________________________________________
Calcio, Quiz, Dama, Scacchi
 Prova tutti i nuovi giochi di Messenger
 
Gratis! http://get.live.com/it-it/messenger/features



More information about the TYPO3-UG-italy mailing list