Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 01:40 am EST

Geeklog Forums

themes


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 =)
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
 Quote

All times are EST. The time is now 01:40 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content