Making extra pages in phplinkbid directories

Discussion in 'Directories' started by jminscoe, Sep 16, 2007.

  1. #1
    Does anyone know how to go about making an extra page in your phplinkbid directory as extra content as I want to make a page for downloads of phplb templates
     
    jminscoe, Sep 16, 2007 IP
  2. mikey1090

    mikey1090 Moderator Staff

    Messages:
    15,869
    Likes Received:
    1,055
    Best Answers:
    0
    Trophy Points:
    445
    Digital Goods:
    2
    #2
    create a file called yourtemplate.tpl

    upload it to tpl / your template name

    make a file called yourfile.php

    upload it to content folder

    add this code to it

    
    <?php
    
    
    	$tpl->define('links', 'yourtemplate.tpl');
        	$tpl->parse('links');
    
    $tpl->assign('linkstyle', 'link' . $cfg->getVar('page_flag'));
    $cfg->setVar('page_title', 'Your directory test page');
    
    ?>
    
    PHP:
    go to

    www.your-directory.com/yourfile.html :)
     
    mikey1090, Sep 16, 2007 IP
  3. jminscoe

    jminscoe Peon

    Messages:
    1,223
    Likes Received:
    119
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thank you Mike
     
    jminscoe, Sep 16, 2007 IP
  4. Ibn Juferi

    Ibn Juferi Prominent Member

    Messages:
    6,221
    Likes Received:
    365
    Best Answers:
    0
    Trophy Points:
    310
    #4
    This is an interesting mod, you should post it in your blog Mike.
     
    Ibn Juferi, Sep 16, 2007 IP
  5. scripts

    scripts Banned

    Messages:
    63
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You can also create a page from site admin > site pages > create page
    am i right?
     
    scripts, Sep 16, 2007 IP
  6. deluxdon

    deluxdon Catch Me If You Can...!!!™ Staff

    Messages:
    25,481
    Likes Received:
    1,943
    Best Answers:
    32
    Trophy Points:
    480
    #6
    Yes you are right scripts. You can also create a page from this option.

    I have added 'Advertisers' page same way to by deeplinks bidding directory.

    BTW thanks for this useful info Mike :)
     
    deluxdon, Sep 16, 2007 IP