?
avatar PieterVuylsteke
PieterVuylsteke
6 Dec 2017

Steps to reproduce the issue

In the "native" com_component one finds two series of files in the directory
\components\com_content\views\category\tmpl
default.php and its dependents --> is executed for a articlelist
blog.php and its dependents. -> is executed for a blogcategory

In the override I installed one series of files :
template/html/com_content/blogPieter.php and five other files (including the xml file)

Then I am able to select the blogPieter in a menu item I did create.

BUT,
when I do execute that menu item, the article list layout is executed
thus the
\components\com_content\views\category\tmpl\default.php

instead of my blogPieter from the override.

Expected result

Execution of my blogPieter

Actual result

Execution of the article list (default.php)

System information (as much as possible)

Bug is not present in joomla 3.8.2 on windows, but it is present on linux with joomla 3.8.2

Additional comments

when I change /html/com_content/blogPieter.php (and the other files) to
template/html/com_content/blog.php

and I change my menu item to categoryblog, I do get the overriden version of the blog.php.
(blogPieter may then of course be removed)

Thus the BUG is, on linux :

  1. I can select in the administrator environment the new layout from the override in the template

  2. It is NOT executed, it is the default.php, thus the articlelist that is executed instead.
    as can be seen in
    http://www.fotografiepieter.be/portfolio/test-telt-niet-wej

  3. If I do a direct override of blog.php (and the other four files) I do get that adapted version for blogcategory, as can be seen in http://www.fotografiepieter.be/blog

avatar PieterVuylsteke PieterVuylsteke - open - 6 Dec 2017
avatar joomla-cms-bot joomla-cms-bot - change - 6 Dec 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 6 Dec 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 6 Dec 2017
Category com_categories
avatar franz-wohlkoenig franz-wohlkoenig - change - 6 Dec 2017
Title
Override CategoryBlog is not executed, joomla 3.8.2
Override CategoryBlog is not executed on Linux
avatar joomla-cms-bot joomla-cms-bot - edited - 6 Dec 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 6 Dec 2017

changed Title so its clear its about "on Linux".


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19007.

avatar brianteeman
brianteeman - comment - 6 Dec 2017

Sounds like a typical example of case sensitivity

Remember windows is not case sensitive but linux is

avatar PieterVuylsteke
PieterVuylsteke - comment - 6 Dec 2017

that was also my idea, I checked it (some days ago) and it is not the case.
As can be seen in this printscreen :
image

avatar franz-wohlkoenig franz-wohlkoenig - change - 7 Dec 2017
Status New Discussion
avatar Webdongle
Webdongle - comment - 9 Dec 2017

Have you tried without using camelCase for a file name ?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19007.

avatar franz-wohlkoenig franz-wohlkoenig - change - 9 Dec 2017
Status Discussion Information Required
avatar PieterVuylsteke
PieterVuylsteke - comment - 12 Dec 2017

That did it. I changed the name of my files to blogpieter, and now it is found.

Strange, is that a rule in joomla not to use uppercase ?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19007.

avatar PieterVuylsteke
PieterVuylsteke - comment - 12 Dec 2017

In the meantime I upgraded to 3.8.3 and see the same thing: with uppercase it does not work, with only lowercase it is fine.

I changed the uppercase title simply through filezilla, and even did not have to go to the administrator to have correct version.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19007.

avatar franz-wohlkoenig franz-wohlkoenig - change - 12 Dec 2017
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2017-12-12 15:54:41
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 12 Dec 2017
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 12 Dec 2017
avatar joomla-cms-bot
joomla-cms-bot - comment - 12 Dec 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 12 Dec 2017

Closed as Issue is solved.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19007.

avatar SemaphoreOxalis
SemaphoreOxalis - comment - 20 Sep 2023

And I think this old "issue"is still not documented anywhere (my new colleague who is disconering J! just have spend 2 hours on this lowercase thing) How can we update the official doc ?

avatar Webdongle
Webdongle - comment - 20 Sep 2023

And I think this old "issue"is still not documented anywhere (my new colleague who is disconering J! just have spend 2 hours on this lowercase thing) How can we update the official doc ?

This is an issue with Windows and the user manually using camelCase. You will notice that Menu/Article Titles are always lowercase.

Add a Comment

Login with GitHub to post a comment