Results 1 to 10 of 19

Hybrid View

  1. #1
    Join Date
    May 2010
    Location
    Athens, Greece
    Posts
    292
    Plugin Contributions
    0

    Have a Drink Thanks for an excellent Blank Sidebox

    I downloaded, easily installed and customised Kuroi's blank sidebox from http://www.zen-cart.com/index.php?ma...roducts_id=174.

    Thanks to its simplicity and very clear instructions, I was able to quickly customise two different boxes in two languages and add my HTML.

    It's always great to find nice and easy-to-implement modules. Thanks Kuroi and keep up the good work!

  2. #2
    Join Date
    Jul 2010
    Posts
    100
    Plugin Contributions
    0

    Default Re: Thanks for an excellent Blank Sidebox

    I'm glad you figure it out! I installed it and don't know what to do..

    How about helping me out in plain easy 5th grade language!

    I want a new side box with only a picture (I don't know how to do <img stuff>)

    and if you don't mind.. I want a another sidebox where people can click on my Icon homepage and be redirected to my homepage in a new window..

  3. #3
    Join Date
    May 2010
    Location
    Athens, Greece
    Posts
    292
    Plugin Contributions
    0

    Default Re: Thanks for an excellent Blank Sidebox

    I'll be glad to help as much as I can but ...tomorrow. I don't know where you are located but I'm in Greece and it is nearly midnight now. Actually, one of the two blank sideboxes I mentioned, is on the left side column showing the current time in Athens.

    If you don't mind, post your URL and I'll be back tomorrow.

    Cheers and have a nice evening (or day) for now.

  4. #4
    Join Date
    May 2010
    Location
    Athens, Greece
    Posts
    292
    Plugin Contributions
    0

    Default Re: Thanks for an excellent Blank Sidebox

    Hi, it's morning now and I'm back.

    Before doing anything, please read the whole post. Also, when changing anything in the files, make sure that you don't accidentally delete any apostrophe (single quote) in the code. If you want to include any apostrophes in your header or box text, remember to escape them, i.e. put a backslash, "\" before them (for example George\'s box).

    I'll explain what I did and you can easily make the changes you need. If you load my site and switch to English by clicking on the flag in the top navigation bar, you will see one box with a clock on the left sidebar and another with a Live Help icon and some text on the right sidebar.

    First of all, I unzipped the module and then copied all files in another folder. Leaving the original files intact, I used the new folder and changed all ocurrences of blank or BLANK to chat and CHAT (for the Live Help box). In another copy of the original files, I changed blank and BLANK to time and TIME (for the clock box). Next time I will need to add another box called "whatever", I will create another copy and change blank and BLANK to whatever and WHATEVER and so on for any additional boxes. If I left blank and BLANK as in the original, every new box would overwrite the previous one since all definitions and file names would be identical. You can of course use other naming conventions like blank2, blank3 etc but I have used this method to help me easily identify which file does what without having to open them and see their contents.

    As there are very few files, it's easy to rename the file names as above. But, what is more important, is to open each of them and make the changes to their contents as well.

    So far, so good (I hope). You should now have a set of files named xxxx with all their contents changed from blank to xxxx as well.

    Now, open the file /includes/templates/template_default/sideboxes/tpl_xxxx_sidebox.php and change the two lines from:

    Code:
    $content .= '<p>' . TEXT_XXXX_SIDEBOX . '</p>';
    $content .= '<p>You can include text, links, images, HTML markup and even PHP code</p>';
    to:

    Code:
    $content .= '' . TEXT_XXXX_SIDEBOX . '';
    $content .= '';
    Save it and open the file /includes/languages/english/extra_definitions/xxxx_sidebox_defines.php

    Change the two lines from:

    Code:
    define('BOX_HEADING_XXXX_SIDEBOX', 'Blank Sidebox Header');
    define('TEXT_XXXX_SIDEBOX', 'Replace this text with your HTML content.');
    to:

    Code:
    define('BOX_HEADING_XXXX_SIDEBOX', 'yyyyyyyyyyyyyy');
    define('TEXT_XXXX_SIDEBOX', '<img src="the url of your image" height="zzz" width="zzz" border="0" alt="zzzzzzzz" title="zzzzzzzz"><a href="the url of your link" target="_blank" alt="zzzzzzzz" title = "zzzzzzzz"><br />any text you want to have below the icon');
    where yyyyyyyyyyyyyy is the title you want the box to have and zzz are your preferred values. Save the file and you are done.

    Before uploading to your server, backup everything. I always do a full backup of the database and the files.

    Then FTP the whole includes folder into your home directory and check your site for the new box. From then on, you can control its position (left or right sidebar, above or below other boxes) from your Administration > Tools > Layout Boxes Controller.

    Simple, wasn't it? Good luck and please report back when you have it installed and working.

  5. #5
    Join Date
    Feb 2009
    Posts
    861
    Plugin Contributions
    0

    Default Re: Thanks for an excellent Blank Sidebox

    I did install that blank sidebox and it seems ok except for the fact that the image is not the clickable element, but a border right underneath it. Could you point me to where i might have made a mistake?

    My store is http://creationcassel.com/store

    After that, i will have to add to the French language.

  6. #6
    Join Date
    May 2010
    Location
    Athens, Greece
    Posts
    292
    Plugin Contributions
    0

    Default Re: Thanks for an excellent Blank Sidebox

    Hi Carole, I've seen your site and, if you are talking about the box titled "PSP Resources", the image is clickable and the box is installed in the French language as well.

    I can assume that you either found your way around and there's no pending issue or that I'm looking at the wrong box.

    If you want, I can send you all the files used to make my "Secure Payments" box in English and Greek and just change the image and text to create your own boxes (that's in case you want to add text below the image like I've done).

  7. #7
    Join Date
    Jul 2010
    Posts
    100
    Plugin Contributions
    0

    Default Re: Thanks for an excellent Blank Sidebox

    Hello! I love greek food! So tasty and favorful and all that Meat!! An older greek guy I just to work with, made me some greek rice and It was the best rice I ever tasted!!! He would cook the rice, then spread it out on a flat sheet pan and coat it with butter and olive oil and salt and just put it in the oven under the broiler. I tried it at home.. nothing close to his rice. He must have done something more!!

    I'm still confuse at the instructions.

    I unzipped the zip file. Now I have a Includes Folder with three extra folders. Languages, Modules, Templates.. I got that far!!

    I used the new folder and changed all ocurrences of blank or BLANK to chat and CHAT (for the Live Help box).

    ?? Where do I change the blanks? In which folder? Or do I drag the folders first into the Right hand side of the FTP side?

    I always get confuse about that.. Do I just take the whole Includes folder and just drag it into the root folder.. Or do I click on each folder (ex. Languages) and keep on clicking and locating the files on the Right (zen cart folders) to find it and then drag the file in?

    If so Do I drag it into my Personal Template folder? Instead of finding the Language folder and then the English and then Extra Definitons and then drag the blank_sidebox_defines php in there?

    thanks!
    Quote Originally Posted by Athens Collectibles View Post
    Hi, it's morning now and I'm back.


    First of all, I unzipped the module and then copied all files in another folder. Leaving the original files intact, I used the new folder and changed all ocurrences of blank or BLANK to chat and CHAT (for the Live Help box). In another copy of the original files, I changed blank and BLANK to time and TIME (for the clock box). Next time I will need to add another box called "whatever", I will create another copy and change blank and BLANK to whatever and WHATEVER and so on for any additional boxes. If I left blank and BLANK as in the original, every new box would overwrite the previous one since all definitions and file names would be identical. You can of course use other naming conventions like blank2, blank3 etc but I have used this method to help me easily identify which file does what without having to open them and see their contents.

    As there are very few files, it's easy to rename the file names as above. But, what is more important, is to open each of them and make the changes to their contents as well.

    So far, so good (I hope). You should now have a set of files named xxxx with all their contents changed from blank to xxxx as well.

    Now, open the file /includes/templates/template_default/sideboxes/tpl_xxxx_sidebox.php and change the two lines from:

    Code:
    $content .= '<p>' . TEXT_XXXX_SIDEBOX . '</p>';
    $content .= '<p>You can include text, links, images, HTML markup and even PHP code</p>';
    to:

    Code:
    $content .= '' . TEXT_XXXX_SIDEBOX . '';
    $content .= '';
    Save it and open the file /includes/languages/english/extra_definitions/xxxx_sidebox_defines.php

    Change the two lines from:

    Code:
    define('BOX_HEADING_XXXX_SIDEBOX', 'Blank Sidebox Header');
    define('TEXT_XXXX_SIDEBOX', 'Replace this text with your HTML content.');
    to:

    Code:
    define('BOX_HEADING_XXXX_SIDEBOX', 'yyyyyyyyyyyyyy');
    define('TEXT_XXXX_SIDEBOX', '<img src="the url of your image" height="zzz" width="zzz" border="0" alt="zzzzzzzz" title="zzzzzzzz"><a href="the url of your link" target="_blank" alt="zzzzzzzz" title = "zzzzzzzz"><br />any text you want to have below the icon');
    where yyyyyyyyyyyyyy is the title you want the box to have and zzz are your preferred values. Save the file and you are done.

    Before uploading to your server, backup everything. I always do a full backup of the database and the files.

    Then FTP the whole includes folder into your home directory and check your site for the new box. From then on, you can control its position (left or right sidebar, above or below other boxes) from your Administration > Tools > Layout Boxes Controller.

    Simple, wasn't it? Good luck and please report back when you have it installed and working.

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

    Default Re: Thanks for an excellent Blank Sidebox

    Before you get into FTP, as AthensCollectibles says, just unzip the mod and copy the whole thing to a temporary folder on your computer. In that temporary folder, change file/folder names, constant names, etc. as he described. Once that is all done, FTP the whole /includes/ folder from your temporary folder to your server.
    "Do I just take the whole Includes folder and just drag it into the root folder."
    Yes.

 

 

Similar Threads

  1. v150 Blank Sidebox Blank Page after adding code for livechat software
    By whatisthat456 in forum Basic Configuration
    Replies: 8
    Last Post: 3 May 2012, 10:40 AM
  2. v150 Blank Sidebox for 1.5
    By waltman in forum Addon Sideboxes
    Replies: 1
    Last Post: 16 Mar 2012, 12:31 AM
  3. Blank side for sidebox layout ?
    By verktygspartner.se in forum Addon Sideboxes
    Replies: 2
    Last Post: 16 Aug 2011, 01:37 PM
  4. Blank Sidebox Mod - remove a blank sidebox
    By PJD in forum Basic Configuration
    Replies: 4
    Last Post: 14 Mar 2008, 02:09 PM
  5. User update for Blank Sidebox
    By Gladys_Pym in forum Addon Sideboxes
    Replies: 2
    Last Post: 10 Aug 2007, 09:28 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR