Forum Replies Created

Viewing 15 replies - 436 through 450 (of 479 total)
  • Plugin Author Robert Heller

    (@robertpheller)

    If you did a hold on the items you later deleted, then yes, you will get this error. I probably should put a check in the delete function to check to be sure that items being deleting don’t have holds or are checked out, either preventing the delete or removing the hold and checkout records when deleting the item.

    There should be a button to remove a hold and checking out an item happens on the circulation desk page.

    Plugin Author Robert Heller

    (@robertpheller)

    Somehow you managed to place a hold on an item not in your collection. I think the only way that would be possible is that the hold was placed on an item that was later deleted.

    Try creating an item with the problem barcode, even if it is a ‘dummy’ item. Right now, the system does not handle deleting items with holds or checkouts — the hold and checkout records are left dangling.

    Plugin Author Robert Heller

    (@robertpheller)

    I take it that you discovered that you have to define the types first, as it states in the documentation…

    Forum: Plugins
    In reply to: [WebLibrarian] CSS Files
    Plugin Author Robert Heller

    (@robertpheller)

    What are you using for a web browser? I believe there is a problem with IE9 and IE10 — appearently these browser don’t understand or implement ‘display: table*;’ CSS codes. There is not much I can do about that — I don’t have access to machines with any version of IE on them, since all of my machines run Linux (CentOS 5), so I use Firefox.

    The short codes use span and div tags, using class names starting with “weblib-“:

    .weblib-item-long {
      display: table;
    }
    
    .weblib-item-row {
      display: table-row;
      padding: 8px 0px;
      width: 100%;
    }
    
    .weblib-item-left {
      width: 90%;
    }
    
    .weblib-item-right {
    }
    
    .weblib-item-center-head {
      font-weight: bold;
      text-align: center;
      display: table-cell;
      padding: 2px;
    }
    
    .weblib-item-keyword-list {
      text-align: center;
      display: table-cell;
      padding: 2px;
    }
    
    .weblib-item-left-head {
      font-weight: bold;
      text-align: right;
      display: table-cell;
      padding: 2px;
    }
    
    .weblib-item-left-content {
      text-align: left;
      display: table-cell;
      padding: 2px;
    }
    
    .weblib-item-author {
      text-decoration: underline;
    }
    
    .weblib-item-title {
      font-weight: bold;
    }
    
    .weblib-item-content-block {
      display: table;
    }
    
    .weblib-item-content-element {
      display: table-row;
    }
    
    .weblib-item-element {
      display: table-cell;
      vertical-align: top;
      padding: 2px;
    }
    
    .weblib-item-info {
      width: 100%;
    }
    
    .weblib-item-index {
      font-size: 150%;
      padding: 0px 4px;
      text-align: left;
      width: 5%;
    }
    
    .weblib-item-brief {
    }
    
    .weblib-item-holdbutton {
    }
    
    .weblib-item-thumb {
      padding: 0px 4px;
      width: 48px;
      height: 72px;
    }

    The styling (by default) organizes things as a table. Rather than using table, tr, td, and th tags to implement the display as a table I used spans and divs, with dislay table and table element styles. This way if someone wanted a *different* display arangement, they would not have to rewrite the short codes, but could alter the style sheet to imlement the different display arangement. Everything works just fine with Firefox, but appearently IE9 and IE10 are broken…

    Plugin Author Robert Heller

    (@robertpheller)

    This plugin is a ‘split off’ of the GAN plugin and it expects the GAN plugin to be installed and when you inserts Link and Product ads into the GAN pluging the Merchant table gets populated. This plugin is somewhat depreciated — it used to be part of GAN, but for various reasons I split it off and ended up implementing a a different product ad mechanism in the GAN plug in and have pretty much abandoned this plugin.

    Forum: Plugins
    In reply to: [WebLibrarian] Multisite
    Plugin Author Robert Heller

    (@robertpheller)

    I don’t think that is possible with the code as it is and I suspect it would be a non-trivial change (and probably not wanted for most people).

    Why do you want to do this?

    If you are using the database for multiple libraries and want to implement some sort of inter-library loan system, you might be better off with Evergreen (Open-ILS), which is designed for that.

    Forum: Plugins
    In reply to: [WebLibrarian] CVS File
    Plugin Author Robert Heller

    (@robertpheller)

    The column headers have to match the defined columns used by the database. Can you upload your .csv file somewhere so I can have a look at it?

    Plugin Author Robert Heller

    (@robertpheller)

    It does not at present. It *can* handle E-Mailed Links. You need to have a Linux E-Mail account *on the same machine (server)* as the web/database server. A Tcl script (which I guess could be ported to Perl, etc.) is included (you need Tcl and mysqltcl installed on the server). This script can be run from a Procmail recipe — I in fact do this with my company web site (I have my own virtual server that is also my mail server).

    The main problem with doing this with FTP subscriptions is a matter of timing — there isn’t a good way for WordPress to know when the subscription data was uploaded.

    Of course the *best* option would be a HTTP POST delivery of the link data. (There are all sorts of security issues with this option though.)

    Thread Starter Robert Heller

    (@robertpheller)

    OK, I have found the problem. In getPageFile() (in gplusbadgehelper.php) there are two echo statements that should not be there. When I commented them out, the plugin works correctly. Here is the patched function:

    protected function getPageFile($url) {
                    // empty the html property (although it's probably empty anyway$
                    $html = '';
    
                    // get the data
                    $html = file_get_contents($url);
                    //echo htmlentities($html);
                    //echo "<br/>";
    
                    return $html;
            }
    Thread Starter Robert Heller

    (@robertpheller)

    OK, it appears that GplusBadge is totally borked. The older versions don’t work either. I even installed it another fairly ‘vanila’ site and it also spits out raw HTML. I’m going to disable the widget for now and wait for an update…

    Thread Starter Robert Heller

    (@robertpheller)

    I found the problem. I had a bug in my custom theme… It is fixed now.

    Thread Starter Robert Heller

    (@robertpheller)

    No, I am using the *builtin* Releated Links widget. The one that *comes* with WordPress as part of the core WordPress code. The one defined in wp-includes/default-widgets.php.

    Thread Starter Robert Heller

    (@robertpheller)

    So, is anyone home in HeadSpace2-land? Is HeadSpace2 a *dead* plugin. It seems like a very nice plugin, but maybe I should be looking for another plugin to manage my meta tags…

    Plugin Author Robert Heller

    (@robertpheller)

    (Actually, you’ll need to echo or print the results of shortcode methods).

    Plugin Author Robert Heller

    (@robertpheller)

    @pricerank: ‘What I meant about the template is the short code works inside posts, but if you want to use the plugin out side of a post or widget you need to call the program with a php.’

    Nothing is stopping you from using:

    <?php GAN_Widget::shortcode (array('orientation' => 'vertical',
                'maxads' => 4,
                'ifwidth' => '',
                'ifheight' => '',
                'target' => 'same',
                'merchid' => '')); ?>

    or

    <?php GAN_ImageWidget::shortcode (array(
                'orientation' => 'vertical',
                'maxads' => 4,
                'width' => 120,
                'height' => 60,
                'ifwidth' => '',
                'ifheight' => '',
                'target' => 'same',
                'merchid' => '')); ?>

    “Use the source, Luke”…

Viewing 15 replies - 436 through 450 (of 479 total)