Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
supress warnings on certain url scemas
When using url schemas which include the article id I do not think that we should have the warning about duplicate titles. Would the suppression of the warning for those schemas be possible?
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: supress warnings on certain url scemas
Which percentage of users ever decides to switch the URL-scheme to one that doesn’t include the ID?
What happens if you call domain.com/section/article_title when that title appears more than once (without checking I suspect only the first found article is shown)?
Instead of a warning, shouldn’t this be an error for non-ID URL-scheme and not shown at all for ID URL-schemes… combined with a check for duplicate titles when switching from ID to non-ID URL schemes?
Offline
Re: supress warnings on certain url scemas
ruud wrote #287470:
… shouldn’t this be an error for non-ID URL-scheme and not shown at all for ID URL-schemes… combined with a check for duplicate titles when switching from ID to non-ID URL schemes?
That would be great!!!!
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: supress warnings on certain url scemas
ruud wrote #287470:
Instead of a warning, shouldn’t this be an error for non-ID URL-scheme
I don’t think so. I for instance use articles as content entities with no publicly visible URL (think slider items, sidebar partials and the like). On such occasions it doesn’t matter whether the article url is not unique.
Offline
Re: supress warnings on certain url scemas
So, what if the warning remains for non id based schemes and is suppressed for the ones which use the id? … Which was my initial – be a non totally thought about – idea.
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: supress warnings on certain url scemas
colak wrote #287468:
Would the suppression of the warning for those schemas be possible?
Would an admin-side CSS override work for hiding the warning? Something like visibility: hidden;
on #messagepane span.warning
, perhaps. Restricting it to just warnings might be doable. This is what 4.5.7 shows:
<div id="messagepane"><span id="message" class="warning" style="display: block;">Article posted. The same URL-only title is used by 2 different articles. <a href="#close" class="close">×</a></span></div>
Can a plugin change admin-side CSS, or is that outside of scope?
Last edited by gaekwad (2015-03-16 13:22:35)
Offline
Offline