GetSimple Support Forum
I18N Link Manager - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13)
+--- Thread: I18N Link Manager (/showthread.php?tid=6842)



I18N Link Manager - lbarsov - 2014-10-21

This topic is about the GetSimple I18N Link Manager plugin, an easy to use plugin allowing you to manage a list of links (or blogroll if you want) on your website. It's based on code of roog with adding multilaguage support. Comments, bugs and feature requests can be posted here.

Installation

Download the latest version here, unzip the downloaded file and copy its contents to your plugins folder. To show links on your website, you have 2 options. You can add a placeholder to a page of your choice:

Code:
(% links %)

or, you can insert the following code into your theme template:

Code:
<?php lm_list_links(); ?>

For example, if you use the vanilla GS Innovation theme, you could add:

Code:
<div class="section">
  <h2>Links</h2>
  <?php lm_list_links(); ?>
</div>

somewhere between the <aside></aside> tags in the file sidebar.php to show the links in the sidebar section of your site.

Usage

Once you've followed the directions described above, You can access the plugin via the Link Manager submenu under the Plugins tab. Click on the Add Link button to start adding new links, change the order of the links by drag & drop.


RE: I18N Link Manager - Oleg06 - 2014-10-21

plugin is not activated


RE: I18N Link Manager - lbarsov - 2014-10-22

(2014-10-21, 16:05:15)Oleg06 Wrote: plugin is not activated

Which problem occured? May be I18N Link Manager and Link Manager are installed both? Must be installed only one of them.


RE: I18N Link Manager - Oleg06 - 2014-10-22

http://youtu.be/lyWNR-qz4K0


RE: I18N Link Manager - Megajax - 2014-10-23

Same problem here, when activate just get an error at the top of the plugins page and when clicking the Plugin tab to reload it get a blank page, deleting the file and folder from the plugins folder solved the problem


I18N Link Manager v2.1 - lbarsov - 2014-10-23

Updated (BUGFIX) version 2.1 available for download.
Thanks to all for response.


RE: I18N Link Manager - Oleg06 - 2014-10-24

on line 24 File edit_link.php small error LM_PLUGIN.'r/NAME


RE: I18N Link Manager - Oleg06 - 2014-10-24

it would be nice to add the ability to disable target="_blank" and rel="nofollow" and add classes to tags LI


I18N Link Manager v2.2 - lbarsov - 2014-10-25

New version 2.2 available.

NEW - Category Added
BUGFIX - Save order


RE: I18N Link Manager - lbarsov - 2014-10-25

(2014-10-24, 02:55:04)Oleg06 Wrote: it would be nice to add the ability to disable target="_blank" and rel="nofollow" and add classes to tags LI

In the next version these options will be available for change.


RE: I18N Link Manager - datiswous - 2014-10-27

Just for info:

There's also this plugin:
http://get-simple.info/extend/plugin/links-manager/525/
It is a rewrite, but original it was also based on the code from Roog.

Maybe it has ideas you can use.


RE: I18N Link Manager - pigsound - 2016-04-14

hi there,
i like your plugin very much and so i chose it for my bootstrap getsimple website.
since i have a long list of links, i chose to use the bootstrap accordion which. by applying this, i hoped to show only the category titles first and on click show the link list belonging to the respective category.

the only trouble is that my accordion is not collapsed at first - all links show in a veeeery long list. i am able to toggle all categories, but this is just the wrong way 'round. does anybody have a clue what i could do to make the accordion work the correct way?

this is the customized code snippet from the functions.php:

PHP Code:
if (!empty($links)) {
 
   foreach ($links as $id=>$link) {
 
     $c catIdx($link['cid']);
 
     if ($cid !== $c) {
 
       $cid $c;
 
       $html .= "</ul>

 <ul>

<div class=\"panel panel-default\">
    <div class=\"panel-heading\" role=\"tab\" id=\"überschrift" 
$cats[$cid]['name'] . "\">
      <h2 class=\"panel-title\">
        <a role=\"button\" data-toggle=\"collapse\" data-parent=\"#accordion\" href=\"#collapse" 
$cats[$cid]['name'] . "\" aria-expanded=\"true\" aria-controls\"collapse" $cats[$cid]['name'] . "\">
          " 
. (empty($cats[$cid][$n]) ? $cats[$cid]['name'] : $cats[$cid][$n]) . "
        </a>
      </h2>
    </div>
    <div id=\"collapse" 
$cats[$cid]['name'] . "\" class=\"panel-collapse collapse in\" role=\"tabpanel\" aria-labelledby=\"überschrift" $cats[$cid]['name'] . "\">
        <div class=\"panel-body\">"
;
 
     }
 
     $html .= "<li><a href=\"${link['url']}\" target=\"_blank\" rel=\"nofollow\">" . (empty($link[$n]) ? $link['name'] : $link[$n]) ."</a>";
 
     if (!empty($link[$d]) || !empty($link['description'])) {
 
       $html .= ' &nbsp;&mdash;&nbsp; ' . (empty($link[$d]) ? $link['description'] : $link[$d]);
 
     }
 
     $html .= "</li>";
 
   }
 
   $html "<div class=\"panel-group\" id=\"accordion\" role=\"tablist\" aria-multiselectable=\"true\">" $html "</div>
    </div>
  </div>
</div>"
;
 
 }
 
 return $html;


i am curious what you will advice me - thanks in advance!


RE: I18N Link Manager - datiswous - 2016-04-14

the collapse in class means it will be showing instead of hiding the content by default
http://www.w3schools.com/bootstrap/bootstrap_collapse.asp


RE: I18N Link Manager - pigsound - 2016-04-14

oh thank you so much - THAT was it!
Big Grin


RE: I18N Link Manager - Oleg06 - 2016-04-15

Category sorting not working


RE: I18N Link Manager - Oleg06 - 2016-04-15

sorry first tested on LiteSpeed, on the Apache server is running Smile


RE: I18N Link Manager - S60Team - 2017-10-20

Please, fix javascript loading:
Line 421: /link_manager/ to /i18n_link_manager/
and move jquery.validate.min.js (from link to local) /template/js/


RE: I18N Link Manager - elubben - 2019-04-27

Plug In works good, BUT it spits out every category and every link....with a large links list, it makes it almost impossible for users to find links.

Is there a way to allow users to view links by category? ie Ford, Chevy or Dodge instead of ford chevy dodge on one page?

Gene


RE: I18N Link Manager - datiswous - 2019-04-28

(2019-04-27, 03:31:43)elubben Wrote: Plug In works good, BUT it spits out every category and every link....with a large links list, it makes it almost impossible for users to find links.

Is there a way to allow users to view links by category? ie Ford, Chevy or Dodge instead of ford chevy dodge on one page?

Gene

I advise you to use plugin Links manager instead, it works much the same but has more functions including the one you need.


RE: I18N Link Manager - elubben - 2019-04-29

(2019-04-28, 03:33:04)datiswous Wrote: I advise you to use plugin Links manager instead, it works much the same but has more functions including the one you need.

Tried that late last night and it did what I wanted....Thanks datiswous for the help!

Gene