Textpattern CMS support forum

You are not logged in. Register | Login | Help

#51 2012-03-26 21:28:33

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

Re: smd_browse_by: browse articles, images, files and links by category

totoff wrote:

unterminated string literal

Hmmm, probably caused by some characters in your image categories that the plugin doesn’t like. Any weird characters floating around? Apostrophes? Double quotes? Accents? Non-printable ASCII? Stuff like that?


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

#52 2012-03-26 21:33:11

totoff
Member
From: Cologne, Germany
Registered: 2011-04-04
Posts: 145
Website

Re: smd_browse_by: browse articles, images, files and links by category

hi stef,

thanks for your reply. i did check this before my post and didn’t find any. however, i’ll now re-enter all categories from scratch and see what happens. i’ll report back.

christoph

Offline

#53 2012-03-26 21:47:53

totoff
Member
From: Cologne, Germany
Registered: 2011-04-04
Posts: 145
Website

Re: smd_browse_by: browse articles, images, files and links by category

this is very weird: there were indeed strange characters in the categories (again &#160 in the categories made by one of the editors), but they displayed only when i logged into the backend with opera (11.61). in firefox i couldn’t see it. therefore i didn’t find it first.

i did remove it and now i have the plugin back.

thanks again!

Offline

#54 2013-04-25 11:36:34

mikulas
Member
From: Czech republic
Registered: 2012-03-15
Posts: 28

Re: smd_browse_by: browse articles, images, files and links by category

Hi Stef,
I think, there is a mistake on row where is 'step' => 'link_edit' . There should be 'step' => 'link' to browse links by categories on the same page.

Offline

#55 2019-06-20 08:15:08

jgr
New Member
Registered: 2019-06-20
Posts: 1

Re: smd_browse_by: browse articles, images, files and links by category

Hi Steph,

although years later, just the hint that latest with Textpattern 4.7.3 there is a class name change of the search form: “search-form” became “txp-search”.

I did not see the added pull down menus for filtering by section and/or category until I changed in smd_browse_by_js from “.search-form” to “.txp-search”.

Maybe some further adaptions needed, at least regarding formatting of the additional elements. Also I did not yet check all other content panels.

Thanks or all your great contributions!

Joern

Offline

Board footer

Powered by FluxBB