Is there anyway to change the way search words are highlighted?
I just started using phpMyFAQ 1.3.4
I see in the notes that this has been improved? I would just rather have a background color - like a highlighter rather than the red dotted box.
Or can someone explain why the red dotted box is better?
TIA
Change Search Highlight?
Moderator: Thorsten
Hi Andrew,
just edit the function searchEngine() in the functions.php:
Change this CSS code:
bye
Thorsten
just edit the function searchEngine() in the functions.php:
Change this CSS code:
Code: Select all
$thema = preg_replace("/(".$begriff.")/umis", "<span style=\"color: #FF0000; border: 1px dotted #FF0000;\">\\1</span>", $thema);
$content = preg_replace("/(".$begriff.")/umis", "<span style=\"color: #FF0000; border: 1px dotted #FF0000;\">\\1</span>", $content);
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Thanks for using it!AndrewB wrote:BTW - thanks for such a great FAQ manager
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
worked great
I also had to change the highlight_no_links function in the same way.
Off topic: Do you know of a good php software that I could use to organize files on the internet? I want to store files for people to download. I want to have a description, small image (icon), and the ability to search and sort the list.
thanks again
I also had to change the highlight_no_links function in the same way.
Off topic: Do you know of a good php software that I could use to organize files on the internet? I want to store files for people to download. I want to have a description, small image (icon), and the ability to search and sort the list.
thanks again
Hi Andrew,
good.
bye
Thorsten
good.
sorry, I don't know such a software.AndrewB wrote:Off topic: Do you know of a good php software that I could use to organize files on the internet? I want to store files for people to download. I want to have a description, small image (icon), and the ability to search and sort the list.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist