Re: ImpressCMS 4-col themes for dummies (me) - basics and install in 1.3.10 |
Subject: Re: ImpressCMS 4-col themes for dummies (me) - basics and install in 1.3.10 by Madfish on 2018/1/24 16:45:56 <p>Have a look at the old Anatomy of the Default Theme document. You can read about the basic structure of a theme and how Smarty works. This is an old document, so it still uses tables to control the layout (now we mainly use div and span), but the general structure of a theme has not changed much.</p> <p>https://xoops.net.br/docs/xdocman/xn-103.pdf</p> <p>You can think of Smarty as a placeholder for a piece of data, kind of like a variable. In your PHP script you can assign values (including snippets of HTML) to smarty variables, and they will be output in the theme at the desired location.</p> |