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

  • Dmitrijs Rekuns
  • Onderwerp Auteur
  • Offline
Lees meer
1 week 3 dagen geleden - 1 week 3 dagen geleden #3569 door Dmitrijs Rekuns
Page class can't be added to Devices page werd gestart door 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.
Laatst bewerkt 1 week 3 dagen geleden doorDmitrijs Rekuns.
Discussie gesloten.
Lees meer
1 week 3 dagen geleden #3570 door Ruud van Lent
Beantwoord door Ruud van Lent in 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.
Discussie gesloten.
  • Dmitrijs Rekuns
  • Onderwerp Auteur
  • Offline
Lees meer
1 week 3 dagen geleden #3571 door Dmitrijs Rekuns
Beantwoord door Dmitrijs Rekuns in 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)
Discussie gesloten.