Jump to content
Sign in to follow this  

Price Section Mod

Recommended Posts


I'm looking for a resource who can help me modify a Section I bought from Pagelines Store called Pricing. I have added a new field to a copy of the section. The new version works great on my WAMP, but reverts back to the original section when I upload it. It does show up in the store.  It is activated and the original one is deactivated.  It is showing up in the Drag/Drop area.  However there are hash symbols where there should be buttons.


I needed to add a PayPal button option.  The original only had buttons with URL links.  I have attached the modified sections.php file for your reference.  The new PayPal buttons work on my local server, but not on my webserver.  It works with either type of button on my local server, too.


You can find the website here:  http://www.bluelogicentertainment.com/wp/pricing/website-packages


When it goes live it will be www.bluelogicllc.com

Taama Forasiepi


PS.  I there a way to allow for more than one row of items per page?


Share this post

Link to post
Share on other sites

Hi Taama,


As you have a Developer license, you probably know that you can participate in the developer group where you can get great help with this issue.


I'm unclear how you're modifying the section.  I mean, are you using an editor of some kind, or using something that may be adding code to the file?


Where are you uploading the file?  Did you add PHP or just modify something?


Here's some resources more for reference than instruction:

PHP Reference - http://phpxref.pagelines.com/nav.html?index.html

Dev essential Training videos - http://www.youtube.com/playlist?list=PL90165637C6F304B1

Resource Center - http://developer.pagelines.com/resources/

Otherwise hire a pro - http//www.pagelines.com/pros/

Or as a developer jump into the clan chat and check in with the other devs, they're bound to help

Former PageLines Moderator, Food Expert and Raconteur

Share this post

Link to post
Share on other sites

Hi Rob,  Thanks for the reference materials.  I will look through them again to see if I am missing a step.  


I am very good at HTML and CSS, but am in the process of learning PHP.  Starting with some simple modifications on an existing Section seems to be getting me further in this process.  I have watched many of your videos and learned much, thank you for posting them!  Below are the steps I have followed:

  1. Created a local WAMP on my machine to develop Sections for our websites and eventually the Pagelines Store.  
  2. Copied the Pagelines Pricing Section to my Plugins/Pagelines_Sections folder then duplicated it and gave it a new name.  
  3. Changed the class to BLPricing, like in the video.  
  4. Deactivated the original Sections and Activated the new section in the Pagelines/Store of my website admin area.
  5. Then I added the new section to a page template.  It shows up correctly.
  6. Next, I added some code to the new Section.php file until I got what I needed to happen.
    1. First, I registered the new variable on line 126 and called it $pplink.
    2. Next, I added an 'if' statement so it would compare $link to my new $pplink variable.  The theory is that if the user inputs a URL, it would print the $link variable in an <a href=" "> statement.  If they input a paypal form code then it would print the Paypal button instead.  Line 155
    3. Finally, on line 298, I registered a new variable called pppcol-link in the meta setting array. And put it in line 126, too.

The resulting sections works great on my local WAMP, but not on the Website at my host.  I just don't know what to ask on the developer chat room and when i try, I don't think they understand.  The chat room seems to be a great place for very short questions, but as you can see this takes some explaining.


I'm great at figuring things out, but i feel like I have missed a step on the hosted website.  I have edited the section.php in Dreamweaver and uploaded the resulting section (folder) using FileZilla into the Plugins/Pagelines_Sections folder.  I have attached another copy for your review.


Please help... I can feel that this is something real simple.


Thanks in advance.




Share this post

Link to post
Share on other sites

Hi, to clarify, we don't support customizations here and the moderators are not developers. The developer skype group is where you need to seek assistance for this and there's quite a few there who would be willing to help.


The Customization portion of this forum is simply to point people to resources.  I'm sorry I couldn't be of more help.  If you have any questions about joining into that group, please write to [email protected]


Thank you for your kind patience and understanding.

Former PageLines Moderator, Food Expert and Raconteur

Share this post

Link to post
Share on other sites

Thanks for the clarification.  It is sometimes hard to know where to go.  I will try the Developer's Skype room again and refer to the materials you sent.  Maybe now that I have written the issue down for you, I can formulate a question for them that makes sense.  Thanks for being my sounding board... it actually helped.



Share this post

Link to post
Share on other sites



Anytime you need a sounding board, don't hesitate!

Former PageLines Moderator, Food Expert and Raconteur

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

Sign in to follow this  

  • Similar Content

    • jeomiland
      By jeomiland+
      Hi guys
      Hopefully an easy question. I have some custom code included in a Next section in a DMS site that I'm converting to platform5. What is the easiest way to insert my code into a "section" which I can easily add to my page structure with the platform5 page editor? I have the Embed extension but that takes javeascript, and my PHP test failed. Also have the Shortcodes extension, but looks like that only inserts objects into the WP-loop? and again, how to create a Hook that can go here?
    • sakkthi subramaniyam
      By sakkthi subramaniyam
      Working on a very old site which has  pagelines framework theme. I need section plugin. so i can install postpins section. I have lost backup copy.
      Thank you.
    • KathleenAspenns
      By KathleenAspenns+
      I would like to upgrade my site to PHP 7, but there is an error warning in the PL Framework theme. I should think this should be fixed asap, I cannot be the only person trying to be up to date.
      1976 | ERROR | preg_replace() - /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0
    • Dan Haddock
      By Dan Haddock
      DMS: Latest Version
      Running a Child Theme
      Wordpress: 4.8.3
      Akismet Anti-Spam 
      Coming Soon Page & Maintenance Mode by SeedProd
      Contact Form 7
      Cookie Law Info
      DMS Professional Tools    
      Enhanced Media Library
      Google Analytics for WordPress by MonsterInsights
      Google XML Sitemap    
      Jetpack by WordPress.com
      MailChimp for WordPress
      PageLines Updater
      Really Simple SSL
      Schema App Structured Data
      Sucuri Security - Auditing, Malware Scanner and Hardening  
      Uber reCaptcha
      Yoast SEO
      Problem Below
      Hi Team,
      I am looking to style the Continue Reading Button with the PHP you provided in an earlier ticket here: 
      I put the PHP code into my site, however I do not get my Icon back, I just get back Read More >>
      I have attached a screenshot of the code in place on my site along with the output.
      Interested to know what I may be doing wrong? - I am very new to PHP so a bit apprehensive on this.
      The Images: https://drive.google.com/open?id=0B0i4JJXa2jdQN2xoakZNRUdmaU0
      Let me know if you need any more information from me.
    • elementalkites
      By elementalkites+
      Good evening. I am attempting to use the Impulse section on a page I am working on (https://dev.elementalkites.com). The tool seems to have the ability to overlay a logo on top of the slider images but in my case it isn't working, even though I have added the logo file and given it a height to display at. I have attached a screenshot for reference. Any help would be appreciated.