What's New
- AuthorPosts
Hi,
Please use my attached one to override /modules/stblog folder, then go to BO > Module list, you will see the module was upgraded. then you can upload cover for each language on the article edit page.
Best regards.Attachments:
Hi,
Please replace stblog/controllers/admin/AdminStBlogController.php file with my attached one. didn’t you see any module update message on the BO > Module list page?
Best regards.Attachments:
Hi, now it works but It seems there is a bug when using recent articles blog module (not related with the modification you made for me)
When using 2 columns width, it takes the small size picture instead of the medium one (as it does the featured article module) so it doesn’t fit correctly. I solved it modifying the small picture size to be the same as the medium one but It is just a “temporal fix” because now the small image is not small anymore (it has now the same size as the medium one)
I only proved this in the blog home page, I ignore if this affect to other hooksAttachments:
Fix it works.
Testing more in deep the modification you made, I see 2 errors:
1-Inside the article, each language have an “upload image” button. But I can not see any preview (as it happened when there was only one language). The problem with this is that I do not know when the language has an associated picture or not (so I have to public part of the blog to check it)
2-in the blog list (back office) I either see any picture.I attach a photo of both problems
Attachments:
Hi,
1. I use the default file upload control, if you choose an image, the file name will show on the file field, see attached screenshot.
2. I tested it on my side, it works fine. see attached screenshot. please send me your backoffice access and FTP in a private reply, I will invesitate it for you.
Best regards.Attachments:
Btw, any way to deactivate the click in specific categories of the blog menu?
I do not want that “father category” is clickable as it will not include the articles of the child categories (it would show empty category if any client goes throw it).
I mean, the click may work to expand the child categories but the click does not have to enter the category itself.
(this can be done in the megamenu but bot in the blog menu)I tried deactivating the father category and letting active the child categories but it gives a 500 error in the website. Any suggestion?
Hi,
1. Please create a temporary account for me, so as I can investigate the blog cover image for you.
2. If you want to remove the click event for the blog category, please put the following code to the “Custom Javascript code” under Theme editor > Custom codes:
jQuery($){$('#blog_category_node_21').prev('div').find('a').click(function(){return false;})};
21 is the blog category ID that you want to remove the click event.
Best regards.- AuthorPosts
You must be logged in to reply to this topic.