Results 1 to 9 of 9

Thread: Help, I lost a block

  1. #1
    Join Date
    Jul 2002
    Location
    Riyadh, Saudi Arabia
    Posts
    236

    Default Help, I lost a block

    Hi
    I modefied one of the blocks to use it for adsense code, it worked, so I but back the original code and created a new one.

    The new one shows now, but not the old original block.

    I tried removing adsense block, reorgnising blocks but some strange thing happens

    Adsense is always there, the other block is not

    Indexu 5.4

    regards

  2. #2
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Each block needs to have it's own filename. And there are two parts to a block, a.php file and a .html file.

    Inside the .php file is the name of the .html file. If the correct name isn't there then the block won't work.

  3. #3
    Join Date
    Jul 2002
    Location
    Riyadh, Saudi Arabia
    Posts
    236

    Default

    and where are the .php blocks please?

  4. #4
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    in /root/blocks/

  5. #5
    Join Date
    Jul 2002
    Location
    Riyadh, Saudi Arabia
    Posts
    236

    Default

    Strange
    I created the php block, and deleted cache but still can not show old block

  6. #6
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    If it's not showing it then

    a) it doesn't exist
    b) it's not named properly inside the .php file and the .html file

  7. #7
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    Make sure your are also removing the /template_c files
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  8. #8
    Join Date
    Jul 2002
    Location
    Riyadh, Saudi Arabia
    Posts
    236

    Default

    Quote Originally Posted by FSGDAG View Post
    Make sure your are also removing the /template_c files
    ??
    there is on file (0 bytes) in there, should I delete it?

  9. #9
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    the function inside the php file has to be renamed to be the file name. have a read of this :

    http://indexu.co.uk/main/content/view/30/43/
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

Similar Threads

  1. Lost My 'Add Your Site' Page
    By exploreflorida in forum v5.x
    Replies: 2
    Last Post: 07-26-2007, 10:00 AM
  2. Lost license information
    By malibber in forum v5.x
    Replies: 0
    Last Post: 05-19-2007, 01:19 AM
  3. Lost original Indexu
    By alfo in forum v5.x
    Replies: 2
    Last Post: 01-17-2005, 06:58 AM
  4. I am lost...
    By HostReso in forum v5.x
    Replies: 3
    Last Post: 08-11-2003, 05:35 PM
  5. Lost Password...How to find it
    By fattymen in forum v5.x
    Replies: 1
    Last Post: 12-16-2001, 07:11 PM

Posting Permissions

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