Add Tailor support to SEO Storm#126
Open
PiRifle wants to merge 2 commits into
Open
Conversation
Member
|
Hi @PiRifle Thanks for the contribution. I think that I don't get what this PR is about. I mean, I understand the language, it just doesn't seem to add support of SEO Storm to Tailor. It looks more like adding Tailor to SEO Storm? Not sure I follow. Please provide the reasoning with maybe screenshots so I could understand what you're trying to introduce. Thanks, Tomasz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request adds native support for OctoberCMS Tailor models to the SEO Storm plugin, enabling seamless use with Tailor-based content.
What’s included
Tailor blueprints
Introduces the required Tailor blueprints to define SEO Storm models as Tailor entries.
Backend option for Tailor models
Adds a backend setting to mark an SEO model as Tailor-based. This allows the plugin to distinguish between Tailor-powered models and classic Eloquent models.
Sitemap generator support for Tailor entries
When a model is marked as Tailor-based, the sitemap generator uses Tailor entries as the data source and generates URLs directly from Tailor content.
Rationale
OctoberCMS is increasingly centered around Tailor as its primary content system. This change ensures SEO Storm is compatible with modern Tailor-based projects, allowing SEO data management and sitemap generation for Tailor content without custom workarounds.
Backward compatibility
Existing non-Tailor models continue to function unchanged. The new behavior is enabled only when the “Use Tailor model” option is selected.