Anonymous

Anonymous
I know this is OT but.. its do to a plugin that im creating for gl.. i want to know.. if i was to create a thtml file (theme) for the plugin.. do i add the tables in the php script or only in the thtml file? sorry im asking cause im kinda confused in some ways on creating themes for plugins.. thanxpoted by: xlordtonce i learn i can intergrated some themes to the memo system plugin and to the other plugin that im creating.. well tring to create.. but it will be a success =)

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
The idea of themes is to separate content from the presentation. So the PHP script should provide the content and all the presentational stuff should be in the template file. You shouldn't have any hard-coded HTML in your script. What if you want to present your content in a list instead of in a table at some later point? What if you wanted to use XHTML instead of HTML some day? Etc. bye, Dirk