New matrix with [COLUMN] and rows // since r403

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
User avatar
Jensensen
Posts: 2996
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

New matrix with [COLUMN] and rows // since r403

Post by Jensensen » Sun 5. Dec 2010, 03:27

The new variables in CP images <DIV>, CP imagespecial are "formatted like WIN.INI". How to use it?

second question:
Does anybody know the matrix of [COLUMN] and rows in combination with the new teaser.tmpl? How can you use it?
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.

pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Re: New matrix with [COLUMN] and rows // since r403

Post by pepe » Sun 5. Dec 2010, 11:56

Is'n there a new class to manage the "construction" of the columns by CSS ???

User avatar
Oliver Georgi
Site Admin
Posts: 9604
Joined: Fri 3. Oct 2003, 22:22
Location: Moscow, Russia
Contact:

Re: New matrix with [COLUMN] and rows // since r403

Post by Oliver Georgi » Sun 5. Dec 2010, 17:20

the class can be defined by yourself.
[COLUMN] class="col-{COLUMN}"[/COLUMN] -> class="col-1" … class="col-n"

This is useful to define the last column have no right margin or col-1 have no left margin or whatever for instance.

And this
<!--TEASER_COLUMN_OVERWRITE_START//-->5<!--TEASER_COLUMN_OVERWRITE_END//-->
will force the renderer to use 5 columns always (by default).

If the max column count is reached next column will match 1.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон

Post Reply