Results 1 to 4 of 4

Thread: How to INCLUDE pages in vshare

  1. #1

    Default How to INCLUDE pages in vshare

    Simple piece of code to include pages into vshare

    {php}
    virtual ("/toplist.html");
    {/php}

    Should work for everyone :wink:

  2. #2
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: How to INCLUDE pages in vshare

    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!

  3. #3

    Default Re: How to INCLUDE pages in vshare

    Quote Originally Posted by carefree
    Simple piece of code to include pages into vshare

    {php}
    virtual ("/toplist.html");
    {/php}

    Should work for everyone :wink:
    Where do you put this code? Does it add php functions to pages?

  4. #4
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: How to INCLUDE pages in vshare

    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!

Similar Threads

  1. how do u include php code in the add pages feature
    By leki in forum General Discussions
    Replies: 16
    Last Post: 07-19-2008, 03:06 AM
  2. Displaying vShare RSS Feeds on html pages
    By grynmoors in forum General Discussions
    Replies: 4
    Last Post: 07-18-2008, 10:37 AM
  3. How To Do a PHP file Include??? Help?
    By musictvblogger in forum Installation Support
    Replies: 8
    Last Post: 06-11-2008, 05:23 AM
  4. How To Use PHP Include <?php include(''); ?>
    By scwebmaster in forum General Discussions
    Replies: 5
    Last Post: 02-21-2008, 09:12 PM
  5. Update the include components vshare uses
    By leki in forum Feature Requests
    Replies: 1
    Last Post: 07-16-2007, 10:03 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •