Sponsored Content
Top Forums Web Development New Font Awesome Icons in Quick Reply Editor Post 303027083 by Neo on Saturday 8th of December 2018 11:36:43 AM
Old 12-08-2018
OK... I found out why I cannot change a few of the icons without breaking things

The original code for the quick editor does a string match on a couple of the HTML strings that represent the original icons. If I change the icon code, the toolbar breaks. This string match is used to insert addition custom icons after the match icon strings.

This is not a problem but I will need to write the PHP code to do a string match using some other string. So my TODO list has increased regarding cleaning up these editors.

Cheers.
 

6 More Discussions You Might Find Interesting

1. What is on Your Mind?

New jQuery to view Post Icons in Editor

I was reformatting the "advanced" WYSIWYG editor with bootstrap css and while there made the post icons to be invisible by default; so if you click on the text below the editor: Post Icons - Click to view the full list of message icons to add to your post: ... (0 Replies)
Discussion started by: Neo
0 Replies

2. What is on Your Mind?

New Icons Coming from Font Awesome

Finally making some progress on getting rid of the 10 year old buttons with modern day fonts and icons thanks to a responsive web design tutorial by Brad Traversy who's video pointed me to Font Awesome. The buttons and icons were pretty easy to implement but it too me a number of hours... (39 Replies)
Discussion started by: Neo
39 Replies

3. What is on Your Mind?

Small bug in the Quick Editor function in postbit

Hey, There was a small bug in the Quick Editor function in postbit, but I fixed it (basically a double quote was missing from an element id): <div id="post_message_$post" class="neo-message-area">$post</div> Was <div id="post_message_$post class="neo-message-area">$post</div> Should... (1 Reply)
Discussion started by: Neo
1 Replies

4. What is on Your Mind?

New Mobile Navbar Icons from Font Awesome

Just changed the mobile site to use Font Awesome icons. Here is the new top navbar view (unregistered users) https://www.unix.com/members/1-albums214-picture903.jpeg (2 Replies)
Discussion started by: Neo
2 Replies

5. What is on Your Mind?

Quick Update on UNIX.COM Site Renovation: Bootstrap, Font Awesome and jQuery

Here is an update on the site renovation: After a lot of analysis and example programming, including testing out a number of Javascript framework and libraries, in the short term, we are getting the most bang-for-the-buck from these three basic, core tech areas: Bootstrap (CSS and... (2 Replies)
Discussion started by: Neo
2 Replies

6. What is on Your Mind?

New CODE and ICODE Editor Button Icons

As promised, I have changed the CODE tag icon and the ICODE tag icon in our WYSIWYG editors to use Font Awesome. CODE Tag = fa-code ICODE Tag = fa-terminal https://www.unix.com/members/1-albums215-picture966.png The reason for this change is to continue our move toward Font Awesome... (4 Replies)
Discussion started by: Neo
4 Replies
TV_GRAB_NA_ICONS(1p)					User Contributed Perl Documentation				      TV_GRAB_NA_ICONS(1p)

NAME
tv_grab_na_icons - Grab channel icon images or links from zap2it.com SYNOPSIS
tv_grab_na_icons [--debug] [--links] [--share dir] tv_grab_na_icons --help tv_grab_na_icons --version DESCRIPTIONS
This script goes to the zap2it web site and downloads icon links or images to the share/icons directory. It was designed to allow icons to be added by tv_grab_na_dd, but there is no reason it can't be used for other purposes. To minimize the load on zap2it.com, downloaded icons are recommended. Links are available for those applications that need it. Also to reduce the load on zap2it.com, this script should be run sparingly. There is really no need to run it frequently, new networks or icons don't show up that often. To emphasize that point, there is no --configure mode, the questions need to be answered each run. OPTIONS
--links Store imge URLs in *.url files instead of downloading images. --share SHAREDIR Icons are stored in SHAREDIR/icons. The share directory is set at install time, but there may be times when it needs to be specified. (for example: no write access to the default share directory) --debug Turns on debugging mode. The grabber will be more verbose, and saves some extra debugging data with the icons. --version Show the version of the grabber. --help Print a help message and exit. SEE ALSO
xmltv. AUTHOR
Robert Eden perl v5.14.2 2012-06-30 TV_GRAB_NA_ICONS(1p)
All times are GMT -4. The time now is 06:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy