Mister Risk wrote:
1. Is there a more detailed document that I can find to understand how
themes and templates work in Laconi.ca other than the readme file in
the themes folder?
I don't think so. Note that the themes folder doesn't describe the
TemplatePlugin.
2. I see in the /tpl folder there is an index.php file that seems to
be a template of a HTML file that can be changed to create my own
design, other than just CSS and image changes.
However, when I make changes to this file nothing happens to the website.
You need to activate the TemplatePlugin; read on.
3. Is this because in /index.php in the root folder the
define('LACONICA', true); is set to true?
No.
5. So, I looked at the only other place that seems to reference the
template, which is in /config.php.sample.
# Use Templating (template: /tpl/index.php)
# require_once('plugins/TemplatePlugin.php');
# $tpl = new TemplatePlugin();
I tried to uncomment these lines to see if any change occurs on a
reinstall, but I still don't see any change.
You need to copy them to config.php and uncomment them.
config.php.sample just has sample bits of things you can do to turn on
and off stuff in config.php.
Is there any way I can edit the HTML template of Laconi.ca through
/tpl/index.php? Where can I find information for how this works?
It's an undocumented plugin. It's not the recommended way to change the
layout of the site; I'm not sure it's fully functional for all pages,
and I'm not sure anyone's keeping it up-to-date.
The recommended way to change the look and feel of the site is to make
new themes. There are a few examples in the main download tarball. If
you need to actually change the HTML, look into creating a plugin.
-Evan
_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev