+ Reply to Thread
Results 1 to 2 of 2

Install Dev-X(Blue) template

This is a discussion on Install Dev-X(Blue) template within the phpLD Support Help forums, part of the phpLD category; Hi, I just downloaded the dev-x(blue) phpld template. I read the installation note, in sentence No.2, 2. Open your init.php ...

  1. #1
    New Hunter teotrad is on a distinguished road
    Join Date
    Jul 2008
    Posts
    2

    Default Install Dev-X(Blue) template

    Hi,

    I just downloaded the dev-x(blue) phpld template. I read the installation note, in sentence No.2,

    2. Open your init.php in your root & search for this:

    // ----------------------------------

    Replace with this:

    // Main categories
    $mainCategs = $db->CacheGetAll("SELECT * FROM `{$tables['category']['name']}` WHERE `STATUS` = '2' AND `PARENT_ID` = 0 ORDER BY `".CATEG_FIELD_SORT."` ".CATEG_FIELD_SORT_ORDER);
    $tpl->assign('mainCategs', $mainCategs);


    // Latest Featured Links
    $latest_feat = $db->GetAll ("SELECT * FROM `{$tables['link']['name']}` WHERE `STATUS` = '2' {$expire_where} AND `FEATURED` = '1' ORDER BY `DATE_ADDED` DESC LIMIT 0, 10");
    $tpl->assign('latest_feat', $latest_feat );
    I don't understand quite clear about this sentence, can someone clarify for me? Which of the code I need to replace?

    Thanks

  2. #2
    Senior Staff Hunter1 has a brilliant future Hunter1 has a brilliant future Hunter1 has a brilliant future Hunter1 has a brilliant future Hunter1 has a brilliant future Hunter1 has a brilliant future Hunter1 has a brilliant future Hunter1 has a brilliant future Hunter1 has a brilliant future Hunter1 has a brilliant future Hunter1 has a brilliant future Hunter1's Avatar
    Join Date
    Mar 2007
    Location
    Indiana USA
    Posts
    1,108

    Default

    It is a very easy replacement.

    Just go to your phpLD main files in your Root folder and find your init.php

    I suggest starting from the bottom and go up until you find the // ----------------------------------

    Delete it and replace with the code provided and thats it!

    Please post all future support issues for any of our templates in the specific template release threads.

+ Reply to Thread

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