1 (edited by 2011-06-25 17:48:27)

Topic: [TUTORIAL] Social Bookmarks

**OTHER service in next post**
Name: Social bookmarks
Author: FUNimations
CuteNews Compatibility: 1.3.6 - * (no incompatibility reported yet)
Description: Though there are numereous services for this, we'll use 1 as example. The needed info for other services should be the same as given for the example service. (AddToAny)
go to this site
Type: choose for the "Share/Save/Bookmark Widget" to share links to full stories. Or "Subscribe widget" to add the article to your rss news feed reader.
Button: well whatever you want.
Page Name: Name of your site if you like to do that.
Page url: add something like this


Then there are still some optional configuration settings i'm not going to discus.
Next click: "Get Button Code" and you'll get some code like

[url=h][img]http://static.addtoany.com/buttons/share_save_171_16.gif[/img][/url]<script type="text/javascript">a2a_linkname="MySite";a2a_linkurl="http://www.domain.com/index.php?subaction=showfull&id={news-id}&archive={archive-id}&start_from=&ucat={category-id}&";</script><script type="text/javascript" src="http://static.addtoany.com/menu/page.js"></script>

Now this part get's f*cked up in the generated code


so make sure to rebuild the url like the one you had to insert in the form.


this part is changed as it should but this for example


should be rebuild to contain the CuteNews template tags {}


and well, you add it to your full story template. Do not try to add this to your short stories. But if you do want it in the short story (and this is untested!) put the last <script> tag on the page where you have your CN include code and not in the templates.

Posts: 2

Pages 1

You must login or register to post a reply

CutePHP Forums → Hacks & Tricks / FAQ → [TUTORIAL] Social Bookmarks

The pun_antispam official extension is installed. Copyright © 2003–2009 PunBB.