Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config update + extras #10

Merged
merged 5 commits into from
Dec 23, 2014
Merged

Config update + extras #10

merged 5 commits into from
Dec 23, 2014

Conversation

jonom
Copy link
Contributor

@jonom jonom commented Dec 18, 2014

Hi Bart,

I noticed that by default this module only applies to pages using the generic 'Page' class. I think that most of the time you will want the SEO tab to be available on custom page types, and it will be a rare few pages where you will want to hide it. With this PR I've changed the configuration so that you only have to specify which pages will not include the SEO tab, otherwise it will be included by default. Makes it quicker to get up and running out of the box and means you don't have to add an entry to the SEO config each time you add a new page type to a project.

I also reinstated the google suggest filed in this PR and fixed a little issue where the preview wouldn't always load. (Resolves #9)

The config updates aren't backwards compatible so I guess if you accept this PR it would justify a major release number if you're following semver. I didn't update the ReadMe.md to go with the changes as I wasn't sure you'd approve of them - but let me know if you want me to do that.

Moved configuration on to SeoObjectExtension to be more in line with
other modules, and made SEO tab show for all page types by default
The google search result preview would not always load the first time,
requiring the meta description field to be edited to trigger population.
This can mean a big performance improvement for websites hosted on
slower servers
@hubertusanton
Copy link
Owner

Hi Jonom,

Thanks a lot! Inversing the usage of the SEO module is a very good idea indeed. I saw a topic on the SS forum from someone who had questions about this as well because the configuration was not clear.

I will merge your pull request next week. And will create a new release for it (2.0) Feel free to edit the readme and be sure to mention your name with these fixes ?

Cheers,

Bart

hubertusanton added a commit that referenced this pull request Dec 23, 2014
Config update + extras
@hubertusanton hubertusanton merged commit a8a0ccc into hubertusanton:master Dec 23, 2014
@jonom
Copy link
Contributor Author

jonom commented Dec 24, 2014

Thanks for the merge and shout out ;)

helpfulrobot pushed a commit to helpfulrobot/micschk-silverstripe-liveseo that referenced this pull request Dec 16, 2015
FIX: Ensure the entire URL is used when check for page subject
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Google suggest disabled?
2 participants