1

Topic: POLL DADDY- polling code integration in post box

Dear admin.
Sharetronix users suffers from a good rating widget. Poll daddy can be an ultimate solution. I have the code, they ask to insert in template , wherever you wish the vote-button to appear.
But, when I insert the code, editing single_post.php ,  before (p->parse_text() ?>) it results in the vote button  but only on the fist post .
this is the code they offer you.

<div id="pd_rating_holder_2561207"></div><script type="text/javascript">PDRTJS_settings_2561207 = {    "id" : "2561207",    "unique_id" : "default",    "title" : "",    "permalink" : ""};</script><script type="text/javascript" src="http://i.polldaddy.com/ratings/rating.js"></script>

Will you please guide me , how and where to put this code. I wish it to be placed below the user-thumbnail in post-box area.Igore the "textarea" code wrapping.

Last edited by greatkaniska (2010-11-15 16:06:09)

Thumbs up Thumbs down

2

Re: POLL DADDY- polling code integration in post box

First of all .js or javascript extension files should be placed on the "header" section not with the template files which belongs to Body of the document.
Only the code snipet which is used for display will be placed on body of the document

Place the appropriate files in the correct place and try again.

Install Turnkey Web Scripts start your own profit portals
Do someMicro Jobs and earn decent money on your part time

3

Re: POLL DADDY- polling code integration in post box

They provide all the codes above as snippet. Nothing happens after I put the javascript files in header.php  and the part  <div id="pd_rating_holder_2561207"></div>just after <?= $D->posts_html ?>
But nothing happens. I also tried placing the only the second javascript file in header.php in themes folder, but of no use. I thing something must be there to approve the function in controllers/

Thumbs up Thumbs down

4

Re: POLL DADDY- polling code integration in post box

any success here boss ?

Thumbs up Thumbs down