Ricerche recenti
Nessuna ricerca recente

Simon Celen
Data ingresso 16 apr 2021
·
Ultima attività 27 gen 2022
Seguiti
0
Follower
0
Attività totali
15
Voti
0
Abbonamenti
13
PANORAMICA ATTIVITÀ
BADGE
ARTICOLI
POST
COMMENTI NELLA COMMUNITY
COMMENTI AGLI ARTICOLI
PANORAMICA ATTIVITÀ
Ultima attività di Simon Celen
Simon Celen ha commentato,
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!
Visualizza commento · Data ultimo post: 13 gen 2020 · Simon Celen
0
Follower
1
Voto
0
Commenti
Simon Celen ha commentato,
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.
Visualizza commento · Data ultimo post: 14 nov 2019 · Simon Celen
0
Follower
0
Voti
0
Commenti