|
|
adding a php script
Posted under Development by esoteric on Friday May 11 2001 @ 10:32AM EDT
|
I need help adding in scripts to phpweblog, can someone tell me how do do this... I tried just adding it into the header.tmpl, some of it was not there when the page loaded and the part that showed was complete garbage. Do I have to make another sql database to control that script?
http://1phpstreet.com/xq/ASP/txtCodeId.215/lngWId.8/qx/vb/scripts/ShowCode.htm
Above is a script that I am trying to add to my page:
http://www.projectedoutcome.net
I plan to move the counter and date to the top of my page. Any help that you can provide will help.
Has anyone changed the look of the story.php? I would like to change mine to something simpler/smaller.
Thanks!
|
|
|
jason writes on Friday May 11 2001 @ 10:08PM EDT: [ reply | parent ]
(this is when I wish I could quote the story)
I would try adding this code somewhere in include/footer.inc.php. As for the header,
include/header.inc.php is where the header is generated. The template files do not parse PHP without modification to include/layout.inc.php
For more on how to wrap phpWebLog around custom PHP, see http://phpweblog.org/stories.php?story=01/04/29/9490801
You can change the summary and story template file to look anyway you wish.
|
|
|
|