Question #42654 on phpns changed:

    Status: Open => Answered

alecwh proposed the following answer:
You'll need, first, to understand static variables. They are documented
in the help.php file.

So, for the 'headlines' inclusion, I would use this:

        $phpns['template'] = HEADLINE_ID;
        $phpns['static'] = TRUE;
        $phpns['script_link'] = 'news.php';

The "script_link" pre-include variable is optional. You can leave it
out, and it will just link to the current file.

Now, on news.php (or, just somewhere else on that file if you don't use
script_link), just use your regular include code.

Modify the template you used to: 
<div style="border:1px solid black; background-position:center center; 
background-image: url({image_location}); overflow:hidden; width:50; 
height:50;"><img width="50" height="50" src="img/blank.gif" border="0"></div><a 

You received this question notification because you are a member of
Phpns-team, which is an answer contact for phpns.

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to