Jump to content

Archived

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

Andrew

New Extension - Resource

Recommended Posts

Andrew

Check it out, add multi page documentation and resources. Probably needs some testing.

Share this post


Link to post
Share on other sites
oksodavid

Fatal error: Call to undefined function pl_user_setting() in /pl-section-resources/pl-section-resources.php on line 319

visible if Platform deactivated, if extension is left activated

Share this post


Link to post
Share on other sites
oksodavid

PLData is not defined when enabling shortcodes within resource /site.js

Share this post


Link to post
Share on other sites
Andrew

Will push a new version today.

 

dint understand the shortcodes issue

Share this post


Link to post
Share on other sites
oksodavid

Maybe not intended for use, but when I tried to insert any shortcode into cpt single, I get white screen with the console error. I got time of post shortcode to work though.

Share this post


Link to post
Share on other sites
Andrew

can you post the error(s)?

Share this post


Link to post
Share on other sites
Brian

I'm getting a 404 when trying to view a single post in Resources.

Share this post


Link to post
Share on other sites
Andrew

permalinks turned on?

Share this post


Link to post
Share on other sites
oksodavid

I think that's a flush thing. Single is fine for me, given I've added Resource section on the end of the chosen cpt single permalink

Share this post


Link to post
Share on other sites
Brian

Changed the custom permalink structure and it's now working.

Share this post


Link to post
Share on other sites
oksodavid

Also, the shortcodes issue I had is fixed with 5.0.3

Share this post


Link to post
Share on other sites
oksodavid

This appears to be back in last platform/framework update? PLData is not defined on resource root permalink and Uncaught TypeError: $ is not a function on single

Sections Resource 5.0.5, PageLines Platform 5 5.0.41, PageLines Framework 5.0.42

Re tested with Sections Resource 5.0.5, PageLines Platform 5 5.0.40, PageLines Framework 5.0.39 and all ok

Share this post


Link to post
Share on other sites
Andrew

can you give me more duplication details? 

Share this post


Link to post
Share on other sites
oksodavid

from console, on root permalink - Uncaught ReferenceError: PLData is not defineda.plModel.setMasterModel @ site.js?ver=9cae5d:4

a.plModel.init @ site.js?ver=9cae5d:4

(anonymous function) @ site.js?ver=9cae5d:4

m.Callbacks.j @ jquery.js?ver=1.11.3:2

m.Callbacks.k.fireWith @ jquery.js?ver=1.11.3:2

m.extend.ready @ jquery.js?ver=1.11.3:2

J @ jquery.js?ver=1.11.3:2

 

on single - [section#resources_uf3b05e.pl-sn.pl-col-sm-12.pl-col-sm-offset-0.pl-sn-resources, context: section#resources_uf3b05e.pl-sn.pl-col-sm-12.pl-col-sm-offset-0.pl-sn-resources]0: section#resources_uf3b05e.pl-sn.pl-col-sm-12.pl-col-sm-offset-0.pl-sn-resources.js-loadedcontext: section#resources_uf3b05e.pl-sn.pl-col-sm-12.pl-col-sm-offset-0.pl-sn-resources.js-loadedlength: 1__proto__: m[0]

Share this post


Link to post
Share on other sites
Andrew

i haven't been able to recreate the error. Need to know which page of resources, if the editor is open, etc..

Share this post


Link to post
Share on other sites
oksodavid

I had originally called Resources faq's and all had been ok. I noticed after Platform 5 5.0.41, Framework 5.0.42 I couldn't have ' in Resources Title. After changing it to faqs the Resource loads.

In console: [section#resources_uf3b05e.pl-sn.pl-col-sm-12.pl-col-sm-offset-0.pl-sn-resources, context: section#resources_uf3b05e.pl-sn.pl-col-sm-12.pl-col-sm-offset-0.pl-sn-resources]

Share this post


Link to post
Share on other sites
Andrew

still confused! screenshots!

Share this post


Link to post
Share on other sites
oksodavid

resources.png

Share this post


Link to post
Share on other sites
Jackey

Try ‘ or ’ instead of '

 

on a mac that is [alt][shift][}]

Share this post


Link to post
Share on other sites
oksodavid

sure thing, I won't be the first to use keyboard though?

Share this post


Link to post
Share on other sites
Simon

JSON error fixed

 

Share this post


Link to post
Share on other sites

  • Similar Content

    • MrFent
      By MrFent+
      When developing a section in PL5, if I wanted to echo the section's clone ID, how would I go about doing this?
      In DMS, I would use:
      echo $this->oset['clone_id'];
      but I can't seem to figure it out in PL5
    • Jared Smith
      By Jared Smith+
      I'm using the Impulse section for a screen wide image. I'm seeing a funny thing though, whenever I turn off the page editor, all the impulse section pictures disappear.  It has been saved.  Any ideas.  I can send you login links if need be.
      With Editor ON (note, no save button)
      you can see the waterfall image
       
      When I turn editor off, it goes away
       
      Any suggestions?


    • oseehys
      By oseehys+
      Hello There,
      So i want to use platform 5 and DMS sections on a single page, i am using a child theme with pinspro as my main theme and i activated platform 5, the only problem am having so far is the fixed option, my navbars are not aligning to their default size, and it will be great if platform 5 header and footer section will function, has anyone used this option, how can i make the best use of platform 5 and DMS on a site
      Cheers
    • thirdstonemedia
      By thirdstonemedia+
      I've been fighting with a resolution issue ? Want to use Flick Slider, the site looks great on my monitor but client says she can't see bottom of homes. I believe she's on an old PC using outdated browser/s ... but, she's important to me and I'd like to make this work, on her system. Without asking her adjust her own set-up. 
      I put the Flick Slider inside a container, here ::
      http://becauze.xyz/home-five
      Set the Height of Flick Slider to 50 Base ... I don't know how this works exactly ... there is a Base then a Min ... but, haven't adjusted the Min ::
      http://becauze.xyz/home-four/
      Tried using Splash Up, which presents the same issue (she can only see top of home) and she wants several images to rotate on Home page, so not sure this would work anyway ::
      http://becauze.xyz/
      I have tried going into Layout and making the width narrower, and that does make the site narrower, but the homes still don't display in full, on her system. Help ?

      Here are her screen grabs, both desktop and iPad  (dumped the chalkboard background).

      FInally, she said these look great ::
      http://www.sinclairaia.com/
      http://www.kristihanson.com/
      What am I doing wrong ?? Is there a better way to accomplish making the site look great on any resolution at any size ?
      Joanne
      (Longtime Pagelines-lover.)


    • bnapoli
      By bnapoli+
      On my site www.anewbeginning.com the "toggle" function mysteriously stopped working.  I have tried all browsers, tried disabling plugins, removing all the relevant CSS but still cant understand why it isn't working.
      The toggle is placed on this page: http://anewbeginning.com/?page_id=15965 and http://anewbeginning.com/?page_id=10779 but it does not display.
      On my other Platform5 websites, that exact code works fine: see here http://4aa.d11.myftpupload.com/?page_id=123
      Code is the same. Please help, thank you!
×