Results 1 to 10 of 25

Hybrid View

  1. #1
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Problem with sidebox image

    I may not understand, but in Admin - Tools - Banner Manager, there is a box in each banner setup page where you can enter your HTML for that banner.

    I would use the Blank Sidebox mod for what you're describing, though.

  2. #2
    Join Date
    Jan 2011
    Location
    Texas, USA
    Posts
    171
    Plugin Contributions
    0

    Default Re: Problem with sidebox image

    Hi Steve,
    I was not sure if I am doing it correct, so I look everywhere before asking for help.
    I looked at the Banner manager but was not sure if this was correct. I thought this is only for zen cart banners.
    Also, I looked in Tools/layout box controller but I do not see Blank Sidebox. I am using Barebones template.

    thank you
    Ivanna

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Problem with sidebox image

    Blank Sidebox is a mod you can download from Free Addons at the top of this page. It is ideal for new content like you want.

    Install it and modify / add content as you like.

  4. #4
    Join Date
    Jan 2011
    Location
    Texas, USA
    Posts
    171
    Plugin Contributions
    0

    Default Re: Problem with sidebox image

    Everything on my site disappeared

    I have a problem with Blank Sidebox Mod even so I follow all the instructions.

    I think the problem is because when I make changes in Crimson Editor, I did not save with an extension name
    I did not know this until after I upload everything to the server.

    Even so I remove the bad files and replace with proper files with extension .php, the Admin still says "Missing" and in two instant show Box File Name of files without the extension.

    I delete these files with Filezilla and also go into cPanel to search and delete them.
    A file search in cPanel now only shows correct files in correct places but Admin does not update.

    One box file name shows Red. The file name is sideboxes/barebones/ebook_sidebox.php - sideboxes/barebones/ is Red. When I turn this file on, I lose everything. When I turn it off, everything comes back.

    There are two sideboxes/ebook_sidebox that have red highlight and the words MISSING - these files should be gone.

    I have also loaded from last nights backup and re-added the sidebox files, but it is still the same.

    (I only do this today so the backup is clean)

    I think Admin should update when I have deleted the files. It still shows the old files.

    The correct files should be:
    includes/languages/english/extra_definitions/barebones/ebook_sidebox_defines.php
    includes/modules/sideboxes/barebones/ebook_sidebox.php
    includes/templates/barebones/sideboxes/tpl_ebook_sidebox.php

    How can I update Admin to show me the correct files?

    thank you
    Ivanna

  5. #5
    Join Date
    Jan 2011
    Location
    Texas, USA
    Posts
    171
    Plugin Contributions
    0

    Default Re: Problem with sidebox image

    I have found how to delete the MISSING files but I still have the sideboxes/barebones/ebook_sidebox.php as RED
    When I turn this file on everything disappears.

    I think it must be something in the path that is wrong (because it is red)

    The instruction say use this path
    includes/modules/sideboxes/YOUR_TEMPLATE_NAME/blank_sidebox.php

    I use
    includes/modules/sideboxes/barebones/ebook_sidebox.php

    thank you
    Ivanna

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Problem with sidebox image

    The sideboxes/barebones/ebook_sidebox.php is meant to be red, because it is a custom template file and not a default file. That is not related to the problem.

  7. #7
    Join Date
    Jan 2011
    Location
    Texas, USA
    Posts
    171
    Plugin Contributions
    0

    Default Re: Problem with sidebox image

    Thank you gjh42,

    the red words make sense, I understand that now. what I do not understand is what I do wrong!

    In all three files, I change each instant of blank_sidebox to ebook_sidebox and BLANK_SIDEBOX to EBOOK_SIDEBOX

    I have put original code beside my changes and check it word for word and do not see a difference (only ebook for blank and EBOOK for BLANK)

    I have checked the path for each file with the instruction they are:

    includes/languages/english/extra_definitions/barebones/ebook_sidebox_defines.php
    includes/modules/sideboxes/barebones/ebook_sidebox.php
    includes/templates/barebones/sideboxes/tpl_ebook_sidebox.php


    When I turn it ON in Admin, I lose everything except the page header.
    I see I have not set a sort order, so I give it sort order of 2. Now I see the sidebox that is set to sort 1, but I do not see my new sidebox or any other side boxes or the main page area or footer.

    Now I make sort to 10.
    Now I see all sideboxes except mine and I still do not see the main page area or footer.

    From my troubleshooting, I see one of the files is stopping everything else on the page from working but I do not understand PHP very well. I have looked at all the code and what I make out of the code is this:

    ebook_sidebox_defines.php, I can define any words within ' ' this is title and text
    tpl_ebook_sidebox.php, I can make changes within <p> tags line 19 & 20
    ebook_sidebox.php calls /tpl_blank_sidebox.php and pulls $title from ebook_sidebox_defines.php

    So if I understand this correctly, then I do not know what is wrong. The only thing I think of is the path but I have checked it 1000 times already. (well, not 1000 but many times )

    Your help is very appreciated.

    thank you
    Ivanna
    Last edited by Ivanna; 2 Sep 2011 at 03:33 PM.

 

 

Similar Threads

  1. Problem with Sidebox
    By Interdigital_Designs in forum General Questions
    Replies: 7
    Last Post: 23 Aug 2011, 04:27 PM
  2. Sidebox content image placement problem
    By BenLit2009 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 28 Jul 2010, 06:31 AM
  3. Sidebox Table & Image Problem
    By anaesthesiac in forum Basic Configuration
    Replies: 30
    Last Post: 27 Nov 2009, 01:52 AM
  4. Problem with: Can I Use An Image For the Sidebox Header? Tutorial
    By mipavluk in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Oct 2008, 09:59 PM
  5. Single Sidebox for External File image problem
    By aunrea in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 5 Jul 2007, 09:32 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
  •  
disjunctive-egg