|
|
New templates variable ($imagedir)
- Development Posted by jason (Thursday October 26 2000 @ 02:22PM EDT) views: 138 |
There was a problem with the templates and the images that they used. Some of the default template files had hardcoded img src="http://images.phpweblog.org/imagename.gif" tags causing sites that ran phpWebLog to pull these images from my server. The only way to fix this was to manually download the required images from phpweblog.org and manually change the template sources to reflect your localhost instead of phpweblog.org. A solution has been added.
$imagedir is a new variable that is available in all the template files. You'll also see a new directory (images/) under each of the template directory where the images should go. Any template that is created should have its images stored in this directory, and the template source should read src="$imagedir/imagename.gif".
Keep in mind that this is only for the latest unstable version, not 0.4.2, and there are no upgrade-helper scripts provided if you choose to run the unstable.
|
|
By mocha (Thursday October 26 2000 @ 06:21PM EDT)
|
as of lastnight, there were no new ALTER table sql script to upgrade from 0.4.2 to latest unstable either. Though you can diff the changes from 0.4.2 tables to latest tables, some may not be aware of it. but then again, it's unstable ;-)
|
[ reply | parent ]
|
|
|
|