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.
Execution of my blogPieter
Execution of the article list (default.php)
Bug is not present in joomla 3.8.2 on windows, but it is present on linux with joomla 3.8.2
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 :
I can select in the administrator environment the new layout from the override in the template
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
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
Labels |
Added:
?
|
Category | ⇒ | com_categories |
Title |
|
Sounds like a typical example of case sensitivity
Remember windows is not case sensitive but linux is
Status | New | ⇒ | Discussion |
Have you tried without using camelCase for a file name ?
Status | Discussion | ⇒ | Information Required |
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 ?
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.
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-12-12 15:54:41 |
Closed_By | ⇒ | franz-wohlkoenig |
Closed_By | franz-wohlkoenig | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/19007
Closed as Issue is solved.
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 ?
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.
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.