Go to main content

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: 9,296
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,153

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,153

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: 9,296
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

#435 2020-01-27 20:54:02

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,266
Website

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

I assume this is a PHP error but didn’t see where anyone else had brought it up.

Textpattern version: 4.8.0-dev (b7c0d0c8e0bbcbc29b0121e76a8d814f)
Last update: 2020-01-25 22:57:41/2020-01-25 22:41:48
Textpattern path: __TXP-ROOT/textpattern
Article URL pattern: year_month_day_title
Production status: debug
Temporary directory path: __TXP-ROOT/textpattern/tmp
PHP version: 7.3.12
Active plugins: 
	smd_tags-0.60

The code

<txp:smd_tag_list wraptag="div" class="post-tags" break=""
     shuffle="1" indent="">
  <txp:smd_tag_name link="1" />
</txp:smd_tag_list>

The error


Tag error: <txp:smd_tag_list wraptag="div" class="post-tags" break=""
     shuffle="1" indent="">
  <txp:smd_tag_name link="1" />
</txp:smd_tag_list> ->  8192: The each() function is deprecated. This message will be suppressed on further calls while parsing form single-content on page article

As of this writing, it can be seen live.

Oh, and when adding a new tag, the backend displays:

Deprecated
: Parser::textileThis() is deprecated. Use Parser::parse() instead. in
/home/.../vendors/Netcarver/Textile/Parser.php
on line
2048

Offline

#436 2020-01-27 23:00:36

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 9,296
Website

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

Both of those issues should be fixed in beta 3.


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

#437 2020-01-28 02:11:48

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,266
Website

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

Bloke wrote #321376:

Both of those issues should be fixed in beta 3.

And so it has been. I saw there was a Beta of 0.60 but I thought I had it installed already. Apparently mine was an earlier incarnation.

Thanks, Stef

Offline

#438 2020-03-03 22:39:09

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,266
Website

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

Okay. I am stuck again.

New Site running 4.8 and Beta 0.60

Example: http://presidents.cmsstyles.com/articles/1/just-a-standard-format-post

tag code

    <txp:smd_tag_list wraptag="span" break="" class="entry__tag-list" shuffle="1" indent="">
            <txp:smd_tag_name link="1" />
    </txp:smd_tag_list>

Click on any tag and I get a 404 every time.

Offline

#439 2020-03-04 00:32:17

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 1,616
Website

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

i’m nio help. but i sure dig your site. have you make the code publicly available?


…. texted postive

Offline

#440 2020-03-04 05:03:42

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,880
Website

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

Hi Michael
It’s definitely not the reason for the 404 but more of a heads up to say have a stray --> after the 3rd stylesheet.


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github | Covid-19; a resource
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB