Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2020-01-23 12:28:41

singaz
Member
Registered: 2017-03-12
Posts: 150

Re: Would it be interesting to categorize the sections?

Jakob, thanks for the answer.

Plugins become obsolete. Often authors stop supporting plugins. I try to use plugins to a minimum.

Plugins are the good.
Plugins are the problems.

If the plugin does not work in the new version, it becomes difficult and long to update the old site.

Oleg, I was late to follow the news.

rah_sitemap does not work correctly in recent versions.

Now this solution is being used. A separate section is used.

How to use media-typed forms, where to read?


Sorry my horror English. I’m learning textpattern, I’m learning English

Offline

#14 2020-01-23 13:00:54

etc
Developer
Registered: 2010-11-11
Posts: 5,157
Website GitHub

Re: Would it be interesting to categorize the sections?

singaz wrote #321293:

Now this solution is being used. A separate section is used.

The solution is fine, but instead of creating a page assigned to some section, you can create a custom-type form.

  • Go to Admin/Preferences/Admin tab. You will find there (at the bottom) Advanced options pref. Enable it if needed.
  • Now you have access to Advanced options link in the sidebar. Go there.
  • You will see Custom form template types textarea. Paste there something like
[xml]
mediatype="application/xml"
title="XML"
  • You have at present added XML to standard form types. Go to Forms and create a XML-type form called sitemap.
  • Paste there the content of your sitemap page and save.

The form will be accessible via index.php?f=sitemap URL. Tweak .htaccess rewrites if needed.

How to use media-typed forms, where to read?

Here

Offline

#15 2020-01-27 10:35:24

singaz
Member
Registered: 2017-03-12
Posts: 150

Re: Would it be interesting to categorize the sections?

Oleg, thanks for the detailed answer!

This is amazing!

I redid the sitemap on all my sites and freed up sections.

This way can make the pages “Terms of Use”, “Privacy Policy” and the like. And there is no need to write additional conditions in the sections lists and categories lists.

Another question:
Is there a way to create a separate field (custom_field) for the section and category?


Sorry my horror English. I’m learning textpattern, I’m learning English

Offline

#16 2020-01-27 11:16:37

etc
Developer
Registered: 2010-11-11
Posts: 5,157
Website GitHub

Re: Would it be interesting to categorize the sections?

singaz wrote #321360:

This way can make the pages “Terms of Use”, “Privacy Policy” and the like. And there is no need to write additional conditions in the sections lists and categories lists.

Yes, it fits well ‘stand-alone’ content that you want to take out of the usual txp workflow. You can even save and serve these forms to/from disk for better performance.

Another question:
Is there a way to create a separate field (custom_field) for the section and category?

Not that I know of, maybe via plugins.

Offline

Board footer

Powered by FluxBB