Recherches récentes
Pas de recherche récente

Simon Celen
Adhésion le 16 avr. 2021
·
Dernière activité le 27 janv. 2022
Suivis
0
Abonnés
0
Activité totale
15
Votes
0
Abonnements
13
APERÇU DES ACTIVITÉS
BADGES
ARTICLES
PUBLICATIONS
COMMENTAIRES DE LA COMMUNAUTÉ
COMMENTAIRES SUR L’ARTICLE
APERÇU DES ACTIVITÉS
Dernière activité effectuée par Simon Celen
Simon Celen a ajouté un commentaire,
Hi Bruce,
Assuming a stock Copenhagen theme, you can add the following to the top of your scripts.js file:
jQuery(document).ready(function($) {
$('div.article-body').each(function() {
if ($(this).children().length == 1) {
var p = $(this).children('p');
if (p.length == 1 && p.children('a').length == 1) {
location.href = p.children('a').attr('href');
}
}
});
});
It checks that there is only one line in the article containing a single link. If that's the case, the user is redirected to it.
If you replace the old article's content with f.e. "this article has moved", the user is redirected without you having to edit the scripts.js file again.
Hope that helps!
Afficher le commentaire · Publication le 13 janv. 2020 · Simon Celen
0
Abonnés
1
vote
0
Commentaire
Simon Celen a ajouté un commentaire,
Hi Marci,
You should be able to change the Subject field label in the Admin > Manage > Ticket Fields:
Find the Subject field and Edit it:
Then change the "Title shown to end users" field:
That should do it.
Afficher le commentaire · Publication le 14 nov. 2019 · Simon Celen
0
Abonnés
0
Votes
0
Commentaire