Results 1 to 10 of 332

Hybrid View

  1. #1
    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?

  2. #2
    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)

  3. #3
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    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??

  4. #4
    Join Date
    Nov 2009
    Location
    North Bendigo, VIC, Australia
    Posts
    158
    Plugin Contributions
    0

    Default Re: Admin-Editable Sidebox - Support Thread

    Thanks for a fantastic module.
    I have it installed and am using it for my Payment Methods.

    I found it easier to upload the code for the image to
    /includes/languages/english/html_includes/
    than using the define page editor (for a simple fact, the editor leaves unecessary white spaces at the bottom and top).

    Thank-you once again.
    Kind Regards

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

    Default Re: Admin-Editable Sidebox - Support Thread

    Quote Originally Posted by DivaVocals View Post
    I want to use this your mod to create sideboxes that pull in WordPress content.
    .
    .
    .
    Is this the right way to execute this?? or would I add this code elsewhere in your module??
    Apologies DivaVocals - only just seen your question. Old joke I know ... but if I was doing this I wouldn't start from here! I'd start from the blank sidebox, which was specifically designed to make it easier to add your own content to a sidebox skeleteon. This mod is an extension to blank sidebox to put in place extra code to allow content to be added from the Admin, which for your purposes is unwanted baggage. No matter though, it should work anyway.

    The way that you have done this should work, but doesn't really respect the separation between preparing data and displayiong it that is fairly well observed in Zen Cart's sideboxes. They normally load up the content into a variable called (I think) $content in a module, which is then echoed to the browser output in the sidebox template.

    That said, if what you've done is working for you, I wouldn't spend time reworking it. I won't tell
    Kuroi Web Design and Development | Twitter

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

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

    Default Re: Admin-Editable Sidebox - Support Thread

    Quote Originally Posted by kuroi View Post
    Apologies DivaVocals - only just seen your question. Old joke I know ... but if I was doing this I wouldn't start from here! I'd start from the blank sidebox, which was specifically designed to make it easier to add your own content to a sidebox skeleteon. This mod is an extension to blank sidebox to put in place extra code to allow content to be added from the Admin, which for your purposes is unwanted baggage. No matter though, it should work anyway.

    The way that you have done this should work, but doesn't really respect the separation between preparing data and displayiong it that is fairly well observed in Zen Cart's sideboxes. They normally load up the content into a variable called (I think) $content in a module, which is then echoed to the browser output in the sidebox template.

    That said, if what you've done is working for you, I wouldn't spend time reworking it. I won't tell
    I appreciate the response.. and you sir are right.. I ended up (with the help of a friend who's MUCH techier than I) doing exactly what you suggest.. So now I have 6 sideboxes which pull in WordPress content independent of any WordPress embedding solution I may use.. (In this case I will be using Numinix's WordPress embedding solution)

  7. #7
    Join Date
    Jan 2008
    Location
    Portland, Oregon USA
    Posts
    356
    Plugin Contributions
    0

    Default Re: Admin-Editable Sidebox - Support Thread

    DivaVocals,

    Would you mind sharing your solution?
    I know there are many of us that would love to have WordPress in a sidebox.

    Thanks!
    Doug

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

    Default Re: Admin-Editable Sidebox - Support Thread

    Quote Originally Posted by pdxdoug View Post
    DivaVocals,

    Would you mind sharing your solution?
    I know there are many of us that would love to have WordPress in a sidebox.

    Thanks!
    I sent you a PM..

 

 

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

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