figure2
Forum Replies Created
-
I will make the bug report. This concerns my wife’s jewelry site and I rolled back to 2.0.7 so her site would work properly. I don’t mind updating to a version which breaks her site on a short-term basis for your deveroper’s analysis but wouldn’t want to leave her site in that state for an extended period.
Sorry Becky. I should have included a link.
https://www.wordpress-ecommerce.com/wordpress-shop-using-nextgen-gallery-and-wp-shopping-cart-7The integration requires that the template file, “gallery-wp-eStore.php” be dropped into the views folder inside “nextgen-gallery–>products–>modules–>ngglegacy”.
Works fine in 2.0.7 but as I mentioned, all pages using this template under 2.0.11 experience broken CSS.
I am adding a correction to my previous post. Upon further investigation I found the conflict plugin with 2.0.7 was Advanced Custom Fields and the ACF Options plugin.
Gravity Forms, contrary to my previous post seems to be fine.
Installing 2.0.7 with Gravity Forms still causes the white screen of death.
I have a client who is using NextGen Custom Fields plugin to link thumbnails to his portfolio custom post types via this method: https://www.kimwoodbridge.com/how-to-link-nextgen-gallery-images-to-an-individual-page-or-post-in-wordpress/
In addition the tutorial author offers a method to make his technique permanent to survive NextGen updates. Just wanted to make you awre of this.
I have told my client not to update NextGen until this gets sorted out.
The simple paypal shopping cart plugin integration stopped working with NextGen: https://tinyurl.com/872vgws
This integration requires that you add a file, “gallery-wp-eStore.php” to the “Views” sub-folder. In v 2.0, the Views sub-folder is gone. All my wife’s stores on her jewelry site disappeared, replaced by an error “[Not a valid template].” Luckily I was able to restore the previous version of NextGen from backup.
I understand that NextGen will have its own ecommerce feature. Was this de-integration with the paypal plugin done on purpose? Some warning would have been appreciated.
[Signature removed by moderator per forum rules.]
Forum: Plugins
In reply to: [Ultimate Posts Widget] Show the entyre post, Not the excerptI would like to request this feature as well…when you can get to it.
I often will replace “the_content()” in a template page with a special sidebar with a posts widget installed. I do this because setting a posts page from the reading settings in the dashboard severely limits my options to format the page as a whole.
Having the option to show the post content in its entirety in your widget would be a great feature.
Forum: Plugins
In reply to: [Responsive NextGEN Flex Slider Template] Make the slider images hot linkedLook forward to it. Thanks much.
Forum: Plugins
In reply to: [Responsive NextGEN Flex Slider Template] Making user edits permanentThanks.
Alain, to answer your question, I put a copy of the Portfolio Press functions.php in my child theme folder so I could modify the functions I wanted. I, like you believed that the child theme’s functions would take precedence over the parent theme but all it did was break the site. So until I have another solution, I will need to modify the parent theme’s functions and jquery to get the results I want.
Mark
Thanks Devin but unfortunately it didn’t work. As per your instructions,
- I changed the name of “theme.js” to “customtheme.js” in my child theme’s js folder.
- I then replaced the code I had before with your code in my child theme’s functions.php.
- The last step was to restore theme.js in the parent folder to its original state.
As soon as I did that the portfolio item’s hover behavior took on the parent theme’s jquery behaviors.
For now I have put my modified jquery code back into theme.js.So here is what I have. It is still taking the theme.js from the parent directory.
function my_deregister_parentTheme() { wp_deregister_script( 'theme.js' ); } add_action( 'wp_print_scripts', 'my_deregister_parentTheme', 100 ); function bptArtTrail_script() { if ( !is_single() ) { wp_enqueue_script( 'themejs', get_template_directory_uri() . '/js/theme.js', array( 'jquery' ), false, true ); } } add_action('wp_enqueue_scripts', 'bptArtTrail_script');
For now I have modified the theme.js file inside the parent folder. I have a modified copy of the theme.js file inside a js directory in my child theme folder. How do I get the theme to pull the theme.js content from the child folder?
Mark
Devin, in the functions.php file of the parent folder the scripts are registered with a single function:
/** * Loads the required javascript for the drop down menus and jquery effects * on portfolio items and post formats. */ function portfoliopress_scripts() { wp_enqueue_script( 'superfish', get_template_directory_uri() .'/js/superfish.js', array( 'jquery' ), false, true ); if ( !is_single() ) { wp_enqueue_script( 'themejs', get_template_directory_uri() . '/js/theme.js', array( 'jquery' ), false, true ); } } add_action('wp_enqueue_scripts', 'portfoliopress_scripts');
I thought it made sense to disable the “portfoliopress_scripts” function so I could replace it with my own version of the scripts.
Mark
@Marventus: Srikat’s code solved the problem. Thanks for the offer of help though.
Mark
Thanks Srikat!