Category: PHP

P4A 3.2.2 is out!

Changelog:

- P4A_Table’s image cols are now centered horizontally
- P4A_Button::setTooltip() and getTooltip() methods were added
- afterupload event typo was fixed
- P4A_Thumbnail_Generator::renderToFile() method was added
- P4A_Mask::getSource() method was added
- Zend Framework was updated to 1.7.7
- a bug with P4A_Fieldset theme was fixed (thanks to Mario Spada)
- P4A_DB::singleton() DB type verification is now case insensitive (bug #2643785) (thanks to BES)
- a few modifications were done on screen.css file for a better theme result (thanks to pbond81)
- The way we managed P4A_Validate translations was rewritten to fit the new rules by Zend Framework (we need your help translating the new messages)
- a bug with P4A_DB_Source::setWhere() method was fixed
- translations were synchronized
- auto file inclusion system was updated to avoid reading Mac hidden files
- a bug with P4A_DB_Source::addGroup() method was solved (internal syntax change due to a Zend Framework change)
- p4a_load_js() javascript function was updated to avoid errors if no callback function is passed

Download P4A 3.2.2

Share/bookmark:
Digg StumbleUpon Facebook Reddit Mixx del.icio.us Google Live NewsVine

P4A 3.2.1 released!

Changelog:

  • Zend Framework was updated to 1.7.4
  • PEAR::Net_Useragent_Detect was updated to 2.5.0
  • jQuery::form was updated to 2.19
  • P4A_DB_Source::setQuery() now strips out final semicolon from the passed SQL query (if present) (bug #2557215)
  • P4A_DB_Source::setWhere() now calls a firstRow() if the DB_Source isn’t in the “new row” state (bug #2316271)
  • P4A_Filename2File() now uses the fileinfo module if no mime type is detected otherways (bug #2121565)
  • a bug with P4A_Field::getAsDate() and Internet Explorer was fixed (thanks to Mario Spada)
  • P4A_Thumbnail_Generator::setWidth() now resets the max_width to avoid conflicts
  • P4A_Thumbnail_Generator::setHeight() now resets the max_height to avoid conflicts
  • P4A_Thumbnail_Generator::setMaxWidth() now resets the width to avoid conflicts
  • P4A_Thumbnail_Generator::setMaxHeight() now resets the height to avoid conflicts
  • P4A_Thumbnail_Generator::processFile() height/width calculation was
    rewritten in order to fix bug #2270922

Download P4A 3.2.1 now!

Share/bookmark:
Digg StumbleUpon Facebook Reddit Mixx del.icio.us Google Live NewsVine

P4A on Facebook

Are you on Facebook? Then you sure don’t want to miss the new and shining P4A Facebook page!

Share/bookmark:
Digg StumbleUpon Facebook Reddit Mixx del.icio.us Google Live NewsVine

P4A 3.0.3 released

Time for a new maintenance release for our beloved framework, here you’ve the complete changelog:

- P4A_Thumbnail_Generator now supports ie’s pjpeg extension
- a bug with P4A_I18N::_format() method was solved
(YYYY was changed to yyyy)
- P4A_Field::setYearRange() method was added to be able to
manage the year range in the datepicker
- 10px top padding was added to P4A_Fieldset
- jQuery::maskedinput 1.1.4 plugin was added
- P4A_Field::setInputMask() and getInputMask() methods were added,
check the code reference for usage
- popup template support for “top” zone was added
- P4A_Table’s caption (label) is now automatically traslated at run time
- P4A now triggers the “ontranslate” event, you can intercept it
(getting string/translation/istranslated parameters) to track
translations while developing your application
- a bug with P4A_Table’s label with IE6 was fixed
- P4A_Table’s navigation bar’s “go to page” label’s CSS was changed
so now it will remain on a single line
- a typo in P4A_DB_Source documentation was fixed
- a PHP warning was fixed in P4A_DB_Navigator
- more info were added in products_catalogue’s index.php file
- P4A_Mask::setRequiredField() and unsetRequiredField() methods
now check if the field exists before calling the addValidator()
otherwise show an error message

Download P4A 3.0.3

Share/bookmark:
Digg StumbleUpon Facebook Reddit Mixx del.icio.us Google Live NewsVine

P4A documentation, the first mask

I’m taking a bit of time (before leaving for a week of pure holiday) to write some pages of the P4A manual.

After the latest post about P4A’s I18n I’m now working on the first mask page, containing documentation about building widgets, displaying them in the mask, using layout managers (frames, fieldsets, canvases, sheets) and using the field.

Work is nearly completed, I think I’ll finish it today and that will be great!

We still have a lot of parts that need documentation, you can find the list here, you know… your help would be really appreciated!

Share/bookmark:
Digg StumbleUpon Facebook Reddit Mixx del.icio.us Google Live NewsVine

Multilingual applications with P4A

How translations work and how to create multilingual applications in P4A.

Share/bookmark:
Digg StumbleUpon Facebook Reddit Mixx del.icio.us Google Live NewsVine

P4A 3.0.2 is out

We’re not on holiday yet, time for a new minor release :-)

Changelog:

  • a small change was done on P4A_Array_Source to enable the usage of empty array_sources without warnings
  • tooltips are now automatically translated at rendering time
  • P4A_DB_Source::saveRow() now reads pk values back from Zend_DB_Table::insert() gaining better functionality with auto increment primary keys
  • jQuery UI was updated to 1.5.2
  • a small bug with P4A_I18N::_normalize() method was solved
  • p4a_focus_set() javascript function was reworked to avoid a javascript warning in firebug
  • loading a P4A_Array_Source with a simple array of data now does not create the “0″ field anymore, it’s been renamed to “f0″ to avoid problems with some PHP configurations with numerical object properties

Download P4A 3.0.2

Share/bookmark:
Digg StumbleUpon Facebook Reddit Mixx del.icio.us Google Live NewsVine

P4A 3.0.1 released

Changelog:

- a bug about session name was solved
- FCKEditor was updated to 2.6.2
- a bug with shadows CSS was solved (unused shadow.png file is not linked by screen.css anymore so we’ve no “file not found” in web server’s logs)
- P4A_Error_Handler() global function now uses the P4A::messageWarning() wrapper for P4A::message() solving a bug with the warning icon name that was changed in 3.0.0-rc5
- jQuery UI was updated to 1.5.1

For the first time p4a is also available as .deb package. We encourage all users of Debian based distros to test this new package and give us feedback.

Download P4A 3.0.1

Share/bookmark:
Digg StumbleUpon Facebook Reddit Mixx del.icio.us Google Live NewsVine

P4A 3.0 is out!

It was a long long journey started on December 17th, 2007, with more than 800 commits it has really been an hard work but we’re proud to tell everybody that P4A 3.0 is finally released!

Thank you everybody contributed to this wonderful release!

I suggest you to check the official release notes, they’re full of useful info and… For who was waiting… commercial license is available too.

Note: the image at the top is just a humorous revisitation of P4A logo with some “300 the movie” effect :-) hope you enjoyed.

Share/bookmark:
Digg StumbleUpon Facebook Reddit Mixx del.icio.us Google Live NewsVine

P4A 3 updates, wiki, guides and release plans

I spend some hours working on the new P4A wiki that’s finally open for contributions, I finished some guides:

and I’m working on the new P4A manual which is definitively a long work and would really need your help.

I think that we can expect the final P4A 3 release in a few days :-)

Share/bookmark:
Digg StumbleUpon Facebook Reddit Mixx del.icio.us Google Live NewsVine