Dan,

I added [(pagecount output=false)] to the top and it worked. I only
have {pgcount} in the bottom and it works there as well.

Actually tried it after upgrading so I assume it would have worked
with 3.11....

Thanks.

I need to spend some time playing with the Boltwire syntax.... will
most likely come up with some examples that might help others when I'm
done.  Still getting used to the syntax.


Example of the ob_ stuff..

This is especially useful for debugging...

In the script I have something like:

ob_start();
echo "Dir = " . $counterdir . "\n";
echo "Page = " . $pageLink . "\n";
$BOLTvar['$pgerror'] = ob_get_contents();
ob_end_clean();

The echo's will display the info I want but not when the script is
running.  The output from them is stored until I stuff the results
into $BOLTvar['$pgerror'] using the ob_get_contents().

This way, when the function is complete, the output from those
debugging outputs are stored and I can see them where I want to see
them in the system using the system var of {pgerror}

This allows you to add debug statements in the script without messing
up the output.

It also lets you do goings like take the output of print_r($BOLTvar)
and save it to a file or store it into a variable like I did above.

I used it in the script so that I could see that the counter directory
was correct and that I was seeing the correct page when I used it.




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to