12-07-2018
Update: Was able to get the ICODE tag to work using Font Awesome in the Quick Reply Editor. Also, removed the PHP code tag in the QRE.
TODO: Need to change the "advanced" and "edit post" editors....
6 More Discussions You Might Find Interesting
1. What is on Your Mind?
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?
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?
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?
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?
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?
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
LEARN ABOUT PHP
enchant_broker_request_dict
ENCHANT_BROKER_REQUEST_DICT(3) 1 ENCHANT_BROKER_REQUEST_DICT(3)
enchant_broker_request_dict - create a new dictionary using a tag
SYNOPSIS
resource enchant_broker_request_dict (resource $broker, string $tag)
DESCRIPTION
create a new dictionary using tag, the non-empty language tag you wish to request a dictionary for ("en_US", "de_DE", ...)
PARAMETERS
o $broker
- Broker resource
o $tag
- A tag describing the locale, for example en_US, de_DE
RETURN VALUES
Returns a dictionary resource on success or FALSE on failure.
EXAMPLES
Example #1
A enchant_broker_request_dict(3) example
Check if a dictionary exists using enchant_broker_dict_exists(3) and request it.
<?php
$tag = 'en_US';
$broker = enchant_broker_init();
if (enchant_broker_dict_exists($broker,$tag)) {
$dict = enchant_broker_request_dict($r, $tag);
}
?>
SEE ALSO
enchant_dict_describe(3), enchant_broker_dict_exists(3), enchant_broker_free_dict(3).
PHP Documentation Group ENCHANT_BROKER_REQUEST_DICT(3)