Quote:
Originally Posted by Robert Waanders
Thanks for your reaction, Ok, I've placed <!--@vbbanners:%d@--> in the header and in the options, is that ok? I still have nothing on my screen... (there's something missing... i Think but I don't see it...
Robert
|
You have to place <!--@vbbanners:%d@--> in the options and <!--@vbbanners:0@--> in the template, in order to:
- make the placeholder dynamic: <!--@vbbanners:%d@-->
- show a rotating banner in position 0: <!--@vbbanners:0@-->
Concept of the placeholder: Common string which may become <!--@vbbanners:0@--> to <!--@vbbanners:9@--> by
code. %d is a C++/PHP formatting placeholder which makes it possibile to script numeric formatting instead of hardcoding. Normally, you would simply ignore the presence of this option. Adversely, you would change this option, only if <!--@vbbanners:%d@--> does not work in your system.
Concept of a banner: Numeric constant which represents a number of banners to be shown at a position between 0-9. The script searches for <!--@vbbanners:0@--> to <!--@vbbanners:9@--> (previously inserted in your templates) and replaces each occurence, if available with a randomly assigned banner, to be shown at exactly that position.