Re: Single Menu Page with Bv and PHP
1. It is not necessary to edit the file code. Simply publish the menu anywhere, and the images will be also published. Then go back in BV, and, in the place of the image location (c/documents/.....) place http://www.yourdomain.com/path/to/bv01016.gif where, obviously, path/to is the actual path to the folder of the menu. PUBLISH the page again and you are done.
Or, do it straight way, in order to avoid publishing twice, and use the File publisher (embedded in BV) to simoultaneously upload the pictures.
2. Yes, it is quite possible, i simply wanted to keep that simple. In fact, not one person here has ever wondered why I have put that as a function and not as a direct include. A function would allow, for more advanced users, to define their own parameters for the menu, thus being able to change colours, buttons etc.
3. The src = "http//xxx.biz/file.js" is a different thing. The "include" command is (usually) disabled for URLs.
1. It is not necessary to edit the file code. Simply publish the menu anywhere, and the images will be also published. Then go back in BV, and, in the place of the image location (c/documents/.....) place http://www.yourdomain.com/path/to/bv01016.gif where, obviously, path/to is the actual path to the folder of the menu. PUBLISH the page again and you are done.
Or, do it straight way, in order to avoid publishing twice, and use the File publisher (embedded in BV) to simoultaneously upload the pictures.
2. Yes, it is quite possible, i simply wanted to keep that simple. In fact, not one person here has ever wondered why I have put that as a function and not as a direct include. A function would allow, for more advanced users, to define their own parameters for the menu, thus being able to change colours, buttons etc.
3. The src = "http//xxx.biz/file.js" is a different thing. The "include" command is (usually) disabled for URLs.
Comment