QControl
QCaptcha
Hi there,
I am building a web site currently and I need to integrate a Captcha to secure and prevent spam on our public forms.
As such a control don't seem to exist in Qcubed 2.0.1, I would like to get insight and help on how I can construct this in order to include my work to QCubed either as a plugin or a core Control.
Thanks for your help.
Mike
New Plugin: QProfEmailTemplater
Hello All,
Before I proceed please how do I get (automatically) the full URL to pages in my application e.g. http://localshop/myapp/page1.php
If I can at least get the "http://localshop" part alone, I can finish the job. Please help.
Now to the main thing:
Please I just finished a plugin I used for one of my projects. I call it QProfEmailTemplater. It works like the email component in CakePHP, allowing you to specify HTML and Text Template files with placeholder variables that gets replaced before the email is actually sent. This plugin does the replacing and then returns the TEXT or HTML string for use with QEmailMessage and QEmailServer. A sample is also ready.
I believe we all know about what I'm talking about. Please can you tell me how to publish my plugin for sharing, correction and further development? Thank you.
Problem with attached events in composite control
Hello,
First of all, sorry for my english. I'm not an english speaker, so...
I'm trying develop a QCaptcha control and it's functional with some minor issues (hit F5 change the image but not the internal code. ctrl+F5 does it correctly) and when I try deinstall that control, an error occurs, because the font is in use.
This control have a QTextBox and a QLabel (that display the image) and have an QClickEvent associated. When the user click on QLabel, a new image is generated.
My doubt is, in QCubed 1.1, the click event is generated correctly. In QCubed 2.0, the event is not present and, consequently, this functionality does not work. This is a bug or I'm doing something wrong ?
The attachment contains the plugin mentioned above.
How can I know if a control content has changed ?
Hello,
How can I know if a content of a QTextBox has changed ?
I create a form and I need to know if a password field has changed and apply criptography (if the content of the control has changed).
In database triggers, for example, we have the old and new values. Exists something similar in QTextbox and other QControls ?
Sorry for my english.
Unit Testing QControls
I am trying to write some Unit Tests for a QControl I created, but am unable to. I was wondering if I am just doing something wrong. If I use a QTextBox for example:
class BasicTests extends QUnitTestCaseBase {
public function testTextBox() {
$txtBox = new QTextBox($this);
$txtBox->Text = "Hello World";
$this->assertEqual("Hello World", $txtBox->Text, "Text Box Test");
}
}This gives me an error:
BasicTests > testTextBox
Javascript location with a QControl
I am trying to work a jquery class into a QControl. However, I am having problems with the location of the javascript includes. At the top of the QControl file I have:
class QNestedSortable extends QControl {
protected $strJavaScripts = 'NestedSortables/jquery-1.3.2.min.js,NestedSortables/externals/released-externals/interface-1.2.js,NestedSortables/compressed/nested_sortable/inestedsortable.js';This includes the 3 files I need within the form. If I view source I get:
Passing QDataGrid Data to a method or function
Good Day Qcubers,
Please I have a datagrid rendered in a QPanel just like its done in the auto-generated dashboard. Now the task is that I wish to forward the displayed data (filtered by date) to an email list.
The problem I have right now is how to make the displayed data in the datagrid control available in the function for sending the email. I would appreciate any help on this please.
Thanks as usual!
Life cycle of a QPanel PLEASE
Its like, everyone is no longer interested in developing qcubed anymore! Why, I am not getting replies to my pleas for help anymore?
I asked for help on redirection using HTACCESS in a previous topic I posted but nothing came up.
Please this one is on my neck and a lifetime depends upon it! Please, I know that a form has a lifecycle that goes thus: Form Run, Form Create/Form Load, Form........ Form Exit etc. Please what is the equivalent for a QPanel.
How to Render a QControl in the header.inc.php?
Does anyone know how I would render a QButton or QTextbox in my header.inc.php?
Help balloon
Is there any extra QControl providing a question mark icon with a over event and showing a text. It think it would be useful to provide some hints to the users of the web app.
