What's New
- AuthorPosts
Hi,
there seems to be some kind of issue with the blog and sitemap. You can test on my test server, go to modules/Google sitemap and if you want to include module-stblog-category, module-stblogarchives-default or module-stblog-article in the sitemap, you will immediately receive 500 error. Currently, you can only enable module-stblog-default, module-stblogsearch-default or module-stblogcomments-mycomments to be included in the sitemap. Can you please have a look at it as it is quite important?Hi,
The sitemap for the blog has been included in the latest version already.
It requires to modify Prestashop core code to add the blog link, modify the \controllers\front\SitemapController.php file, add the following code:$links[] = array( 'id' => 'stblog-page', 'label' => $this->trans('Blog', array(), 'Shop.Theme.Global'), 'url' => $this->context->link->getModuleLink('stblog', 'default'), );
Best regards.
Attachments:
Hi,
1. I didn’t change it, the sitemap in the blog was included in the latest version already.
2. Please try modifying the /moudles/stulrs/sturls.php file, remove the slashes from the blog category route, see attached screenshot.
3. Modify the \modules\stblog\classes\controller\FrontController.php file, remove some code as my screenshot indicated.
Best regards.Attachments:
Hi,
1. not sure why it was not working and I had to copy those folders…
2. that change is not working, it will remove slash if I keep Enable advanced dispatcher set to “NO”. The problem is I need Enable advanced dispatcher set to “YES”. If it is set to “YES”, it will remove the blog home page from category URL:
...ginalabsinthe.com/blog-category-sample
it is wrong, it should be:
...ginalabsinthe.com/absinthe-blog/blog-category-sample
I hope you understand now
3. it is much better and more logical now, it will append the blog home META to category and article only if it is emptyHi,
I didn’t meant the space after each word, I meant the space that is in front of letter “G”, see your image.
How difficult would it be to include in your next version the following:
Short content, Meta title and Meta description character counter. This function is already available in PS.Attachments:
Hi,
it works fine, thank you.
1/ I have the following code to increase the font size on mobile:
@media only screen and (max-width: 991px){body{font-size: 15px;}}
I would like to keep it and have the font-size on blog_content article and blok_blog_short_content 16px
2/ I’m trying to include video in post, so I selected Format: Video and inserted the code, however the video has too much padding at the top, problem is this code I guess:
<div style="padding:73.17% 0 0 0;position:relative;">
but if I change the padding, the video is small. It is here.
3/ is it possible to include the video below article and keep cover image?Hi,
1. Add the following code:
@media only screen and (max-width: 991px){.blok_blog_short_content,.blog_content {font-size:16px;}}
2. I can’t access your backoffice anymore, please give me the correct one.
3. Do you mean to include the video on the article content? or show the video and the cover simultaneously?
Best regards.- AuthorPosts
You must be logged in to reply to this topic.