Fabian Gebert
2009/01/19 18:34
Development

Following the steps below will allows you to debug a local Apache installation from Aptana without the need of using the built-in webserver of Aptana
$ sudo /etc/init.d/apache2 restart
- add local apache to server list in Aptana (using /etc/init.d/apache2 as executable)
- add an external browser in the preferences dialog (firefox %URL% for instance)
- edit your php.ini and insert
zend_extension_ts=/usr/lib/php5/20060613/xdebug.so
debug.remote_enable=1
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler="dbgp"
- create a debug configuration in Aptana and launch it
- specify Remote Application
- specify XDebug
- If it does not work, select "Break on first line" in the debug config. This will break the execution of the currently being executed script (scripts launched at the same time won't be caught by the debugger though)
Fabian Gebert
2009/01/16 10:23
News

I've just uploaded Mediabird release 0.4c. This is the final release of the 0.4 branch featuring interface improvements and bug fixes. The next upcoming release will be 0.5 featuring the new desktop design as illustrated on the right and having a much more intuitive interface.
In case you have ideas about Mediabird you want to share or want to contribute, let us know.
Frank Wolf
2009/01/15 15:06
Development
The objective:

You have finished a pretty website design in Inkscape and now want to export all parts in separate bitmaps.
To do this in one step you only have to do the following:
- If pictures that should be exported individually are grouped, ungroup them
- Pictures will be exported under the name of their XML-id. To set them to meaningful names use the menu Object -> Object-Properties (or SHIFT+CTRL+O)
-
now select all ungrouped pictures and export File->Export bitmap... (or SHIFT+CTRL+E)
Important: tick the Batch export check-box and set resolution to 90 dpi to have the images in the same resolution as on your screen.
Hint: Note that in Inkscape, the point of origin lies in the lower left corner whilst in HTML/CSS it is defined as the upper left corner.
Fabian Gebert
2009/01/14 11:36
News
It is now possible to use Google to sign in to Mediabird. If you have registered your existing account with your googlemail.com or gmail.com address, you can simply use that method to sign-in to your existing account
To sign-up using Google, simply click on the Google logo on the start page
I will publish an article on the technical realization using CakePHP in a few days
We will fully support Open-ID logins during the following days. Stay tuned.
Fabian Gebert
2009/01/13 22:46
Technology
Assume you are using the following route
Router::connect('/:language/:controller/:action/*', array (), array ());
in a multi-language CakePHP installation as the only rule in the routes.php and still
$url = Router::url(array('controller'=>'example','action'=>'index','language'=>'en','show_all'=>'true'));
yields
'/example/index/language:en/show_all:true'
instead of
'/en/example/index/show_all:true'
Note that
$url = Router::url(array ('controller'=>'example','action'=>'index','language'=>'en'));
works correctly (gives '/en/example/index/').
So the problem only exists with named parameters.
The simple solution is to state
Router::connectNamed(array('show_all'));
Previous 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 Next