Jump to content


Photo
Out of the MediaBox

Bug in Pagelines js work around?

news views

  • Please log in to reply
3 replies to this topic

#1 BlueSkyCreative

BlueSkyCreative

    Advanced Member

  • Members

  • 36 posts
  • LocationAshford, Kent
  • Country: Country Flag

Posted 03 July 2014 - 12:57 PM

Hi there

 

I have been following a post on the News Views Plugin that I have bought, about a bug that means you cant select a category of post to display or group of categories

 

they have posted this :-


The multi select issue was not working due to small bug in the DMS .js library. This has now been identified and a patch has been applied that will be in a future update of DMS. 

We have tested this locally and it solves the issue. you can either wait for the update to DMS to be published or if you like you can add the following code to your child themes functions.php file
 


*/
function pl_do_shortcode(opt) {
    
+    /* If we are not a string, bail out! */
+    if( 'string' !== typeof opt || ! opt.length )
+        return opt
+
    var match = opt.match( /\[([^\]]*)/ ) || false
    var shortcode = (match) ? match[1] : false

We hope that this helps. 

Thanks again for your patience

 

 

:-

 

Do pagelines know about this issue and is there a local work around as they say it cant be added to the function.php as its a pagelines bug?

 

The plugin is useless really for me as is as I want to display the post categories....a work around to allow it to do this would be good...

 

thanks

 

Paul

 

DMS Debug Info

WordPress Version
3.9.1

WordPress Debug
Disabled

Multisite Enabled
No

Current Role
Administrator

Framework Path
/home/stmarysa/public_html/wordpress/wp-content/themes/dms/dms

Framework URI
http://www.st-marys-.../themes/dms/dms

Framework Version
2.1.1

PHP Version
5.4

Child theme
Yes
/home/stmarysa/public_html/wordpress/wp-content/themes/st-marys-primary-theme
http://www.st-marys-...s-primary-theme

WP_DEBUG
No

WP memory limit
40 MB

WP MAX memory limit
256 MB

PHP memory limit
256 B

Mysql version
5.5.37

WP Max Upload Size
250 MB

PHP POST Max Size
250 MB

PHP Max Execution Time
30s

PHP type
Cgi-fcgi

WebServer software
Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4

PHP User
Stmarysa

OS
Linux

Installed Plugins
gravityforms/gravityforms.php
accordions/accordions.php
advanced-browser-check/advanced-browser-check.php
all-in-one-event-calendar-extended-views/all-in-one-event-calendar-extended-views.php
all-in-one-event-calendar/all-in-one-event-calendar.php
better-iboxes/better-iboxes.php
better-wp-security/better-wp-security.php
blue-sky-creative/blue-sky-creative.php
business-branding/business-branding.php
cookie-control/cookiecontrol.php
dms-dev-tools/dms-dev-tools.php
dms-plugin-pro/dms-plugin-pro.php
e-newsletter/e-newsletter.php
footer-extras-dms/footer-extras-dms.php
google-sitemap-generator/sitemap.php
hero-nav/hero-nav.php
jetpack/jetpack.php
menu-items-visibility-control/init.php
news-views/news-views.php
out-of-the-mediabox/out-of-the-mediabox.php
pagelines-updater/pagelines-updater.php
peters-login-redirect/wplogin_redirect.php
sidebar-login/sidebar-login.php
sidebar-manager-light/otw_sidebar_manager.php
simply-scroll-up/simply-scroll-up.php
teammate/teammate.php
user-role-editor/user-role-editor.php
widget-logic/widget_logic.php
wordfence/wordfence.php
wp-accessibility/wp-accessibility.php
wp-dbmanager/wp-dbmanager.php
wp-smushit/wp-smushit.php
wpmudev-updates/update-notifications.php



#2 gavin_launchpad

gavin_launchpad

    Advocate

  • Members

  • 498 posts
  • Country: Country Flag

Posted 04 July 2014 - 09:23 AM

Hello,

 

Thanks for raising this issue. Yes, PL are aware or the pl_do_shortcode bug - we have tracked the issue on the PL github. 
We will look into this for you and get back to you ASAP. 

Thanks

 



#3 gavin_launchpad

gavin_launchpad

    Advocate

  • Members

  • 498 posts
  • Country: Country Flag

Posted 04 July 2014 - 09:41 AM

Hello,

We have tested this locally and now that PL have pushed the fix for the shortcode js bug we also have to make a minor update to our plugin and categories multi select will work. 

To be accurate this will work on:
DMS version 2.1.2 
and New Views version 2.1.2

We will push this update within day. If you would like access to it sooner you can email us. 

Thanks



#4 BlueSkyCreative

BlueSkyCreative

    Advanced Member

  • Members

  • 36 posts
  • LocationAshford, Kent
  • Country: Country Flag

Posted 04 July 2014 - 10:31 AM

Hi Guys, 

 

Many thanks for your speedy reply and updates...

 

I will await the updates, I have a few days to work on it my end anyway

 

Regards

 

Paul

 







Also tagged with one or more of these keywords: Out of the MediaBox, news views