Sponsored Content
The Lounge What is on Your Mind? A Choice: Draggable Editors or Smilie Box on Quick Editor Post 303027004 by Neo on Thursday 6th of December 2018 11:40:07 PM
Old 12-07-2018
Update: Well, at the speed of technology in 2019, I have decided to remove (comment out for now) jQuery-UI from the site and disable all draggable code. The jQuery-UI tooltips are annoying and there seems to be no real use-case for draggable areas of the site.

Onwards and upwards to the next web dev experiment.

I may rewrite the smilies and color pickers in the editor to use some kind of modal component from Bootstrap.

Modal . Bootstrap

But first, I may change all the error messages on the site to use these Bootstrap modals since the current error messages using the legacy vB "standard error" system is nothing short of terrible, LOL

Before diving into the modals, I need to also look at modals in VueJS.

Modal Component - Vue.js

On the surface, I like the Bootstrap modals better than the VueJS modals; but will know more after implementing them.
 

6 More Discussions You Might Find Interesting

1. Programming

editors?

Just started out with C and are looking for a good editor in *nix that marks the code with colors. This is maybe a newbie thing to have the C code in colors but i like it and you can almost always se when you are typing wrong. :) Ive heard that emacs should have that option but i havent... (3 Replies)
Discussion started by: hexdoctor
3 Replies

2. UNIX for Dummies Questions & Answers

Editors for UNIX

Where can i find editors for UNIX? thanks (5 Replies)
Discussion started by: Inbal
5 Replies

3. UNIX for Dummies Questions & Answers

Mail utilities and editors.

I was wondering what other mail utilities besides 'mutt, unix mail, PINE and elm' are available for unix. Also, what other editors are around besides 'VI, pico, vim and emacs'... I've been searching the net looking for some answers, but nothing much has come up.. thanx! (1 Reply)
Discussion started by: Shonnie
1 Replies

4. UNIX and Linux Applications

opinions on video editors

What is everyones opinions on these video editors? PiTiVi Avidemux Cinelerra Kdenlive Kino Linux Video Editing: Top Five Linux Video Editors (0 Replies)
Discussion started by: cokedude
0 Replies

5. 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

6. Web Development

New Font Awesome Icons in Quick Reply Editor

Working on the Quick Reply Editor, I have replaced a number of icons (see image below) with Font Awesome Icons. Was planning to replace all of them, but for some reason, replacing a few of them causes the script / template to break (which is odd) so I left them for now. ... (6 Replies)
Discussion started by: Neo
6 Replies
YAF_BOOTSTRAP_ABSTRACT(3)						 1						 YAF_BOOTSTRAP_ABSTRACT(3)

The Yaf_Bootstrap_Abstract class

INTRODUCTION
Bootstrap is a mechanism used to do some intial config before a Application run. User may define their own Bootstrap class by inheriting Yaf_Bootstrap_Abstract Any method declared in Bootstrap class with leading "_init", will be called by Yaf_Application::bootstrap one by one according to their defined order. EXAMPLES
Example #1 Bootstrap example <?php /* bootstrap class should be defined under ./application/Bootstrap.php */ class Bootstrap extends Yaf_Bootstrap_Abstract { public function _initConfig(Yaf_Dispatcher $dispatcher) { var_dump(__METHOD__); } public function _initPlugin(Yaf_Dispatcher $dispatcher) { var_dump(__METHOD__); } } $config = array( "application" => array( "directory" => dirname(__FILE__) . "/application/", ), ); $app = new Yaf_Application($config); $app->bootstrap(); ?> The above example will output something similar to: string(22) "Bootstrap::_initConfig" string(22) "Bootstrap::_initPlugin" CLASS SYNOPSIS
Yaf_Bootstrap_Abstract abstract Yaf_Bootstrap_Abstract Properties Methods PHP Documentation Group YAF_BOOTSTRAP_ABSTRACT(3)
All times are GMT -4. The time now is 08:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy