QTE - Colored attribute
Posté : 09 mai 2024, 06:00
The extension: https://www.phpbb.com/customise/db/exte ... e_edition/
Open
Find:
Add after:
Once the language key is created, you need to define a CSS class.
Please note, the language key and the CSS class must have the same name
Open
Add this to the end of the file:
In the ACP go to, « Posting » tab > Messages > Topic attributes
After setting the permissions, select the subject attribute
Open
ext/kaileymsnay/qte/language/en/attributes.php
Find:
Code : Tout sélectionner
'QTE_CANCELLED' => 'Cancelled',
Code : Tout sélectionner
'QTE_SPLIT' => 'Split',
Please note, the language key and the CSS class must have the same name
Open
ext/kaileymsnay/qte/styles/prosilver/theme/qte.css
Add this to the end of the file:
Code : Tout sélectionner
.qte_split {
color: #000;
background-color: #cfc;
padding: 1px 6px;
border-radius: 6px;
border: 1px solid #ccc;
font-weight: bold;
}
In the ACP go to, « Posting » tab > Messages > Topic attributes
After setting the permissions, select the subject attribute