Problems, need help? Have a tip or advice? Post it here.
5 posts Page 1 of 1
Hi

I'm using the folder_desc as a meta description tag.
The folder_desc is formatted in a richtext editable, but I would like to switch this to Text, so I don't have any <p>-tags in the meta description tag.

Where do I have to search to edit this?

Thanks!
Hi!

This is not usually available without reconfiguring your setup. That rtf-desc is a system thing..
But there is always a place for a hack!
Check this:
excerpt
The excerpt tag can be used to create an excerpt of any content that is enclosed within its opening and closing tags.
Unlike the excerptHTML tag, the excerpt tag strips off all HTML tags (except those specified by its allow parameter) from the excerpt it creates.

http://docs.couchcms.com/tags-reference/excerpt.html
Basically, specify the length of your meta and strip off those nasty p's. And you also can specify number of words.
Join COUCH:TALK channel here https://t.me/couchcms_chat
Ryazania — a framework to boost productivity with Add-ons viewtopic.php?f=2&t=13475
Support my efforts to help the community https://boosty.to/trendo/donate
That is indeed a good trick 8-)
Thank you for the help!
Welcome :D
Have you checked extended folders module? This also can be of help, if ever you need more editables for a folder..
Join COUCH:TALK channel here https://t.me/couchcms_chat
Ryazania — a framework to boost productivity with Add-ons viewtopic.php?f=2&t=13475
Support my efforts to help the community https://boosty.to/trendo/donate
Yes, I have some experience with that ;)
5 posts Page 1 of 1