Hi guy please I really need your help.I created a blogger blog and emended some ...
-
Help customizing blogger blog
Hi guy please I really need your help.I created a blogger blog and emended some you tube videos on it with after jump summary (Read more).I try to lock the videos with content locking from *******.But the problem is instead of locking the video,it lock the page and even my home page is not displaying properly.I want the locker to when a user click on the "read more" botten and the are taking to the post page and not on my home page.
Guys I really need your help.Please help me.What should I do?
-
-
-
Re: Help customizing blogger blog
you need to put a condition in the theme html so that the locker code only runs if a certain page is viewed
HTML Code:
<b:if cond='data:blog.url == "URL of the page"'>
Locker Script
</b:if>
-
The Following User Says Thank You to Pekton For This Useful Post:
-
Re: Help customizing blogger blog

Originally Posted by
Pekton
you need to put a condition in the theme html so that the locker code only runs if a certain page is viewed
HTML Code:
<b:if cond='data:blog.url == "URL of the page"'>
Locker Script
</b:if>
Thank man! i really appreciate.Does it mean I have to do this for each post? Or I should just copy this and put it on my blog template.
-
-
Re: Help customizing blogger blog
It should go in your theme. If blogger does not let your locker script run from the theme then you might have to put it in a widget instead
-
-
Re: Help customizing blogger blog

Originally Posted by
Pekton
It should go in your theme. If blogger does not let your locker script run from the theme then you might have to put it in a widget instead
Bro I put it on the blog html ut did not work.
I added it to the html widget but lock my blog including the homepage.Pls help! I want the script to appear when a user click on the play bottom. Pls help.How is this possible without locking my homepage?
Thanks man! I really appreciate your effort.
-
-
Re: Help customizing blogger blog

Originally Posted by
Pekton
It should go in your theme. If blogger does not let your locker script run from the theme then you might have to put it in a widget instead
Bro I put it on the blog html ut did not work.
I added it to the html widget but lock my blog including the homepage.Pls help! I want the script to appear when a user click on the play bottom. Pls help.How is this possible without locking my homepage?
Thanks man! I really appreciate your effort.
-
-
Re: Help customizing blogger blog
okay so if I understand correctly you want something like this
Home page with a link to the video --> videopage and when they click on the video then they get the content locked
so what i would do is have a third page which is a fake videopage, instead of emdedding the video in it just have an image of the video & player . The image will be your link to the real video page & act as the trigger for your locker
Home --> fake video page --> real video page with locker
http://www.blackhatworld.com/blackha...t-applied.html is a great post by bornformoney
which uses the fake image idea all though he uses it for a whole page
So to get the locker to work with blogger you need it in a widget... to get it to only work on the video page you need to have some sort of conditional code that is basically saying If we are on this page then run the locker script
2 ways to do this
- Have the widget appear on each page and in the widget have the conditional thats checks to see if it should run the script or not
- Have the widget only appear on the page you want to lock. So here the conditional is checking the page to see if the widget is allowed. The widget automatically runs the script
if using 1 then my previous code
Code:
<b:if cond='data:blog.url == "URL of the page"'> Locker Script </b:if>
should work just make sure "URL of the page " is the url of the page you want locked
If 2 then read through
http://www.intechgrity.com/conditional-bloggerblogspot/ which explains conditional statements and how to make a widget appear only on certain pages
hope this helps
-
Similar Threads
-
By m.rvs2141 in forum Blogging
Replies: 67
Last Post: 02-28-2012, 01:05 AM
-
By Silly in forum Blogging
Replies: 53
Last Post: 03-19-2011, 05:05 PM
-
By simplyjo in forum Blogging
Replies: 13
Last Post: 11-01-2010, 06:36 AM
-
By evamenders in forum Black Hat SEO
Replies: 0
Last Post: 08-17-2008, 03:44 PM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks