Recherches récentes
Pas de recherche récente

Manuel
Adhésion le 28 mai 2021
·
Dernière activité le 27 oct. 2021
Suivis
0
Abonnés
0
Activité totale
12
Votes
0
Abonnements
2
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 Manuel
Manuel a ajouté un commentaire,
@Wes - So I got the icon and the English search placeholder to work both at the same time with the code you gave me but the French translation still won't show after I tried a few more options.
Let me know if you find how to make this work.
Here's the active code I have now:
//Find Video
$('ul.article-list li').html(function(i, t) {
return t.replace('Video:', '');
});
//Change Search Placeholder
$('#query').attr('placeholder', 'Search AQUAOVO Support');
if (currentLanguage === 'Français') {
$('#query').attr('placeholder', 'Recherche Support AQUAOVO');
}
Afficher le commentaire · Publication le 05 mars 2015 · Manuel
0
Abonnés
0
Votes
0
Commentaire
Manuel a ajouté un commentaire,
@Wes - I ran into another issue with my customizations.
Following you instructions I copied two sets of codes in my JS under the "$(document).ready(function() {" line, one for the Video: icon and one for the search box placeholder.
My problem is that only the customization with the code directly under that line is working and not the ones that come right below. I'm pretty sure it's just a question of misplaced punctuation in the code but I'm not familiar enough to find what and where.
Can you help? Below are the first 20 lines of my JS tab.
Thanks!
/*
* jQuery v1.9.1 included
*/
$(document).ready(function() {
//Find Video: replace with video icon in Article List
$('ul.article-list li').html(function (i, t) {
return t.replace('Video:', '');
$('#query').attr('placeholder','Search AQUAOVO Support');
if(currentLanguage === 'Français') {
$('input').attr('placeholder','Recherche Support AQUAOVO');}
});
// social share popups
$(".share a").click(function(e) {
e.preventDefault();
window.open(this.href, "", "height = 500, width = 500");
});
Afficher le commentaire · Publication le 04 mars 2015 · Manuel
0
Abonnés
0
Votes
0
Commentaire
Manuel a ajouté un commentaire,
@Wes - I tried to input the code to get the translation of the Search box placeholder when the language is French but it doesn't work. I just get the English text for both languages. Here's the code I have in my JS:
$(document).ready(function() {
$('#query').attr('placeholder','Search AQUAOVO Help Center');
if(currentLanguage === 'Français') {
$('input').attr('placeholder','Recherche support AQUAOVO');}
Afficher le commentaire · Publication le 25 févr. 2015 · Manuel
0
Abonnés
0
Votes
0
Commentaire
Manuel a ajouté un commentaire,
Awesome thanks! Another question: where can I edit the text (Search) displayed in the background of the search box field on the home page of my help center?
https://www.dropbox.com/s/3dlqv7buoha8hqb/Screenshot%202015-02-25%2015.30.57.png?dl=0
Afficher le commentaire · Publication le 25 févr. 2015 · Manuel
0
Abonnés
0
Votes
0
Commentaire
Manuel a ajouté un commentaire,
Thanks, I already changed it for the video camera!
https://www.dropbox.com/s/t9h7b67v0ucsf6m/Screenshot%202015-02-25%2014.23.49.png?dl=0
And what about if I wanted to be able to use more than one icon with other tag words? What would I have to do?
Afficher le commentaire · Publication le 25 févr. 2015 · Manuel
0
Abonnés
0
Votes
0
Commentaire
Manuel a ajouté un commentaire,
Yep, working just fine now. Thanks!
https://www.dropbox.com/s/k4uxyw1n51w6now/Screenshot%202015-02-25%2013.45.43.png?dl=0
Afficher le commentaire · Publication le 25 févr. 2015 · Manuel
0
Abonnés
0
Votes
0
Commentaire
Manuel a ajouté un commentaire,
Ok so I think I did everything but the Video: tag still won't be replaced by the icon. Here are 3 screenshots of my document head, css and JS tabs:
https://www.dropbox.com/s/3ycmpseol54zgfs/Screenshot%202015-02-25%2013.29.37.png?dl=0
https://www.dropbox.com/s/4dkjag6ngyn4zwb/Screenshot%202015-02-25%2013.29.16.png?dl=0
https://www.dropbox.com/s/ng5ik1d5yydumzc/Screenshot%202015-02-25%2013.26.20.png?dl=0
Is there anything wrong?
Afficher le commentaire · Publication le 25 févr. 2015 · Manuel
0
Abonnés
0
Votes
0
Commentaire
Manuel a ajouté un commentaire,
ok thanks Wes! This is the code I have in my document head:
Can you tell me how to modify it?
Thank you.
M.
Afficher le commentaire · Publication le 25 févr. 2015 · Manuel
0
Abonnés
0
Votes
0
Commentaire
Manuel a ajouté un commentaire,
Yes, I’m referring to the set of code you wrote that shows icons next to the article titles. Thanks
Afficher le commentaire · Publication le 25 févr. 2015 · Manuel
0
Abonnés
0
Votes
0
Commentaire
Manuel a ajouté un commentaire,
Hi Wes,
I'm trying to get the video label showing in my article title but it doesn't seem to be working. I've copied all the codes in place and added the "Video:" tag in my title. Anything else I could try? Thanks!
Afficher le commentaire · Publication le 24 févr. 2015 · Manuel
0
Abonnés
0
Votes
0
Commentaire