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?
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. /tpl/index.php
It seems that I can move around sections of the web site and add my
own HTML markup code.
<div id="aside_primary" class="aside">
<?php echo section('export'); ?>
<?php echo section('subscriptions'); ?>
<?php echo section('subscribers'); ?>
<?php echo section('groups'); ?>
However, when I make changes to this file nothing happens to the website.
3. Is this because in /index.php in the root folder the
define('LACONICA', true); is set to true? I tried to set this to
false, and there is still no change.
4. I looked in /plugins/TemplatePlugin and I find this code:
if (!defined('LACONICA')) {
exit(1);
}
and I assumed if LACONICA is defined as true, it drops out of the
TempatePlugin code. I tried to comment this if statement out, but it
still changes nothing for the template.
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.
-----
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?
Thanks
MR
_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev