Jump to content
MrFent

Creating custom options for sections

Recommended Posts

MrFent

Would love to see a video or documentation, or anything that would help us learn how to create custom options for PL5 sections. 

Also, please send a non-minified version of editing.js

Share this post


Link to post
Share on other sites
Aires

When you say custom options what are you referring to. Can you give an example. 


ndTgvai.jpg

Visit iheartpagelines.com for the latest tutorials on PageLines related products.

 

Share this post


Link to post
Share on other sites
MrFent

Well this is referring to an earlier conversation I had with AP. What I am really wanting to do is for a section I am building. Every time a section option updates or changes, I would like it to fire this simple javascript code: 

FB.XFBML.parse();

I was told it could be done by creating my own custom section options which I would just mimic the current ones built into PL5, such as:

'type'    => 'text',

'type'    => 'check',

'type'    => 'select',

And so on.. but then also have it fire that code so that my FB widget will re-render.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • petere21
      By petere21+
      After activate new web site
      I had several licences for use but system show me that I have no licence 
    • petere21
      By petere21+
      When i see wp content,i have no margin from left and right side means bordee on tablet view
      mobile margin around wpcontent is fine dtp also ok it looks like spread enough  on tablet - ipad - there is no margin and text from left side and widgets from tight side content sticking border of monitor how could i fix margin for example 5px for tablet view? But without changing the mobile margin 
      Sample https://www.restartnisa.sk/poloniny-po-zemplinsky/
      thanks 
      petere
    • petere21
      By petere21+
      Does pagelines support AMP technology for mobiles?
       
    • petere21
      By petere21+
      How to control spaces between images ?
      I can control section  padding from left and right side but not between  images.
      Could someone help me?
    • petere21
      By petere21+
      After changing protocol http to https I have lost all count information next to the icon in the Sharebar extension. All counts is set to zero. Is there any chance to give number of sharing take back? 
      thanks
×