Search found 4 matches

by netdominus
Tue Jul 17, 2007 7:31 am
Forum: General discussions
Topic: php includes in tpl files
Replies: 2
Views: 6196

Are there guidance notes on how to do this?

I did try using a placeholder in the index.tpl file:

{msgQuote}

and put the following in the language file:

$PMF_LANG["msgQuote"] = "<?php include ('../ssi/quotes/rotate.php') ?>";

and in the index.php:

$main_template_vars = array(
...
'msgQuote' => $PMF_LANG['msgQuote'],
...
}

but all ...
by netdominus
Mon Jul 16, 2007 11:47 pm
Forum: General discussions
Topic: php includes in tpl files
Replies: 2
Views: 6196

php includes in tpl files

I have searched in the forums, but can't find anything on this...

I would like to have a php include

<?php include ('../ssi/quotes/rotate.php') ?>

in the index.tpl file, but if I add the code directly, the entire block disappears. I have tried creating a variable in the language file and ...
by netdominus
Fri Jul 13, 2007 11:04 am
Forum: Proposals
Topic: How about a facility to read all category articles in order?
Replies: 1
Views: 8316

How about a facility to read all category articles in order?

I can be a bit sad with FAQ/Knowledgebases and (particularly for a new subject) like to read all articles.
Is it/would it be possible to add functionality to add navigation links on articles to:

<- Read Previous article :: Read Next article ->

based on the display order within a category?
by netdominus
Sun May 27, 2007 7:27 pm
Forum: Bug reports
Topic: No listing of records in categories
Replies: 22
Views: 29296

Changed Permission to Medium, but no joy

I have the same problem, and although changed permission to Medium, but this has not resolved the problem. Any suggestions?