Giter VIP home page Giter VIP logo

shopware-6-blog-plugin's Introduction

Shopware 6 Blog Plugin

1. How it looks in the storefront

Blog listing view

2. How to create a blog entry

After the plugin installation you can find the entity if you hop to content -> blog.

Here you can see all blog entries and create new ones. Blog overview page with categories

And how you can create a new blog entry. Blog CMS Detail Page - Here you could fill in the content of your blog entry

3. Configuration

The plugin makes use of two CMS Elements which are part of two different CMS Layouts. During the plugin installation those two CMS pages will be created for you:

  • Blog Listing Page which contains a Blog Listing element
  • Blog Detail Page which contains a Blog Detail element

Within the plugin configuration the Blog Detail Page ID is assigned, so Shopware knows which CMS Page to use for the detail page.

1. Menu entry

You need to create a new category within your category tree and assign the Blog Listing CMS Page.

Category entry

After this you will see all blog articles within your menu/category entry in the storefront.

2. CMS Element

You can find new CMS elements under Block Category -> Blog:

For CMS Blog Listing element you can configure the following:

CMS Listing element configuration

Pagination within the storefront

SEO Url

Within the Settings > SEO page you can define the structure of the URL to your blog detail page where you can also select from all available variables.

SEO URL template

RSS Feed

For access RSS Feed url you can use this path /blog/rss Example(http://Your-domain/blog/rss)

Blogs assignment on product detail page

You can assign blogs to products and display them on the product detail page.

By default, the plugin comes with a CMS element called CMS Blog Assignment, and this element is a part of the Product detail page layout. So you can assign blogs to products and display them on the product detail page without any additional configuration. Alternatively, you can create a new CMS block and assign the CMS Blog Assignment element to it.

CMS Blog Assignment element

CMS Blog Assignment element configuration

Assigned products to blog

Display blogs on product detail page at Storefront

You can also display blogs of specific product on the other pages of the storefront by creating a new CMS block and assigning the CMS Blog Assignment element to it with an additional configuration like select the product.

shopware-6-blog-plugin's People

Contributors

bdgraue avatar bnussbau avatar christopherdosin avatar crisalder2806 avatar drumm3r avatar groberts84 avatar hungmac-sw avatar huytdq94 avatar jawadf avatar leduc92 avatar patrickleo175 avatar pbtkhoa avatar pedramham avatar runelaenen avatar timonf avatar viennt avatar vienthuong avatar wrongspot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

shopware-6-blog-plugin's Issues

SERP Information and Preview Picture when sharing a link

Hello,
since we updated the shopware version to 6.4.9.0 the serp information is not working anymore. As well as the preview picture when sharing a link.
We are using the latest version of the plugin: 1.5.7


Hallo,
seit dem neuen Shopwareupdate 6.4.9.0 funktionieren die Metadaten (SERP Informationen) nicht mehr, wenn der Link geteilt wird. Das gleiche gilt für das Vorschaubild.
Wir nutzen die neuste Version des Plugins 1.5.7

Danke uhnd viele Grüße

Wrong minimum shopware version

The minimum shopware version (6.3.0.0) in the composer.json is wrong.

For example, Shopware\Core\Content\Product\SalesChannel\Listing\FilterCollection does not exist in Shopware 6.3.2.1

Editing customfields in adminstration UI

Hallo,
i would like to use customfields on the BlogEntries entity. But it seems that i can't edit them in th adminsitration UI when i edit or create a new blog entry. Is it planed to make the customfields editable by the admisntration-user?

Thanks,
Hannes Pries

Teaser Image in listing

We need to add the ability to upload a teaser image which will be shown within the storefront listing.

Stay on blogpost when saving

Currently you are redirected to the list of all blog posts when you save a blog post.
Suggestion: Staying on the same page and displaying a «success» message.

Add a Teaser image

We need to add the ability to upload a teaser image which will be shown within the storefront listing.

Add images, videos and other elements in blogpost

When writing blogposts, we need the flexibility to add media such as:

  • images, galleries
  • full-width images
  • YouTube or Vimeo Videos
  • Shopware Products
  • possibilites to change the layout (e.g. bootstrap layout: rows, classes, padding, background)

One possibility could be the (buggy) Shopware editor. These element work quite well for writing blogposts even though the HTML output can be really bad.

Blog-Kategorien (Backend) & Blogartikel (Frontend) nicht sichtbar

gfgfghfgh

Moin zusammen, wir haben dieses Plugin installiert und es scheint echt top zu sein, leider sehen wir im Backend unter "Inhalte > Blog" den Kategorie-Baum nicht (sehe Bild). Im Frontend ist das Listing der Blogartikel zu sehen, aber sobald wir versuchen, einen Blogartikel aufzurufen, bekommen wir die Fehlmeldung "Leider ist etwas schief gelaufen" und sehen den Artikel nicht.

Hat jemand eine Idee, was wir hierfalsch machen?

VG, Barrie

Slug needs to be unique

When creating blog entries with identical titles, the same slug is always generated for the URL. If entries with identical titles already exist, neither a note appears nor is the new slug supplemented with, for example, a number. Thus, only the last entry entered can be seen in the shop via the URL. It would be appropriate to include a corresponding function here.

wrong image resizing

//english below

Hallo!

Wir nutzen dein Plugin und haben ein Problem mit dem resizing von Artikel-Bilder in der Artikel-Übersicht. Wird ein Fenster mit dem Blog in der Breite geändert, nachdem es geladen wurde, so werden die Bilder unnatürlich breit gezogen.

Urzustand nach dem ersten Laden der Seite:
urzustand
rechtes Bild ändert sich beim Fenster resizen
Fenster verschoben

Hier ein Video des Problems:
https://youtu.be/5pWJeSq3HK4

Der einzige Unterschied, welcher mir auffällt zwischen Bildern die korrekt resized werden und jenen, bei denen es nicht klappt, ist die Auflösung. Probleme gibt es in meinem Fall bei Bildern mit 1920x1080, keine Probleme bei 800x600 (Stichprobe). Alles jpeg.

Ich hoffe dafür können wir eine Lösung finden.

Danke!

Hello!

We are using your plugin and have a problem with resizing article images in the article overview. If a window with the blog is changed in width after it has been loaded, the images will be drawn unnaturally wide.

** Original state after the first loading of the page: **
urzustand
** right picture changes when resizing window **
Window moved

** Here is a video of the problem: **
https://youtu.be/5pWJeSq3HK4

The only difference I notice between images that are correctly resized and those that don't work is the resolution. In my case there are problems with images with 1920x1080, no problems with 800x600 (sample). Everything in jpeg.

I hope we can find a solution for that.

Thanks!

@Barrington77 We just released version 1.4 for Shopware 6.4

Moin Christopher, leider haben wir das Problem immer noch, dass die Blogartikel (Detailseiten) im Frontend nicht angezeigt werden. Ich glaube, dass das mit den Kategorien zusammenhängt, da diese im Backend nicht zu sehen sind. Sobald ich Kategorien im Backend unter "Inhalte > Blog >Blog Kategorien" erstelle, verschwinden die wieder (obwohl die auswählbar beim Erstellen von Blogartikeln sind). Ich verstehe nicht, woran das Problem liegen könnte...

Viele Grüße im Voraus.
Barrie

Symfony Exception

Hey,
nach dem Shopware-Update auf 6.4.0 erhalte ich folgende Fehlermeldung

"Sas\BlogModule\Controller\BlogController" has no container set, did you forget to define it as a service subscriber?
Log:
Uncaught PHP Exception LogicException: ""Sas\BlogModule\Controller\BlogController" has no container set, did you forget to define it as a service subscriber?" at /var/www/clients/client1/web36/web/vendor/symfony/framework-bundle/Controller/ControllerResolver.php line 39
{
"exception": {}
}

Vielen Dank

Newest blog items

Can you please add a new cms-block with the newest blog items.
It's just like the listing but without the filters and pagination.

Different dates on blog list and blog detail page

I've noticed that the blog dates used in the listing and detail page are different from each other.
The date on the blog listing page shows the 'Published at' date.
The date on the blog detail page shows a different date.

Ps. Thank you for your awesome plugin, looking forward to v2!

Blog detail page
Blog listing page
.

Sitemap

Description

The single blog pages are not listed in the sitemap.

Question

Did I misconfigure the extension?

Individual json+ld

Hi,
as discussed by e-mail Part 1:
The plugin generates insufficient schema.org data for me. I would like to have a large text field in the individual blog posts (depending on the language de / en) in which I can insert my own json+ld scripts. These should then simply replace the data generated by the original plugin. I would insert the full scripts including <script ...> - possibly several in a row.

Hallo,
wie per E-Mail besprochen Teil 1:
Die erzeugten schema.org Daten sind nicht für alle Zwecke ausreichend. Es wäre toll, wenn es ein neues Feld in den Blog-Beiträgen (sprachabhängig) geben würde, in welches man eigene scripte einfügen kann, welche dann den derzeit erzeugten json+ld Code ersetzten. Es sollte möglich sein mehrere scripte einzufügen (inkl. der <script> Tags um diese abzugrenzen).

Smiliar articles

Feature suggestion:
Display similar articles (with title, image, meta information) based on tags or categories at the end of the blogpost.

RSS feed

As a shop admin and avid user of your blog plugin for shopware 6, I'd love to be able to create an RSS feed for my blog so that I can use the content of my blog posts in my e-mail newsletter and social media marketing efforts more effectively.

Side menu

Hi,
as discussed by e-mail Part 2:
In the original plugin, two dropdown fields are displayed as filters at the top of the listing page. I would like to have a side menu on the left side on the listing page and on the detail page. This should display the categories alphabetically sorted below each other. The appearance should be similar to the category overview for shop-categories.

Hallo,
wie per E-Mail besprochen hier Teil 2:
Derzeit gibt es nur zwei Dropdown-Felder zur Auswahl bzw. als Filter auf der Übersichtsseite. Es wäre schön, wenn die Kategorien auf der linken Seite alphabetisch dargestellt würden (sowohl auf der Übersichtsseite als auch auf der Detailseite). Optisch sollte dieses ähnlich wie die Kategorieauswahl bei Artikeln sein, damit es optisch im Shop zusammenpasst.

UX-Suggestion

Suggestion:
Adding a back button on the page where you edit a blog post. This is a common way to navigate in the Shopware User Interface.
mockup-blog-back Kopie

Error 500 when using «Raw HTML» in Editor

When using RAW HTML in the editor, the blog post can not be loaded. Instead I get an Error 500:

LoaderError
HTTP 500 Internal Server Error
Unable to load template "storefront/component/blog/_partials/_block_raw.html.twig". (Looked into: ZurigaCoffee, Framework, Profiling, Administration, SwagPayPal, GbmedEnev, AcrisShopSwitchCS, RhiemProductRegistrationSw6, CwbWalleePayment6, DreiscSeoPro, MaxiaLazyLoader6, ShePlatformSalutation, EcoShrinky, SasBlogModule, Storefront)

Blog-Article design

Hi,
one more thing ;-)
it would be nice if you could make the blog articles a little better to design. Maybe even something like the "erlebniswelten".

Hallo,
es wäre schön, wenn man die Blog-Artikel etwas besser gestalten könnte. Eventuell wie die Erlebniswelten. Insbesondere um Text in Blöcken z.B. nebeneinander darzustellen oder Bilder/Videos responsive einzubinden, was mit reinem html sehr umständlich ist.

Plan blogposts

Suggestion: Add ability to plan a blog post to a publish date in the future.

Cant show all blog on Shopware 6.4.*

Hello, Chris after install your module I can't show all blogs like your preview in-store shopware under domain/blog but when I use domain/blog/detail name blog it's working, can you tell me how can I solve this issue?
this error when i just use domain/blog is
image

Change publish date

At the moment, once a blogpost is saved, the initial date and time of first saving a draft is beeing used to display on the top of a blogpost.

Suggestion:

  • Use date and time stamp when a blog post has been published instead of first save of a draft.
  • Add ability to update date and time of a blogpost. Useful when changes are made.

Change LICENSE

Hi @ChristopherDosin
Can you please add a LICENSE file and update the license field accordingly in composer.json?
I think the MIT licence is a good fit for open source Shopware 6 plugins, as Shopware 6 itself uses it too and gives a lot of freedom to users and contributors.

Create BlogListingFilterBuildEvent in BlogCmsElementResolver.php

Hi, it would be nice if the getFilters Method in BlogCmsElementResolver.php would fire a BlogListingFilterBuildEvent, so that it is possible to add custom Filters to the Blog Listing.

The only solution to add custom Filters at the moment would be to override the whole class as far as i can tell.

Add CSS class or style in Editor

Suggestion:
Change the look of an element in the editor (without having to use RAW HTML), for example by adding classes or CSS styles to an element.

Many errors on entities and definitons

More than 110 Errors when running bin/console dal:validate like Missing reverse one to many association for Sas\BlogModule\Content\BlogAuthor\BlogAuthorTranslation <-> Shopware\Core\System\Language\LanguageDefinition (language)

When approximately can we expect the update?

cheers

Wron slug with umlauts

Left the Title -> right the slug is wrong

Because "Für" is not "fur" = fuer is right.

Bildschirmfoto 2020-11-05 um 16 44 54

Show Blog entries on a product-detail page that are related to the specific product

The idea is to show also blog entires on a product-detail page that belongs to a product for version 2.0
Maybe you want to write an article about a specific product.

Therefore we should create a new CMS Block & Element so the user is able to place a blog-product element to the product-detail page where we will show the blog teaser that are related to a product.

Within the administration we need to add a new multi-entity-select so the user is able to attach a blog article to a product also. This assignment option should be optional.

Bildschirmfoto 2022-04-22 um 12 05 53

Pre-view cut off (custom theme)

Hi,

we are using a custom theme by Zenit design and experiencing a cut off from the pre-view text. Maybe someone could point us in a direction how to solve the issue.

Custom theme - cut off

Standard theme - OK

Thanks,
Tobias

Create Tags

We need the ability to tag blog posts within the admin and then filter within the storefront based on those tags.

Preview blogposts

Add a button to the detail view to preview a blogpost on the frontend.

Format of Date

Currently, the date format of a blog post being used looks like that:
Bildschirmfoto 2020-10-15 um 14 05 32

Can this format be changed e.g. to DD.MM.YYYY hh:ss?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.