By Mist on Tuesday, 24 November 2015
Posted in Technical Issues
Likes 0
Views 1K
Votes 0
I am getting some problems when i use categories custom template override within EasyBlog.
How the problem occurs ..

1. I setup some EasyBlog Categories
2. Inside EasyBlog category settings i am selecting a "custom template" which exists in my template override folder like this :
/templates/my_site_template/html/com_easyblog/themes/category_custom_template


3. It seems that when i use this option, EasyBlog it's searching for it's css files in the wrong location.
By inspecting the page source, i notice that when a "template" it's chosen in the category settings, EasyBlog will look for it's css file like this (which it's wrong)

  <link rel="stylesheet" href="http://www.site.com/components/com_easyblog/themes/category_custom_template/styles/style.min.css" type="text/css" />
<link rel="stylesheet" href="http://www.site.com/components/com_easyblog/themes/category_custom_template/styles/style-modules.min.css" type="text/css" />


When i dont' use any custom template in the category settings, EasyBlog will get the css as it should from the "wireframe" template

<link rel="stylesheet" href="http://www.site.com/components/com_easyblog/themes/wireframe/styles/style.min.css" type="text/css" />
<link rel="stylesheet" href="http://www.site.com/components/com_easyblog/themes/wireframe/styles/style-modules.min.css" type="text/css" />


What i am doing wrong ? Is this a bug ?
Hi Mist,

I am really sorry for the delay of this reply.

It seems like there are some bug with the category template override. I will add this issue into the tracker so our developers will be able to fix this in the next release of easyblog. Thanks for understanding.
·
Thursday, 26 November 2015 15:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mist,

I am really sorry for the delay of this reply.

I'm a little bit lost here. Do you mean the template overriding settings from your backend > easyblog > categories > select category > custom template, http://screencast.com/t/o0ofpaf5q ?

Can you provide us with your Joomla backend and FTP access so we can check on this issue directly?
·
Wednesday, 25 November 2015 18:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, exactly.
If i use a custom template in category settings, EasyBlog "forgets" to load the "wireframe" css files instead it's searching for css files in this location


  <link rel="stylesheet" href="http://www.site.com/components/com_easyblog/themes/custom_theme_name/styles/style.min.css" type="text/css" />
<link rel="stylesheet" href="http://www.site.com/components/com_easyblog/themes/custom_theme_name/styles/style-modules.min.css" type="text/css" />


where "custom_theme_name" it's the actual name of custom theme.

If i don't use a custom theme in category settings, everything it's back to normal .

PS: I updated this ticket with required login credentials
·
Wednesday, 25 November 2015 18:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Sure, no problem. Thanks for checking it out
However if you guys get a patch ready, i will be happy to apply it manually until you release the new version.
This will allow me to launch the website faster. Without the patch i can't pretty much make any progress.
·
Thursday, 26 November 2015 19:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mist,

Perhaps you can try to place your style.css first inside your /components/com_easyblog/themes/custom_theme_name/styles/ folder and see how it goes?
·
Thursday, 26 November 2015 19:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Yeah, that worked. It will do just fine until the next release
Thanks !
·
Friday, 27 November 2015 03:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Mist,

You are most welcome.
·
Friday, 27 November 2015 10:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Mist,

Just for your information, there is a bug in the detection of css files. The category override also allows you to create a custom.css file in /templates/JOOMLA_TEMPLATE/html/com_easyblog/themes/CUSTOM_TEMPLATE/styles/custom.css

By having this custom.css file, it will not render the base configured theme. The bug occurs when you DONT have a custom.css as it should always fall back to the configured theme

This is fixed in the next release.
·
Monday, 21 December 2015 01:30
·
0 Likes
·
0 Votes
·
0 Comments
·
P/S: This is the patched file. Upload it into /administrator/components/com_easyblog/includes/stylesheet/
·
Monday, 21 December 2015 01:31
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post