slo-mark
Forum Replies Created
-
Forum: Plugins
In reply to: [Booster for WooCommerce] Order number changes after modyfying orderWe apparently have the same problem. Also hopping for a fast solution.
Thank you and keep up the good work!
MarkForum: Plugins
In reply to: [Polylang] Compatiblity between Polylang and Conditional MenusHi there! I have a problem with polylang and conditional menus as well. Seems like we cannot use them as we’d like. As far as I can tell, these plugins are incompatible for a multilingual site. Anyone correct me, if I’m wrong.
Forum: Themes and Templates
In reply to: [Interface] My childs content-extensions don't overrideI was wondering the same. I’m trying to change something in header-extensions.php and want to do it in a child theme instead of parent theme. Just replication folder structure and creating file with the same filename doesn’t do anything.
Please help!
OK, I think I got it sorted now. I downloaded original *.PO file from wp-content/plugins/content-views-query-and-display-post-page/languages/, loaded it in POEdit, set translation language, and then created translated *.PO and *.MO files, uploaded them back to folder, and it shows me Source text and if I try to translate some of it, it works.
Any idea, why I don’t get any Source text to translate?
sorry, here’s a link to the pic https://shrani.si/f/1O/LF/21hAVJAr/contentviews.png
Forum: Plugins
In reply to: [WP eCommerce] Remove noimage.png on a product pageHi!
I did not get wanted result with changing the noimage.png with transparent one. It still had the border around and had no special no-image class attached. This is my solution with v3.9.1:You can do the backup as Edward mentions. Then go to wp-content/themes/your-theme/ and edit the file ‘wpsc-single_product.php’.
Change
<div class="imagecol"> <?php if ( wpsc_the_product_thumbnail() ) : ?> <a rel="<?php echo wpsc_the_product_title(); ?>" class="<?php echo wpsc_the_product_image_link_classes(); ?>" href="<?php echo esc_url( wpsc_the_product_image() ); ?>"> <img class="product_image" id="product_image_<?php echo wpsc_the_product_id(); ?>" alt="<?php echo wpsc_the_product_title(); ?>" title="<?php echo wpsc_the_product_title(); ?>" src="<?php echo wpsc_the_product_thumbnail(); ?>"/> </a> <?php if ( function_exists( 'gold_shpcrt_display_gallery' ) ) echo gold_shpcrt_display_gallery( wpsc_the_product_id() ); ?> <?php else: ?> <a href="<?php echo esc_url( wpsc_the_product_permalink() ); ?>"> <img class="no-image" id="product_image_<?php echo wpsc_the_product_id(); ?>" alt="No Image" title="<?php echo wpsc_the_product_title(); ?>" src="<?php echo WPSC_CORE_THEME_URL; ?>wpsc-images/noimage.png" width="<?php echo get_option('product_image_width'); ?>" height="<?php echo get_option('product_image_height'); ?>" /> </a> <?php endif; ?> </div><!--close imagecol-->
to
<?php if (strpos(wpsc_the_product_thumbnail(),'noimage.png') == false) : ?> <div class="imagecol"> <?php if ( wpsc_the_product_thumbnail() ) : ?> <a rel="<?php echo wpsc_the_product_title(); ?>" class="<?php echo wpsc_the_product_image_link_classes(); ?>" href="<?php echo esc_url( wpsc_the_product_image() ); ?>"> <img class="product_image" id="product_image_<?php echo wpsc_the_product_id(); ?>" alt="<?php echo wpsc_the_product_title(); ?>" title="<?php echo wpsc_the_product_title(); ?>" src="<?php echo wpsc_the_product_thumbnail(); ?>"/> </a> <?php if ( function_exists( 'gold_shpcrt_display_gallery' ) ) echo gold_shpcrt_display_gallery( wpsc_the_product_id() ); ?> <?php else: ?> <a href="<?php echo esc_url( wpsc_the_product_permalink() ); ?>"> <img class="no-image" id="product_image_<?php echo wpsc_the_product_id(); ?>" alt="No Image" title="<?php echo wpsc_the_product_title(); ?>" src="<?php echo WPSC_CORE_THEME_URL; ?>wpsc-images/noimage.png" width="<?php echo get_option('product_image_width'); ?>" height="<?php echo get_option('product_image_height'); ?>" /> </a> <?php endif; ?> </div> <?php endif; ?><!--close imagecol-->
This way the whole div “imagecol” gets removed and no image is shown.