Jump to content

Archived

This topic is now archived and is closed to further replies.

BlueSkyCreative

Bug in Pagelines js work around?

Recommended Posts

BlueSkyCreative+    5
BlueSkyCreative

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-ashford.kent.sch.uk/wordpress/wp-content/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-ashford.kent.sch.uk/wordpress/wp-content/themes/st-marys-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

Share this post


Link to post
Share on other sites
Gavin_+    55
Gavin_

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

 

Share this post


Link to post
Share on other sites
Gavin_+    55
Gavin_

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

Share this post


Link to post
Share on other sites
BlueSkyCreative+    5
BlueSkyCreative

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

 

Share this post


Link to post
Share on other sites

  • Similar Content

    • john7626
      By john7626+
      When I select a different post on the left side of News Views I believe it is the case that the information on the right is supposed to change to reflect the choice on the left, right?  In my case that is not happening.  Here is my site jfspencer.staging.wpengine.com.  I have attached a screen grab of my options settings.  I have disabled most other plugins that I feel might interfere.
    • tt2
      By tt2
      I installed the plugin "News Views" to WP, is enabled but is nowhere visible in the "DMS editor panel" in the "Add To Page"    I'm using WP 3.9.1  DMS Version 1.7  Theme DMS 2.1.4  News View 2.1.2    Please help me how to run this plugin?   Regards Tomasz
    • tt2
      By tt2
      I installed the plugin "News Views" to WP, is enabled but is nowhere visible in the "DMS editor panel" in the "Add To Page"    I'm using WP 3.9.1  DMS Version 1.7  Theme DMS 2.1.4  News View 2.1.2    Please help me how to run this plugin?
    • micstepl
      By micstepl+
      I purchased the OUT OF THE MEDIABOX        section.
      Generally a great product :)
       
       
      ... but following PROBLEM
      landscape image (eg. 3 x 2) on a small screen (iPhone) image sizes in height down but aligns to top RESULT: headline of hover element alings at bottom and a white area obens in between    
      What is the chance for you to fix it?
      How can I help menntime?
       
       
      other issue
      when entring a image hight - via settings the image squeezes in it´s dimensions (not looking nice)  
    • harrylime
      By harrylime
      Hello,
       
      I just purchased the Out of the MediaBox plugin, which I'm excited to use. Everything is installed on the local testing server and I'm able to drag the section into the layouts and add an image, et cetera. However for some reason the hover text isn't working, a background image has been uploaded as mentioned that it's needed. Am I missing something?
       
      Thanks.
×