Page 24 of 34 FirstFirst ... 142223242526 ... LastLast
Results 231 to 240 of 332
  1. #231
    Join Date
    Apr 2007
    Posts
    23
    Plugin Contributions
    0

    Default Re: Admin-Editable Sidebox - Support Thread

    Quote Originally Posted by formadmirer View Post
    Anyone needing the same thing (sidebox on non-ssl pages only) try this, it worked for me.

    in
    /includes/modules/sideboxes/sideboxname.php
    (where 'sideboxname' is the name of your sidebox)

    just replace this:
    // test if box should display
    $show_sideboxname = true;

    with:

    // show only on non-secure pages
    switch ($request_type) {
    case ('SSL'):
    $show_sideboxname = false;
    break;
    case ('NONSSL'):
    $show_sideboxname = true;
    break;
    }

    The box will show on non-SSL pages only.
    I am having the same issues on my site (www.AllClaveParts.com) with the editable sideboxes showing up on secure pages.

    I use the editable side box in two places and it has been really great.

    When the problem was brought to my attention by my host, I found this thread and followed your instructions copying and pasting.

    Both boxes have disappeared. Am I missing something?

    Thanks to everyone for all of the great contributions and support

    Wally

  2. #232
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Admin-Editable Sidebox - Support Thread

    After the IF test for secure ... is there an IF surrounding the rest of the code in the sidebox based on the results?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #233
    Join Date
    Dec 2008
    Posts
    49
    Plugin Contributions
    0

    Default Re: Admin-Editable Sidebox - Support Thread

    Hi,

    ESB is correctly installed but doesn't show in Admin/tools/edit pages

    Any clue ?

    Thanks..

  4. #234
    Join Date
    Apr 2007
    Posts
    23
    Plugin Contributions
    0

    Default Re: Admin-Editable Sidebox - Support Thread

    Quote Originally Posted by Ajeh View Post
    After the IF test for secure ... is there an IF surrounding the rest of the code in the sidebox based on the results?
    As it turned out, it was my stupidity. I did not change the names inside of the statement I copied and pasted, to reflect the names of my sideboxes.

    My host (camelot-hosting) quickly found the omission and told me how to fix it. All done and working perfectly.

    Thanks to everyone

    Wally

  5. #235
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Admin-Editable Sidebox - Support Thread

    Thanks for the update of what the problem was that was causing this issue ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #236
    Join Date
    Jan 2010
    Posts
    31
    Plugin Contributions
    0

    Default Re: Admin-Editable Sidebox - Support Thread

    I have installed but can't edit from the Define Pages Editor.

    It says:

    Error: I can not write to this file. Please set the right user permissions on: /home/box/domains/natureinabox.com.my/public_html/includes/languages/english/html_includes/define_editable_sidebox_content.php

    What should I do to correct it?

  7. #237
    Join Date
    Oct 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: Admin-Editable Sidebox - Support Thread

    I've installed it fine for one version but multiple sideboxes seem to be pulling the same data from the first. i copied and renamed the additional files from the first one.

    are there any additional changes that need to be done?

  8. #238
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Admin-Editable Sidebox - Support Thread

    Quote Originally Posted by cocolala View Post
    I have installed but can't edit from the Define Pages Editor.

    It says:

    Error: I can not write to this file. Please set the right user permissions on: /home/box/domains/natureinabox.com.my/public_html/includes/languages/english/html_includes/define_editable_sidebox_content.php

    What should I do to correct it?
    You need to make the file writeable. You web hosting account should have a file manage in its control panel that would allow you to do this. The tool you use to FTP the files into your hosting account may also allow this.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  9. #239
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Admin-Editable Sidebox - Support Thread

    Quote Originally Posted by chanrkl View Post
    I've installed it fine for one version but multiple sideboxes seem to be pulling the same data from the first. i copied and renamed the additional files from the first one.

    are there any additional changes that need to be done?
    It's noty enough to change the filenames. You also need to change the places inside the files where there the filename are used.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  10. #240
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Admin-Editable Sidebox - Support Thread

    Quick question Kuroi,

    I want to use this your mod to create sideboxes that pull in WordPress content. I found this link http://www.corvidworks.com/articles/...on-other-pages which explains how to do it, and it seems fairly straight forward. Where I need a nudge in the right direction is where in your contribution would I place this code... Would you be so kind as to take a look at what I plan to do and grade my homework as it were?? (Pretty please??!)

    I was planning on making the changes to the includes/languages/english/html_includes/define_editable_sidebox1_content.php as follows:

    PHP Code:
    <p>This text is located in a file in your english/html_includes/ folder</code></p>
    <p>It is intended to be edited via the Define Pages Editor in Admin > Tools, though you can also edit it directly if you prefer.</p>
    <p>And don't forget to always backup the files in this folder.</p>

    <?php
    // Include Wordpress
    define('WP_USE_THEMES'false);
    require(
    './blog/wp-load.php');
    query_posts('showposts=3');
    ?>

    <?php while (have_posts()): the_post(); ?>
    <h2><?php the_title(); ?></h2>
    <?php the_excerpt(); ?>
    <p><a href="<?php the_permalink(); ?>">Read more...</a></p>
    <?php endwhile; ?>
    Is this the right way to execute this?? or would I add this code elsewhere in your module??

 

 
Page 24 of 34 FirstFirst ... 142223242526 ... LastLast

Similar Threads

  1. v154 Blank Sidebox support thread
    By swguy in forum Addon Sideboxes
    Replies: 23
    Last Post: 15 Jul 2021, 09:54 PM
  2. Facebook sidebox -Support Thread
    By neboztik in forum Addon Sideboxes
    Replies: 31
    Last Post: 22 Jan 2013, 03:34 AM
  3. LiveChat Sidebox - Support Thread
    By b.kubiak in forum Addon Sideboxes
    Replies: 13
    Last Post: 15 Mar 2012, 08:00 PM
  4. CampaignMonitor Sidebox Support Thread
    By lukemcr in forum Addon Sideboxes
    Replies: 11
    Last Post: 21 May 2010, 06:14 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