Elxis CMS Forum

Extensions => Modules => Topic started by: perseas on May 21, 2016, 20:33:57

Title: Tag Index Instead Of Tag Clouds
Post by: perseas on May 21, 2016, 20:33:57
Hello

intersted for a module like cloud Tags but the tags be sorted in alphabetical order.

Just like this (https://www.smashingmagazine.com/2007/11/tag-clouds-gallery-examples-and-good-practices-2/#tag-index-instead-of-tag-clouds) example.

Is it possible to upgrade cloud Tags to a newer version of Tags Cloud Module ??
Title: Re: Tag Index Instead Of Tag Clouds
Post by: datahell on May 21, 2016, 21:17:30
You need something else than a tags cloud. You need a list of all tags on site.
Title: Re: Tag Index Instead Of Tag Clouds
Post by: perseas on May 21, 2016, 22:07:29
I need a list of all tags on site like this (https://www.smashingmagazine.com/2007/11/tag-clouds-gallery-examples-and-good-practices-2/#tag-index-instead-of-tag-clouds).
Title: Re: Tag Index Instead Of Tag Clouds
Post by: webgift on May 23, 2016, 13:55:58
I will create a content plugin with such functionality the upcoming days. Stay tuned!
Title: Re: Tag Index Instead Of Tag Clouds
Post by: perseas on May 24, 2016, 15:57:33

Thanks webgift wonderful news. I am waiting for your response.
Title: Re: Tag Index Instead Of Tag Clouds
Post by: webgift on May 25, 2016, 17:48:38
You can check Twitter's page (https://twitter.com/webgiftgr) if you wish in order to see a today's preview! It
will be released soon.
Title: Re: Tag Index Instead Of Tag Clouds
Post by: perseas on May 25, 2016, 18:10:20
YES. That's what I want.
Perfect.
Thanks
Title: Re: Tag Index Instead Of Tag Clouds
Post by: webgift on May 25, 2016, 18:16:24
 ;)
Title: Tag Index v1.0 - Content Plugin
Post by: webgift on May 26, 2016, 14:27:45
Tag Index v1.0 content plugin released for free today! You can download it [1] from EDC area
or check this out the demo [2] page i have created for demonstration purpose!

Important: The extension currently support Greek and English alphabets. If you wish to add
your language please send me a reply to this post or fill this form out [3]! We will like to
share with us your language name in English and the capital letters separating them by comma
character like this: 'A', 'B', 'C', 'D' etc.

This extension is provided for free. If you like it, support us by making a donation [4]!

[1]: https://www.elxis.net/edc/search-indexes/124.html (https://www.elxis.net/edc/search-indexes/124.html)
[2]: http://ares.webgift.gr/tags-index.html (http://ares.webgift.gr/tags-index.html)
[3]: http://webgift.dev/contact.html (http://webgift.dev/contact.html)
[4]: http://webgift.dev/donation.html (http://webgift.dev/donation.html)
Title: Re: Tag Index Instead Of Tag Clouds
Post by: datahell on May 26, 2016, 19:33:31
Thumbs up for Stavros! Looks a very nice plugin!  :D
Just 1 note: You could use list elements instead of a table to output tags. Or you could display table's TD cells as block elements at low screens resolutions (mobiles). Something like that:
@media only screen and (max-width: 700px) {
    .table_class_here td { display: block; width:100%; }
}

Although something like that would be better:
<nav>
<ul>
     <li>...</li>
     <li>...</li>
     <li>...</li>
</ul>
</nav>
Title: Re: Tag Index Instead Of Tag Clouds
Post by: rentasite on May 26, 2016, 22:50:31

Great plugin! Bravo Stavro!
Title: Re: Tag Index Instead Of Tag Clouds
Post by: chongbing on May 27, 2016, 00:18:56
It's COOL! Thanks Stavros!
Title: Re: Tag Index Instead Of Tag Clouds
Post by: webgift on May 27, 2016, 11:02:16
Thank you all for the wonderful feedbacks!
@datahell, i know that unordered lists are more preferred option than tables however i
would like to have more than one (vertical) list per letter. I know that i could float: left; the
lists with certain width in pixels there however the appearance result is not the one i would
like to especially if there is at least a keyword with more that 3 words! This is the reason i
finally rejected that option.

The extension use the table's class 'elx_tbl_list' that's why i didn't add a media rule for
screens lower than 700 pixels from the begging. I would like to leave this option to the
template's designers!

In any way i finally updated this extension to 1.1 version. I increased the number of lists
from maximum 3 to 4, i made this table more suitable and finally i added by default a media
rule in order to become responsive in any way!
Title: Re: Tag Index Instead Of Tag Clouds
Post by: datahell on May 27, 2016, 21:51:16
You can use percentage values on floated elements, eg 25% for a 4 columns layout and you could add a minimum width declaration. On low resolutions you convert them to 100% width. This is just a proposal, you make as you wish. The extension is excellent regardless this.

.something { width:24%; margin:0 1% 5px 0; min-width:150px; float:left; }
Title: Re: Tag Index Instead Of Tag Clouds
Post by: michalis1984 on May 28, 2016, 21:22:59
Εξαιρετικό Plugin.

Θα μπορούσα με κάποιο τρόπο να το κάνω να εμφανίζεται στη σελίδα tags.html ??

Ένας εύκολος τρόπος χωρίς να πειράξω το elxis είναι μέσω 301 forward μέσω htaccess .. αλλά μετά οι σελιδες των ετικετών θα δουλεύουν;
Title: Re: Tag Index Instead Of Tag Clouds
Post by: datahell on May 28, 2016, 22:40:52
Δεν χρειάζεται να κάνεις κάτι τέτοιο. Η σελίδα tags.html δεν εμφανίζει ετικέτες αλλά τα αποτελέσματα αναζήτησης μίας ετικέτας. Αυτό κάνει και το plugin του Σταύρου. Βάλτο σε μία οποιαδήποτε σελίδα και το plugin θα δημιουργήσει συνδέσμους αναζήτησης προς την σελίδα tags.html.

Αν θες να το κάνεις οπωσδήποτε τότε κάνε ότι γράφω:

Άνοιξε το αρχείο components/com_content/views/generic.html.php
Πήγαινε στη γραμμή 125:
$this->wrapperStart('tags', 0);

Και γράψε από κάτω:
eFactory::getDocument()->modules('tags_page');

Πήγαινε στη διαχείριση και φτιάξε μία θέση Module με όνομα tags_page.
Στη διαχείριση πήγαινε στα module και φτιάξε ένα νέο module περιεχομένου. Στον editor ενσωμάτωσε το plugin του Σταύρου όπως θα έκανες σε ένα άρθρο και στις παραμέτρους του module επέλεξε να επιτρέπεται η εκτέλεση προσθέτων/plugin.
Title: Re: Tag Index Instead Of Tag Clouds
Post by: michalis1984 on May 29, 2016, 17:08:07
Σίγουρα δεν χρειάζεται να το κάνω αυτό. Ο μόνος λόγος που θέλω να το κάνω είναι για ευκολία κάποιων χρηστών που ενώ βρίσκονται στο tags.html?tag=elxis προσπαθούν να πάνε στο tags.html.

Μπορεί να μπει σε μια αυτόνομη σελίδα tags-index.html ή σε μια οποιαδήποτε άλλη σελίδα περιεχομένου αλλά αφού μπορώ να το βάλω στο tags.html τότε γιατί όχι.

Για ακόμη μια φορά εξαιρετικό και χρήσιμο Plugin για ορισμένου τύπου ιστοσελίδες. Ευχαριστούμε την ομάδα του elxis και ιδιαίτερα τον αρχηγό datahell.