Data feed file solutions for affiliates and merchants in the affiliate industry Join Today | Tell Your Friend | Bookmark Us   

Serendipity Blog Plug-in for DataFeedFile.com

We have prepared these Serendipity plug-in to help Serendipity bloggers integrate affiliate marketing advertisement using DataFeedFile.com tools.

We have created two type of plug-ins. The first is the Left & Side bar plug-in. The second is the middle blogging content plug-in.

Serendipity Left and Right Bar plug-in

Serendipity Middle Blog Plug-Ins
      Using HTML Nugget | License

Serendipity Middle Blog Content (blog entry) plug-in

In order to insert DFF scripts or tools into your middle or entry section of your serendipity blog, you must perform some editing of the entry.tpl file.

The file entry.tpl is usualy located in the \templates\default\ directory. The entry.tpl is a serendipity template file mostly written using the Smarty template system.

Simply add the codes below shown in bold right after the Smarty foreach line.
You can change where you want to show your tool be changing the if $smarty.foreach.entryloop.index==__

<!-- ENTRIES START -->
    {serendipity_hookPlugin hook="entries_header" addData="$entry_id"}

    {foreach name=entryloop from=$entries item="dategroup"} 
    
{if $smarty.foreach.entryloop.index==1} <center><script type="text/javascript"><!-- DFF JAVASCRIPT TO BE PLACED HERE --></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></center> {/if}



< Click here to return to DFF's List of Plug-Ins