Forum Replies Created

Viewing 15 replies - 121 through 135 (of 485 total)
  • Ratspeed, if you upgrade to the new version of CataBlog, 1.6.1, you should no longer get the calling to a member function of non object fatal error. I am not sure about the layout glitch you are experiencing. Did you try hiding and showing the columns using the Screen Options in the upper right?

    Plugin Author macguru2000

    (@macguru2000)

    You should edit your CataBlog template, it is the Templates panel under CataBlog in the Admin Section of your WordPress site. There you may modify the default template by clicking the default tab. CataBlog uses token, specific words, to represent the actual catalog item’s data, so you will need to type these specific words to represent where the price and product code go. Insert the ‘tokens’ for both price (%PRICE%) and product code (%PRODUCT-CODE%) where you want them to be displayed, usually before or after the description token (%DESCRIPTION%).

    Plugin Author macguru2000

    (@macguru2000)

    You can use CSS to set the display property of the images to none and then use the first-child pseudo class to then turn the display property to block for just the first catalog thumbnail. Try adding this code to your theme’s style.css file or a catablog.css file in your theme.

    html body .catablog-catalog .catablog-row .catablog-image {
      display: none;
    }
    
    html body .catablog-category .catablog-row:first-child .catablog-image {
      display: block;
    }

    Thanks for the info, I now know what I need to fix this. Unfortunately, going through and removing an item from possibly hundreds of galleries every time an item is deleted is not going to work. Instead I will employ the same tactic I used with the edit gallery admin panel. Before using the getLink() method, it must check if indeed it is a legitimate object. If it is not a CataBlogItem object, go to the next catalog item.

    Plugin Author macguru2000

    (@macguru2000)

    Quick question, where exactly were you getting the out of memory message? I am guessing when uploading new images? Are you using the flash uploader? Did you try uploading images without the flash upload? I am trying to narrow down what part of the plugin needs optimization. Thanks

    Plugin Author macguru2000

    (@macguru2000)

    Great question, I have had the similar issues with NextGenGallery in past, I am not sure and this is definitely something I will be looking into. I do not want CataBlog to be a resource hog, really I don’t 🙂

    Plugin Author macguru2000

    (@macguru2000)

    Lets keep in mind that WordPress itself is pretty greedy when it comes to memory, still its amazing what you can pull off these days with only 32MB of ram. I do not know what you pay for hosting, but I highly suggest a VPS for WordPress, it makes a world of difference for your site, especially when administering it.

    Plugin Author macguru2000

    (@macguru2000)

    Ratspeed, whatever you have your php.ini file set to is not being respected. It is apparent from the amount of allowed memory, 33554432 bytes = 32MB, not 128MB. I would say that you should look into “better” hosting, or call your current host and figure out a way to up your PHP memory to at least 64MB.

    Plugin Author macguru2000

    (@macguru2000)

    Hi ironfenix,

    So I am not sure exactly how you would get single CataBlog pages to work with your blog’s page structure. Typically I would say that you need to make your entire hierarchy in CataBlog, but it doesn’t support hierarchical categories. So how to do this….

    My first thoughts are to build the breadcrumbs your self in the single-catablog-items.php template file. Can you use the CataBlog item’s selected categories to figure out what the product’s breadcrumb trail is? If so some custom PHP could do the trick.

    Plugin Author macguru2000

    (@macguru2000)

    Agreed. Will be put on the future development list.

    Plugin Author macguru2000

    (@macguru2000)

    Oops, let me clarify that we are talking about the ‘Scan Originals for New Images’ function and not the ‘Add New’ CataBlog Panel. Currently there are no controls for that script. Again this is a good condadate for a future feature.

    Plugin Author macguru2000

    (@macguru2000)

    I found this discussion about AussieHQ and Drupal, which I think might still be pertinent because it is really about memory allocation in PHP using AussieHQ shared hosting.

    http://forums.whirlpool.net.au/archive/1891394

    You should get in touch with AussieHQ and see if they will up your PHP memory limit to 64MB and then verify you actually have the memory allocated in the CataBlog About Panel.

    With less than 10MB of RAM available I am not surprised a 3MB JPEG image crashes PHP. What are your image resolutions? JPEG compression can make one think that images are smaller in memory size than they actually are.

    1024 x 768 pixel 24bit image takes ~2MB of PHP memory to load, that is before your server has to resize and save the thumbnail. That means a 2048 x 1536 pixel image takes about ~8MB of memory, just to load.

    Some interesting numbers:

    32MB - 22.5MB = 9.5MB
    9.5MB - 8MB = 1.5MB
    1.5MB is not enough memory to process and save the thumbnail.

    Plugin Author macguru2000

    (@macguru2000)

    There is the CSV and XML import, one could write their own little script in PHP or Python to scan your image files in the folder and make a CSV file with the appropriate date. Then, simply upload the images to originals, import your CSV file, and re-render your library.

    So far, no one has requested this feature and it isn’t exactly what I would call expected behavior, since all the catalog items are actually being made on the same day. What if my work flow was to upload images, regardless of there creation date, in the order I wanted them to show up?

    To implement a feature like this would require adding a control panel or a switch in the ‘Add New’ CataBlog Admin Panel. Sounds like a cool feature, unfortunately it won’t be going into the next release. The paginate_links() function will be making it into the next release coming out soon though.

    Plugin Author macguru2000

    (@macguru2000)

    Yes, its a pretty easy change, perhaps a switch in the CataBlog Options Description Tab to turn the insert media button on and off would be a good idea. But, I do not want to encourage people to only embed images into their catalog item descriptions, not using CataBlog’s main thumbnail and sub images feature.

    Plugin Author macguru2000

    (@macguru2000)

    You upload media through the ‘Add New’ CataBlog Admin Panel and ‘Add Sub Image’, not the description field. If you want to add media into the description you should manually add the appropriate HTML.

Viewing 15 replies - 121 through 135 (of 485 total)