Warning: include(/home/.lurky/jenni/star-girl.org/skins/cookiecheck.php) [function.include]: failed to open stream: No such file or directory in /home/jenni/star-girl.org/pages/tutorials/gmtutorials/commentersphp.php on line 1

Warning: include() [function.include]: Failed opening '/home/.lurky/jenni/star-girl.org/skins/cookiecheck.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/jenni/star-girl.org/pages/tutorials/gmtutorials/commentersphp.php on line 1

Warning: include() [function.include]: Filename cannot be empty in /home/jenni/star-girl.org/pages/tutorials/gmtutorials/commentersphp.php on line 2

Warning: include() [function.include]: Failed opening '' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/jenni/star-girl.org/pages/tutorials/gmtutorials/commentersphp.php on line 2
Plugging Commenters in Greymatter using php


For this to work, you will need to rename all your .html files to .php, unless you have already done so :)

1. Paste this code into your 'Main Index' template:



2. You may have to change the archives path, which is located twice in the code - $archives_dir = "./archives"; - to your actual filepath. But try it without changing it first if you aren't sure :)
3. Now copy this code:

<?=plugs({{previousentrynumber}})?">

4. Now paste it into the 'Standard Entries' and 'Extended Entries' templates which can be found under the 'Index Entry Template', where you want your commenters to be plugged.


If this tutorial helped you, please link me on your site.

Star-Girl.org


Want another button? Click here.
Warning: include() [function.include]: Filename cannot be empty in /home/jenni/star-girl.org/pages/tutorials/gmtutorials/commentersphp.php on line 152

Warning: include() [function.include]: Failed opening '' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/jenni/star-girl.org/pages/tutorials/gmtutorials/commentersphp.php on line 152