Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-04-24 09:30:29

ax
Plugin Author
From: Germany
Registered: 2009-08-19
Posts: 165

linklist

I am using lists of files and links for references to download or links to literature references of my articles. The main database fields (title, category, description) of files and links are the same, making information consistent and interchangeable between the two. However, it is more difficult to generate linklists than file download lists. For example, I can write:

<txp:file_download_list form="waw_files" sort="description" wraptag="ol" break="li" id="749,750,751" />

but the same does not work with txp:linklist, because there is no “id=” argument. Therefore, I wish “id=” could be added to txp:linklist.

Secondly, the search for files and links should included as an option to the standard core search. There are the fabulous rah_file_search and rah_link_search plugins, but their functionality is somewhat different, and also different from the core search, and does not allow to include or exclude file or link categories.

What about an extension to the core search, like this:

<txp:search_input type="files" category="references" />

Thirdly, there is no tag for article, file, link, or images counts in the Textpattern core. For article counts, I am using the mdn_count plugin, for file counts fox_files_stats, and for image counts ckr_image_count. But again, this could be much more consistent if a counting tag was included in the core. For example something like that:

<txp:count type="links" exclude="other_links" />

Otherwise, I am very happy with Textpattern 4.4, a big well done to all developers!

Offline

#2 2011-08-24 11:14:11

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: linklist

ax wrote:

Therefore, I wish “id=” could be added to txp:linklist.

Wish granted in change set 3586 ;)

Offline

Board footer

Powered by FluxBB