FILExt
01-16-2005, 11:44 PM
Is there a place where the rules for creating a new panel are outlined (PHP version)? I'd love to understand how to add a new panel but am a bit slow on understanding other people's code.
As an example, I'd like to add some static text to the default left column panel. Right now, on the template I'm using that consists of a PHP file that actually consolidates a few other panels and an HTML file that is completely blank. I've tried adding to the HTML file but it is always ignored.
I'm gathering from other panels that the PHP file generates data placed into a variable and the HTML file somehow calls and uses that variable (a very general description of my understanding so far), but have no grasp of the details of just how that works.
So, the question: Is there a general tutorial somewhere? I found none on the site nor, in a quick look, anywhere here in the forum. But, maybe someone has one on some other fan site (I hope).
Lacking that, how do you add static text to the left column?
TIA
As an example, I'd like to add some static text to the default left column panel. Right now, on the template I'm using that consists of a PHP file that actually consolidates a few other panels and an HTML file that is completely blank. I've tried adding to the HTML file but it is always ignored.
I'm gathering from other panels that the PHP file generates data placed into a variable and the HTML file somehow calls and uses that variable (a very general description of my understanding so far), but have no grasp of the details of just how that works.
So, the question: Is there a general tutorial somewhere? I found none on the site nor, in a quick look, anywhere here in the forum. But, maybe someone has one on some other fan site (I hope).
Lacking that, how do you add static text to the left column?
TIA