Wednesday, February 12, 2020

Desktop + Mobile Detailed Locker

I've had a few different people requesting this specific design, so I went ahead and made it very configurable. Let me know if you need any help. Enjoy

Desktop + Mobile Detailed Locker

How do I start using this Content Locker design?

  • 1. Open the Visual Editor for Content Lockers
  • 2. Click "Create New" to create a new Content Locker, give it a name, and then click "Done"
  • 3. Click "Design Options > Import Design"
  • 4. Copy this code
    Code: Select all
    eyJjc3MiOnsicGMiOnsiYm9keSI6eyJiYWNrZ3JvdW5kIjp7ImNvbG9yIjoiI2ZmZmZmZiIsImhvcml6b250YWwiOiJsZWZ0IiwiaW1hZ2UiOiIiLCJzaXplIjoiY292ZXIiLCJ2ZXJ0aWNhbCI6InRvcCJ9fSwiYm9keS1odW1hbi12ZXJpZmljYXRpb24iOnsiYmFja2dyb3VuZCI6eyJjb2xvciI6IiNmYmZiZmIiLCJob3Jpem9udGFsIjoibGVmdCIsImltYWdlIjoiIiwic2l6ZSI6ImNvdmVyIiwidmVydGljYWwiOiJ0b3AifSwiYmFja2dyb3VuZC1ob3ZlciI6eyJjb2xvciI6IiNiMWIxYjEiLCJob3Jpem9udGFsIjoibGVmdCIsImltYWdlIjoiIiwic2l6ZSI6ImNvdmVyIiwidmVydGljYWwiOiJ0b3AifSwiYm9yZGVyLXJhZGl1cyI6IjQiLCJib3JkZXItY29sb3IiOiIjYjliOWI5IiwiYm9yZGVyLWNvbG9yLWhvdmVyIjoiI2I5YjliOSIsImJvcmRlci13aWR0aCI6IjEiLCJmb250LWNvbG9yIjoiIzljOWM5YyIsImZvbnQtY29sb3ItaG92ZXIiOiIjNTY1NjU2IiwiZm9udC1zaXplIjoiMTQiLCJmb250LXdlaWdodCI6Im5vcm1hbCIsIm1hcmdpbi1ib3R0b20iOiI3OSIsIm1hcmdpbi10b3AiOiI4NCIsInBhZGRpbmctdG9wIjoiOCIsInBhZGRpbmctYm90dG9tIjoiOCJ9LCJib2R5LW9mZmVycyI6eyJ0ZXh0LWJvdHRvbS1hbGlnbiI6ImNlbnRlciI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InXVsnYm94LXNoYWRvdyddO1xuICAgICAgICAgICAgICBcbiAgICAkKCcjc3VwZXItY3VzdG9tLWNzcycpLnJlbW92ZSgpO1xuICAgICQoJ2JvZHknKVxuICAgICAgICAuYXBwZW5kKCc8c3R5bGUgaWQ9XCJzdXBlci1jdXN0b20tY3NzXCI+JyArXG4gICAgICAgICAgICAgICAgICAgICcjbXktbG9ja2VyIHtib3JkZXItY29sb3I6ICcrbWFpbkNvbG9yKycgIWltcG9ydGFudDt9JyArXG4gICAgICAgICAgICAgICAgICAgICcubG9hZGluZy1idXR0b24ge2JhY2tncm91bmQ6ICcrbWFpbkNvbG9yKycgIWltcG9ydGFudDsgY29sb3I6ICcrdXNlTG9ja2VyU2V0dGluZ3NbJ2NzcyddWydwYyddWydib2R5LW9mZmVycyddWyd0ZXh0LWJvdHRvbS1jb2xvciddKycgIWltcG9ydGFudDt9JyArXG4gICAgICAgICAgICAgICAgJzwvc3R5bGU+Jyk7XG4gICAgICAgICAgICAgICAgXG4gICAgJCgnLm51bWJlci1vZi1vZmZlcnMnKS50ZXh0KHVzZUxvY2tlclNldHRpbmdzWydvZmZlcnMnXVsnbWluLW9mZmVycyddKTtcbiAgICBcbiAgICB2YXIgZGlmZmljdWx0aWVzID0gWydFYXN5JywgJ0Vhc3knLCAnTWVkaXVtJywgJ0hhcmQnXTtcbiAgICB2YXIgZGlmZmljdWx0eUNvdW50ID0gMDtcblxuICAgICQoJyNteS1sb2NrZXItYm9keS1vZmZlcnMtbGlzdCBhJykuZWFjaChmdW5jdGlvbigpIHtcbiAgICAgICAgdmFyIGRpZmZpY3VsdHkgPSBkaWZmaWN1bHRpZXNbZGlmZmljdWx0eUNvdW50XSB8fCAnSGFyZCc7XG5cbiAgICAgICAgJCgnLmRpZmZpY3VsdHknLCB0aGlzKS5yZW1vdmUoKTtcbiAgICAgICAgXG4gICAgICAgIGlmIChzaG93RGlmZmljdWx0aWVzID09PSB0cnVlKSB7XG4gICAgICAgICAgICAkKCc+IHNwY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W1lLiIsImJvZHktYm90dG9tIjoiT2ZmZXIgSW5jb21wbGV0ZSEiLCJmb290ZXIiOiJDb21wbGV0ZSA8c3Ryb25nIGNsYXNzPVwibnVtYmVyLW9mLW9mZmVyc1wiPjA8L3N0cm9uZz4gb2YgdGhlIG9mZmVycyB0byB1bmxvY2sgdGhlIGNvbnRlbnQuIn19
  • 5. Paste the code in the Import text box.
  • 6. Click the "Import" button
  • 7. Click "Save" to save your design
How to customize this Content Locker?

How to customize this Content Locker?

With this Content Locker you're able to change the number of Offers to display, as well as almost all of the text that you can see, and even the default Offer image.

To change the amount of Offers that are displayed: Click on "Offers", and adjust the "Number of Offers" value.
To change the Header image: Click on "Custom CSS & JavaScript", choose "JavaScript", and change the URL in the headerImage variable.
To change the "Claim Your Resources - Last Step" text: Click on "Design Your Content Locker", choose "Header", and change the text in the "Text" input.
To change the "To avoid robot entries ..." text: Click on "Design Your Content Locker", choose "Body > Offers", and change the text in the "Top Text" input.
To change the "Offer Incomplete!" text: Click on "Design Your Content Locker", choose "Body > Offers", and change the text in the "Bottom Text" input.
To change the "Complete 1 of the offers to unlock ..." text: Click on "Design Your Content Locker", choose "Footer", and change the text in the "Bottom Text" input.
To change the border color and "Offer Incomplete!" background color: Click on "Design Your Content Locker", choose "Content Locker", and change the value in the "Border Shadow Color" input.
To enable or disable Difficulties: Click on "Custom CSS & JavaScript", choose "JavaScript", and change the showDifficulties variable to either true (show) or false (hide).

How do I use this Content Locker on my Landing Page?

If you're using CPABuild's Templates as your Landing Pages, visit the Global Links page, and click the "Edit" button next to each Template you want to use your new Content Locker on. Once you've pressed "Edit", just choose your new Mobile Locker and then press "Save".

If you're using custom Landing Pages, visit the Content Locker Code page, choose the Content Locker(s) you want to use, and then click "Generate Code". Follow the instructions depending on how you want to implement your Content Locker into your Landing Page.

No comments:

Post a Comment

Desktop + Mobile Detailed Locker

A CPABuild member showed me a Content Locker similar to this, so I figured I would re-create it with a few changes in hopes that some of you...