[TYPO3-templavoila] conditional templavolia section content
oneilch
oneilch at yahoo.com
Thu Apr 13 22:50:48 CEST 2006
Does anyone have any sample typo script code that
could lead me in the right direction as I am not a
very familiar with typescript but very good with html
and css.
I have a html TemplaVolia layout that has 2 columns:
The first column (col1) will change its content based
on a specific website section from my websites pages
architecture.
The second column (col2) will change consistently on a
web page by web page basis (main-page) as it holds
the website content.
My intensions for (col1) will be to have a TemplaVolia
reference specific uid contents based on what section
of the website the user it located.
I have a sample code that works for one UID but I do
not know how to make it conditional whether by using
a if statement or a case statement.
Sample Code (just works for one specific uid):
lib.newsarticles = CONTENT
lib.newsarticles {
tables = tt_content
select.orderBy = sorting
select.pidInList = 52
select.uidInList = 78
}
lib.newsarticles= RECORDS
lib.newsarticles.source.current=1
lib.newsarticles.tables = tt_content
lib.newsarticles = CONTENT
lib.newsarticles {
table = tt_content
select.orderBy = sorting
select.pidInList = 52
select.uidInList = 78
}
Sample Website Architecture:
Section1
--- web page 1
--- web page 2
Section2
--- web page 1
--- web page 2
Section3
--- web page 1
--- web page 2
Section4
--- web page 1
--- web page 3
My system:
typo3 4- final
templavolia 1.0.1
php 5.1.2
mysql 4
Please help - thank You
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the TYPO3-project-templavoila
mailing list