No bug Page class can't be added to Devices page

More
1 week 13 hours ago - 1 week 13 hours ago #3569 by Dmitrijs Rekuns
Page class can't be added to Devices page was created by Dmitrijs Rekuns
Hi,
I recently discovered that no page class suffix appears for Devices (access tools) menu item. I am using it to customize the design of the pages, so I am expecting this one:
<body class="profile">
But nothing appears. The same effect without override.
There is no such issue with Invoices, Subscriptions pages.
Last edit: 1 week 13 hours ago by Dmitrijs Rekuns.
The topic has been locked.
More
1 week 12 hours ago #3570 by Ruud van Lent
Replied by Ruud van Lent on topic Page class can't be added to Devices page
Hi,

the page class you add in the menu under tab 'page display' > page class is added correctly to the component 'page', not the template <body> element.
This is core joomla behavior (you can check that with com_content)

so for devices the page class suffix is added here:
[code]
<div class="ochsubscriptions ochsubscriptions-devices<?php echo $this->pageclass_sfx; ?>">
[\code]

note that it is always directly appended, so a suffix of 'TEST' will result in a page class 'ochsubscriptions-devicesTEST', this is also core behavior.
The topic has been locked.
More
1 week 11 hours ago #3571 by Dmitrijs Rekuns
Replied by Dmitrijs Rekuns on topic Page class can't be added to Devices page
Oh, I am terrible sorry. I've created a new menu item and it works now.

Thank you!


Best regards,
Eugene



(No issue)
The topic has been locked.