Revision history for TemplateSystem


Revision [23092]

Last edited on 2016-05-20 07:38:45 by NeW [Replaces old-style internal links with new pipe-split links.]
Additions:
- [[http://smarty.php.net | Smarty]]
- [[http://wiki.ciaweb.net/yawiki/index.php?area=Savant | Savant]]
- [[http://www.phpxtemplate.org/ | XTemplate]]
- [[http://templatepower.codocad.com | Template Power]]
~& I would love to see Wikka adopt some type of template system. I think that its is sorely needed. Changing the look of Wikka requires tedious editing of php files, and alot of the time it is non-obvious where you need to go to edit such files. Another alternative to [[http://smarty.php.net | Smarty]] could be [[http://wiki.ciaweb.net/yawiki/index.php?area=Savant | Savant]]. --KickTheDonkey
~~~~~&I would propose using a 'lite' templating engine such as [[http://www.phpxtemplate.org/ | XTemplate]], it's a simple tag language, it keeps most of the logic in the PHP and hey, I maintain it. I use Wikka for at least 3 sites including the XTemplate site - so I'm about to help integrate and develop with Wikka. Oh and by the way, it's only 28k including the comments ;) XTemplate in combination with a DatabaseAbstraction layer such as [[http://adodb.sf.net | ADODB]] would go a long way to making Wikka more maintainable than it is at present. -- JeremyCoates
~~~~~~&As I am soon about to release my conversion of Wikka to the PostNuke CMS, you can see an example of a Smarty implementation on [[FrankChestnut | my page]] along with the DatabaseAbstraction page I created recently while working on my module. Note also that my module will be multilingual although I'll still have to work with my collegues on the best solution for the various part of Wikka that can't be translated by a simple define. ;) -- FrankChestnut
Deletions:
- [[http://smarty.php.net Smarty]]
- [[http://wiki.ciaweb.net/yawiki/index.php?area=Savant Savant]]
- [[http://www.phpxtemplate.org/ XTemplate]]
- [[http://templatepower.codocad.com Template Power]]
~& I would love to see Wikka adopt some type of template system. I think that its is sorely needed. Changing the look of Wikka requires tedious editing of php files, and alot of the time it is non-obvious where you need to go to edit such files. Another alternative to [[http://smarty.php.net Smarty]] could be [[http://wiki.ciaweb.net/yawiki/index.php?area=Savant Savant]]. --KickTheDonkey
~~~~~&I would propose using a 'lite' templating engine such as [[http://www.phpxtemplate.org/ XTemplate]], it's a simple tag language, it keeps most of the logic in the PHP and hey, I maintain it. I use Wikka for at least 3 sites including the XTemplate site - so I'm about to help integrate and develop with Wikka. Oh and by the way, it's only 28k including the comments ;) XTemplate in combination with a DatabaseAbstraction layer such as [[http://adodb.sf.net ADODB]] would go a long way to making Wikka more maintainable than it is at present. -- JeremyCoates
~~~~~~&As I am soon about to release my conversion of Wikka to the PostNuke CMS, you can see an example of a Smarty implementation on [[FrankChestnut my page]] along with the DatabaseAbstraction page I created recently while working on my module. Note also that my module will be multilingual although I'll still have to work with my collegues on the best solution for the various part of Wikka that can't be translated by a simple define. ;) -- FrankChestnut


Revision [18805]

Edited on 2008-01-28 00:12:36 by NeW [Modified links pointing to docs server]

No Differences

Revision [13617]

Edited on 2006-03-25 11:53:22 by NeW [Modified links pointing to docs server]
Deletions:
I did try to use the same include to add the same "left rand" on all traduced pages by using the same include command, and it don't works properly: the HTML is always "on" the wiki content, never right of


Revision [13616]

Edited on 2006-03-25 11:51:12 by NeW [Modified links pointing to docs server]
Additions:
See please [[http://puppylinux.org/wikka/AboutPuppy]]: a predecessor did use the include command to build a template at the top of the page and it works properly. On a next page: [[http://puppylinux.org/wikka/dpup]], you will see an important left rand informations group. I did try to realize these group with an include command but without success. In will use an { { include LeftRand } } instead of all the commands from following listing. can one of you help to make it working (perhaps directly in the right page ;-) ! it would be the best! after that, you can erase here the following code if it's work properly!)? center table width=98% border=0 cellspacing=3 cellpadding=7 bgcolor=#FFFFCC tr align=top td align=right width=99% h1 FONT face=Times New RomanibPuppy Linux Mini How-to  'b'i'font 'h1 'td 'tr 'table 'center table width=100% border=0 cellspacing=10 cellpadding=0 tr align=top td align=left valign=top bgcolor=#c8e3ff width=20% table cellspacing=0 border=0 tr td bBasics'b 'td 'tr tr td font face=Verdana   - a href=aboutAbout'a 'font 'td 'tr tr td font face=Verdana   - a href=installInstallation'a 'font 'td 'tr tr td font face=Verdana   - a href=startGetting Started'a 'font 'td 'tr tr td bSoftware'b 'td 'tr tr td font face=Verdana   - a href=wmWM'a 'font 'td 'tr tr td font face=Verdana   - a href=roxRox Filer'a 'font 'td 'tr tr td font face=Verdana   - a href=pgetPupGet'a 'font 'td 'tr tr td font face=Verdana   - font color=darkbluebDotpup'b'font 'font 'td 'tr tr td bHardware'b 'td 'tr tr td font face=Verdana   - a href=videoVideo'a 'font 'td 'tr tr td font face=Verdana   - a href=soundSound'a 'font 'td 'tr tr td font face=Verdana   - a href=networkNetworking'a 'font 'td 'tr tr td font face=Verdana   - a href=inputInput Devices'a 'font 'td 'tr tr td font face=Verdana   - a href=othersOthers'a 'font 'td 'tr tr td bGoodies'b 'td 'tr tr td font face=Verdana   - a href=gamesGames'a 'font 'td 'tr tr td font face=Verdana   - a href=linuxLinux Tutorial'a 'font 'td 'tr tr td font face=Verdana   - a href=moreMore'a 'font 'td 'tr tr td bLinks'b 'td 'tr tr td font face=Verdana   - a href=puplinksPuppy'a 'font 'td 'tr tr td font face=Verdana   - a href=morelinksOthers'a 'font 'td 'tr tr td bMiscellanea'b 'td 'tr tr td font face=Verdana   - a href=miscMisc'a 'font 'td 'tr 'table 'td -- NeW
Deletions:
See please [[http://puppylinux.org/wikka/AboutPuppy]]: a predecessor did use the include command to build a template at the top of the page and it works properly. On a next page: [[http://puppylinux.org/wikka/dpup]], you will see an important left rand informations group. I did try to realize these group with an include command but without success. In will use an { { include LeftRand } } instead of all the commands from following listing. can one of you help to make it working? center table width=98% border=0 cellspacing=3 cellpadding=7 bgcolor=#FFFFCC tr align=top td align=right width=99% h1 FONT face=Times New RomanibPuppy Linux Mini How-to  'b'i'font 'h1 'td 'tr 'table 'center table width=100% border=0 cellspacing=10 cellpadding=0 tr align=top td align=left valign=top bgcolor=#c8e3ff width=20% table cellspacing=0 border=0 tr td bBasics'b 'td 'tr tr td font face=Verdana   - a href=aboutAbout'a 'font 'td 'tr tr td font face=Verdana   - a href=installInstallation'a 'font 'td 'tr tr td font face=Verdana   - a href=startGetting Started'a 'font 'td 'tr tr td bSoftware'b 'td 'tr tr td font face=Verdana   - a href=wmWM'a 'font 'td 'tr tr td font face=Verdana   - a href=roxRox Filer'a 'font 'td 'tr tr td font face=Verdana   - a href=pgetPupGet'a 'font 'td 'tr tr td font face=Verdana   - font color=darkbluebDotpup'b'font 'font 'td 'tr tr td bHardware'b 'td 'tr tr td font face=Verdana   - a href=videoVideo'a 'font 'td 'tr tr td font face=Verdana   - a href=soundSound'a 'font 'td 'tr tr td font face=Verdana   - a href=networkNetworking'a 'font 'td 'tr tr td font face=Verdana   - a href=inputInput Devices'a 'font 'td 'tr tr td font face=Verdana   - a href=othersOthers'a 'font 'td 'tr tr td bGoodies'b 'td 'tr tr td font face=Verdana   - a href=gamesGames'a 'font 'td 'tr tr td font face=Verdana   - a href=linuxLinux Tutorial'a 'font 'td 'tr tr td font face=Verdana   - a href=moreMore'a 'font 'td 'tr tr td bLinks'b 'td 'tr tr td font face=Verdana   - a href=puplinksPuppy'a 'font 'td 'tr tr td font face=Verdana   - a href=morelinksOthers'a 'font 'td 'tr tr td bMiscellanea'b 'td 'tr tr td font face=Verdana   - a href=miscMisc'a 'font 'td 'tr 'table 'td -- NeW


Revision [13615]

Edited on 2006-03-25 11:48:10 by NeW [Modified links pointing to docs server]
Additions:
===actually the predecessor did use the include command===
See please [[http://puppylinux.org/wikka/AboutPuppy]]: a predecessor did use the include command to build a template at the top of the page and it works properly. On a next page: [[http://puppylinux.org/wikka/dpup]], you will see an important left rand informations group. I did try to realize these group with an include command but without success. In will use an { { include LeftRand } } instead of all the commands from following listing. can one of you help to make it working? center table width=98% border=0 cellspacing=3 cellpadding=7 bgcolor=#FFFFCC tr align=top td align=right width=99% h1 FONT face=Times New RomanibPuppy Linux Mini How-to  'b'i'font 'h1 'td 'tr 'table 'center table width=100% border=0 cellspacing=10 cellpadding=0 tr align=top td align=left valign=top bgcolor=#c8e3ff width=20% table cellspacing=0 border=0 tr td bBasics'b 'td 'tr tr td font face=Verdana   - a href=aboutAbout'a 'font 'td 'tr tr td font face=Verdana   - a href=installInstallation'a 'font 'td 'tr tr td font face=Verdana   - a href=startGetting Started'a 'font 'td 'tr tr td bSoftware'b 'td 'tr tr td font face=Verdana   - a href=wmWM'a 'font 'td 'tr tr td font face=Verdana   - a href=roxRox Filer'a 'font 'td 'tr tr td font face=Verdana   - a href=pgetPupGet'a 'font 'td 'tr tr td font face=Verdana   - font color=darkbluebDotpup'b'font 'font 'td 'tr tr td bHardware'b 'td 'tr tr td font face=Verdana   - a href=videoVideo'a 'font 'td 'tr tr td font face=Verdana   - a href=soundSound'a 'font 'td 'tr tr td font face=Verdana   - a href=networkNetworking'a 'font 'td 'tr tr td font face=Verdana   - a href=inputInput Devices'a 'font 'td 'tr tr td font face=Verdana   - a href=othersOthers'a 'font 'td 'tr tr td bGoodies'b 'td 'tr tr td font face=Verdana   - a href=gamesGames'a 'font 'td 'tr tr td font face=Verdana   - a href=linuxLinux Tutorial'a 'font 'td 'tr tr td font face=Verdana   - a href=moreMore'a 'font 'td 'tr tr td bLinks'b 'td 'tr tr td font face=Verdana   - a href=puplinksPuppy'a 'font 'td 'tr tr td font face=Verdana   - a href=morelinksOthers'a 'font 'td 'tr tr td bMiscellanea'b 'td 'tr tr td font face=Verdana   - a href=miscMisc'a 'font 'td 'tr 'table 'td -- NeW
I did try to use the same include to add the same "left rand" on all traduced pages by using the same include command, and it don't works properly: the HTML is always "on" the wiki content, never right of


Revision [13312]

Edited on 2006-02-26 20:49:42 by FrankChestnut [Smarty comment.]
Additions:
~~~~~~&As I am soon about to release my conversion of Wikka to the PostNuke CMS, you can see an example of a Smarty implementation on [[FrankChestnut my page]] along with the DatabaseAbstraction page I created recently while working on my module. Note also that my module will be multilingual although I'll still have to work with my collegues on the best solution for the various part of Wikka that can't be translated by a simple define. ;) -- FrankChestnut


Revision [10433]

Edited on 2005-08-04 17:51:59 by JavaWoman [fixing link]
Additions:
- [[http://templatepower.codocad.com Template Power]]
Deletions:
- [[http://www.templatepower.codocad.com Template Power]]


Revision [10430]

Edited on 2005-08-04 12:03:29 by NilsLindenberg [program added to list]
Additions:
- [[http://www.templatepower.codocad.com Template Power]]


Revision [8657]

Edited on 2005-05-29 09:29:02 by JavaWoman [moving to / adding (sub)categories]
Additions:
CategoryDevelopmentArchitecture CategoryLayout
Deletions:
CategoryDevelopment


Revision [7245]

Edited on 2005-04-13 18:55:44 by JavaWoman [some refactoring and adding a section from SuggestionBox]
Additions:
=====Using a templating system=====
===Templating systems under discussion===
====Discussion====
===Give control over HTML (using a templating system)===
//(copied from SuggestionBox --NilsLindenberg)//
===Editable header/footer===
//(moved from SuggestionBox --JavaWoman)//
It is quite cumbersome to edit the header and footer at the moment.
Some of it has to be done in the actions files, and the menuitems in the config file. This means I can't safely allow users to edit them.
What I would like, is a system that allows easy creation of non-default headers/footers (so you can get a different menu in different parts of the site).
--OnkelJonas
~&You may find the following pages interesting: UserMenus, WikkaMenus. --NilsLindenberg
Deletions:
=====Give control over HTML (using a templating system)=====
===Available Systems===
===Discussion===
(copied from SuggestionBox --NilsLindenberg)


Revision [7236]

The oldest known version of this page was created on 2005-04-13 17:42:32 by NilsLindenberg [some refactoring and adding a section from SuggestionBox]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki