parsing a new content category

nvictor

No avatar

2006-05-03 20:34

I have just written a throw4lastProducts scripts, that will be formatted with the original products listing template.

I have created a new content category "4last", the problem is that my script is based on throwlastProduct script, so I end up with a string, "$sLast4Products" that contain the html code. The problem is that I can't just put the string "$sLast4Products" in the new content category that I've created, it won't be parsed.

I've started analysing the code "index.php" for some help. It's rather complicated.

What I want to know is how do I know that my new content category is being accessed and how do I parse content for it to be output? I'm trying to follow what have been written for "contact" but I don't get it at all.

Can somebody give a hand? Treewood?

thanks a good load in advance :)

nvictor

~12345

No avatar

2006-05-03 20:59

Would You publish script on GPL licence?

tech test

nvictor

No avatar

2006-05-03 21:01

sure

nvictor

nvictor

No avatar

2006-05-03 21:32

Nevermind, I've made it.
After some polishing I'll publish the code.

nvictor

Back to top
about us | contact