Songun

Link Roller help

Vote 0 Votes

Right, I've got it successfully installed; but I haven't so much experience on MT, so I've no idea how to make the thing appear on the site template, which I thought installation would automatically do. I'm not exactly a programming noob but I am an MT one. So any assistance of any difficulty is appreciate.

Reported on Movable Type 4.3

6 Replies

| Add a Reply
  • You'll have to make a widget which uses the linkroller tags. I believe linkroller uses the asset tags for most of its work if that helps.

  • Hi Mike,

    Indeed the LikeRoller plugin uses assets to manage the links.

    It created a new type of asset called "link".

    Songun, follow the sample from the plugin page. Later, you could learn about filtering link assets by tags, if you would like to display multiple blogroll widgets, each with its own links.

    Kind Regards,
    Mihai Bocsaru

    ----------------------------------
    Web Development
    Movable Type Consulting
    Six Apart Partner

    http://www.pro-it-service.com/
    ----------------------------------

    Movable Type Demo
    http://www.movabletypedemo.org/

  • I would recommend LinkBox instead. It's substantially better for generating complex blogrolls.

  • Why would you prefer LinkBox, Mike?

    We're talking about the plugin from:
    https://github.com/movabletype/mt-plugin-linkbox

    What I like about the LinkRoller plugin from:
    http://plugins.movalog.com/link-roller/

    Is that when you want to add a link, you provide the URL and then the plugin automatically extracts the META TITLE and adds it as link title and the META DESCRIPTION and adds it as a link description. You could edit both, obviously, but it is quite nice to get them automatically filled in.

    Haven't tested the LinkBox plugin, yet.

    Kind Regards,
    Mihai Bocsaru

  • I've managed to implement a very basic link asset template with the help of the limited documentation available (virtually limited to a whole comment in the comments section of that article on movalog.)

    So where exactly can I learn of code to implement filtering these link assets by tags? That much wasn't too clear.

    At present, my widget simply adds links and no more, and it requires refreshing for each link asset added.

  • The filtering could be achieved by assigning tags to your link assets and then using this syntax:

    <mt:assets tag="middle-east" type="link" sort_order="ascend">

    Where "middle-east" is a tag sample...

    The static publishing requires you to republish the whole site for seeing changes to a site-wide widget reflected online.

    You could combine the static publishing with php includes or ssi includes in order to avoid republishing the whole site, or you could first add all your links, and then do a single full site rebuild/republish.

    Kind Regards,
    Mihai Bocsaru

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1774 6167

Last Topic: Template modules by Zielun on Feb 16, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1434 5088

Last Topic: Maintenance announcement by Nick on Feb 17, 2012

695 2912

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

174 740

Last Topic: Captcha images rendering slowly by ScottM on Feb 12, 2012

190 568

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012