Blogzerk Forums
Welcome, Guest. Please login or register.
August 20, 2008, 09:34:30 PM
100 Posts in 33 Topics by 13 Members
Latest Member: duonexus
Home Help Search Login Register
Blogzerk Forums  |  Tips and Tricks  |  Look and Feel  |  HOWTO: Adding a "Digg This!" Link to Your Blogzerk Blog « previous next »
Pages: [1] Go Down Print
Author Topic: HOWTO: Adding a "Digg This!" Link to Your Blogzerk Blog  (Read 1598 times)
Zerkie
Blogzerk Administrator
Administrator
Jr. Member
*****
Offline Offline

Posts: 57


View Profile WWW
HOWTO: Adding a "Digg This!" Link to Your Blogzerk Blog
« on: January 13, 2006, 09:22:59 AM »

Digg is a great resource for  sharing technology-related blog posts, not to mention bringing visitors to your blog. To give your blog readers an easy way to submit an article on your blog to Digg, you can add a link to your category and article templates. For this example, we are going to put at "Digg This!" link next to the Permanent Link and Cosmos (and Post to del.icio.us link if you have added it)  links in both the category and article view.

To do this, first customize your category template. Edit the code for the template and find the block of code that looks like this:

Code:
{{if cosmos_url}}
&nbsp;|&nbsp; <a href="{{cosmos_url}}">Cosmos</a>
{{/if}}

After that code, copy and paste the following:

Code:
&nbsp;|&nbsp; <a href="http://digg.com/submit?phase=2&url={{permalink_url}}" target="_blank">Digg This!</a>

Save your changes. You should now see a link next to your Permalink and Cosmos (if enabled) links in the category view. Repeat this change for the article template. The code to find and to add is the same in both templates.
Logged

Pages: [1] Go Up Print 
« previous next »
Jump to: