Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Duplicate Content due to section and article URL
We could probably add None
option to the multi-edit widget?
Offline
Re: Duplicate Content due to section and article URL
etc wrote #323235:
We could probably add
None
option to the multi-edit widget?
That would work. As long as the dropdowns are consistent between “None” (pageless) and “leave alone” on list and edit steps.
If we just label the value=""
as None on the edit step, how do we handle leave_blank on the section list step? They’d both have value=""
right?
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
Offline
Re: Duplicate Content due to section and article URL
etc wrote #323246:
We could give another value, e.g.
*
to leave it alone?
That’d work. This could sneak into 4.8.1 as it’s not too invasive and is an enhancement/bug fix to the theme changes. If you have time :)
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
Re: Duplicate Content due to section and article URL
I’ve tried to create a page named *
and txp did not allow me, so it looks safe. Will do.
Offline
Re: Duplicate Content due to section and article URL
I appreciate ye so much.
The TXP community is the MOST helpful, bar none.
…………………
I <3 txp
…………………
Offline
Offline
Re: Duplicate Content due to section and article URL
etc wrote #323286:
Is
*
in page and style select boxes clear enough to say ‘leave it as is’?
I think so, yes. Since *
is often used as a wildcard that means ‘anything that matches’, it makes sense in this case that we’re setting the new page/style to ‘anything that matches’, i.e. whatever’s already assigned.
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
Re: Duplicate Content due to section and article URL
What is confusing is the url article pattern for the none section.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Duplicate Content due to section and article URL
colak wrote #323290:
What is confusing is the url article pattern for the none section.
We could omit that from the Section list if the section is pageless. Just display a dash.
It would, however, appear on the Edit panel for now, unless we decide that adding a few lines of JS to the Sections panel is worth it to hide the URL pattern if the Page dropdown is switched to ‘none’ (and all the additional hassle that entails when the form is submitted without a value for that field in the payload).
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
Offline
Re: Duplicate Content due to section and article URL
That is excellent. I tested it briefly in the demo site. Another issue, which I raised before, is the question of search results.
I would expect headless sections to work in some way like editable by writers forms. That is, if someone wants to have the bios on a section’s front page, as discussed by demoncleaner in this thread, a none section would be the appropriate way to do it in order to avoid duplicated content. In larger sites however, a lot of the content is only accessible via searches. As such, in demoncleaner’s site those names would not appear in the search results…
I’m still thinking about uses but also problems for this:)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline