Simple piece of code to include pages into vshare
{php}
virtual ("/toplist.html");
{/php}
Should work for everyone :wink:
Simple piece of code to include pages into vshare
{php}
virtual ("/toplist.html");
{/php}
Should work for everyone :wink:
Thanks for making this post "fresh" again.
While on the "php include" topic: There are also ways of creating (adding) pages outside of the admin control panel so that your pages will have the php extention (like the rest of the site) instead of html extention (which the admin control panel creates). The pages will have the footer, header, etc and look just like the rest of your site.
If anybody needs more info, just do a forum search for "php include" and you'll get quite a few links. Heres'a a couple to get you started:
viewtopic.php?f=8&t=2805
viewtopic.php?f=8&t=1155
If it's not fun, stop doing it!
Where do you put this code? Does it add php functions to pages?Originally Posted by carefree
I have found that "virtual' didn't work for something that I was trying to do once, don't ask me what I don't remember anymore. :)
Did you do a forum search? "PHP Include" has been discussed, in depth, many times. Perhaps if you ask in the forums where this has already been discussed...
There's even example code for making pages that are member only pages and for pages viewable by everyone. Please search the forums. :D
If it's not fun, stop doing it!
Bookmarks