Monday, September 21, 2009

MC Story path update

I originally believed that the Pligg software followed a basic path of sequential files, each file calling the next in line, i.e.

index.php - templates/wistie/Pligg.tpl - templates/wistie/index_center.tpl - libs/link_summary.php - link_summary.tpl


This was wrong; it actually goes

index.php - templates/wistie/Pligg.tpl - templates/wistie/index_center.tpl - link_summary.tpl
- libs/link_summary.php -

With index.php calling both pligg.tpl and link_summary.php! The link_summary_output is created here, in index.php, which is why adding code further down in pligg.tpl and index_center.tpl didn't affect the link_summary_output; it was already defined!


No comments:

Post a Comment