Textpattern CMS support forum

You are not logged in. Register | Login | Help

#431 2019-04-09 11:52:40

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,678
Website

Re: smd_tags: unlimited article, image, file and link taxonomy

Gallex wrote #317562:

sorry for dummy question: how to install it?

I’ve released a new beta for you. Download and install the smd_tags_v0.6.0_zip.txt file as normal.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#432 2019-04-14 08:03:10

Gallex
Member
Registered: 2006-10-08
Posts: 1,132

Re: smd_tags: unlimited article, image, file and link taxonomy

i need your help to get it work.

- under plugin prefs i set up the name of a section to be landing page.

- created a section tags and assigned it with default page.

- added this code at the bottom of a default page:

<txp:smd_tag_list label="Sildid" labeltag="h6" showall="1" class="smd-tag-list">
      <txp:smd_tag_name link="1" title="1" />
  <txp:smd_tag_count />
</txp:smd_tag_list>

here you can see it live (at the bottom). but if i click any tag – nothing showing up! do i need to add some more code to default page or what i’m missing?

Offline

#433 2019-04-23 12:48:52

Gallex
Member
Registered: 2006-10-08
Posts: 1,132

Re: smd_tags: unlimited article, image, file and link taxonomy

is my url managment (take a look) is wrong or do i need to add some extra code into my default page?

why it doesn’t output any articles if i click on a tag link at the bottom of a page?

Stef?

Offline

#434 2019-04-23 13:07:56

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,678
Website

Re: smd_tags: unlimited article, image, file and link taxonomy

Gallex wrote #317736:

why it doesn’t output any articles if i click on a tag link

Sorry I didn’t reply sooner. <txp:smd_tag_list> only outputs the tag tree. You need to use <txp:smd_related_tags> to go and fetch articles that are ‘related’ to the clicked tag:

<txp:smd_tag_list ... >
   <txp:smd_tag_name link="1" title="1" />
   <txp:smd_related_tags section="articles" wraptag="ul" break="li">
      <txp:permlink><txp:title /></txp:permlink>
   </txp:smd_related_tags>
</txp:smd_tag_list>

You must specify the section in which your articles are located, otherwise it defaults to “this section” and you probably won’t have any articles assigned to the tags section.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB