I have been using NuSphere's PhpED for the past six months. It is not
free (though a trail version is available), however it is better than
Eclipse/Netbeans by leaps and bounds. If feels much more coherent,
there is no excessive overfunctionality. Writing macros for symfony is
a piece of cake,
is to download manually sourcecode, because PEAR doesn't do
much more stuff (in my opinion).
2009/12/20 Crafty_Shadow vankat...@gmail.com
Alexandre Salomé wrote:
You should use SVN to manage your development and define your plugins as
svn
externals.
While I agree with you
This was run in windows, php 5.2.9-2 with symfony checked out from SVN
(rev 25046)
Result:
Failed Test Stat Total Fail List of Failed
--
functional/ActionRedirectTest 255 1 1 0
trine]
.
Mac OS X 10.6.2, PHP 5.2.6 with symfony 1.4 stable tag
All tests successful; 225 files; 8187 tests.
Daniel
On 2009-12-07, at 7/December, 11:51 PM, Crafty_Shadow wrote:
This was run in windows, php 5.2.9-2 with symfony checked out from SVN
(rev 25046)
Result:
Failed Test
There is no straightforward way to do that, the only thing I can think
of is modify sfAssetPlugin's image browser for tiny to include an
extra button for every image that would return the path to the
thumbnail. It shouldn't be more than a few lines of html/js
On Nov 7, 11:32 am, Sid Bachtiar
I'm sorry, but I just couldn't let this go:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to
allocate 83 bytes) in /var/www/1.2/lib/config/
sfAutoloadConfigHandler.class.php on line 115
...quadcore x3360, x64bit linux, 8gb ram, 1333fsb, 1 rpm
disks, 512 mb for php
In a project I have recently started I need to show a connection
between objects. For the sake of example let's say I have a database
structure similar to:
child_record:
id: ~
name: { type: varchar(255), required: true }
slibling_relation:
Would you share your solution?
I would suspect one way to go about doing it is keeping the current ID
in the session (as a flash variable) and comparing it upon post.
On Sep 2, 7:03 pm, Jeremy Thomerson jeremythomer...@gmail.com wrote:
Yeah - but it's better to have both kinds of security. The
Should I choose to use lime 2.0, would I be able to do so by simply
creating a lime directory in my lib folder, and rely on Symfony's
autoloading to take care of the inclusion order?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
2009/8/30 Crafty_Shadow vankat...@gmail.com:
Should I choose to use lime 2.0, would I be able to do so by simply
creating a lime directory in my lib folder, and rely on Symfony's
autoloading to take care of the inclusion order?
--~--~-~--~~~---~--~~
You
I have noticed that lime 2.0 is no longer marked as Experimental in
the SVN branch, does that mean it is closing completion?
I intend to use mainly for testing purposes (no pun intended), but
still, it would be good to know when does the current revision stand.
On Aug 30, 10:53 pm, Bernhard
I have loaded a 6mb yaml fixtures file without the slightest problem.
One option would be to use set_time_limit(0), thus giving the script
an infinite time to run. (or you could set it to any other value in
seconds that you feel comfortable with.
Or, you could post a snippet of your code. I
In the end, I went with a task that is called through a corn job.
The task uses php's IMAP set of functions, some of my code is based on
http://davidwalsh.name/gmail-php-imap and various other sources that
come up when you do a simple google search. Depending on your host,
finding way to access
Everybody knows how to send e-mails from symfony, or php in general.
It's a trivial task.
However, I am now faced with the need to do the reverse - use imap to
read e-mails.
From what I gather, one way to do so would be a task that is called
through a cron job
If anyone has any experience with
What you've written, setting an static property of an object as an
associative array with translation calls does not work.
I have had the same problem before, what I usually do is call the
widget with something along the lines of:
'choices'=array_map(array('TextTools ', '__'), JobeetJobPeer::
might be loaded a little bit earlier than I18N
Alecs
On Thu, Jul 16, 2009 at 11:37 AM, Crafty_Shadow vankat...@gmail.com wrote:
What you've written, setting an static property of an object as an
associative array with translation calls does not work.
I have had the same problem before
strtr($text, $args);
}
}
On Thu, Jul 16, 2009 at 3:49 PM, Alexandru-Emil Lupu
gang.al...@gmail.comwrote:
I will paste in this topic my usage tonight .. when i will get home.
Alecs
On Thu, Jul 16, 2009 at 3:39 PM, Crafty_Shadow vankat...@gmail.comwrote:
The problem
night everybody,
Daniel
On May 22, 5:38 am, Crafty_Shadow vankat...@gmail.com wrote:
Ok, I managed to write a static method for the Peer class that does
exactly what I need, thanks for the help.
I'm going to post it here:
public static function doSelectJoinRecordCriteria(Criteria
to return the resultset. But in 1.3 you use doSelectStmt() to run
your query with join and get aresaultset which you can then hydrate yourself
manually.
Would this help?
On Thu, May 21, 2009 at 10:54 PM, Crafty_Shadow vankat...@gmail.com wrote:
Thanks for the interest in my problem
/1.3/Upgrading):
?php
// example of how to manually hydrate objects
$stmt = AuthorPeer::doSelectStmt(new Criteria());
while($row = $stmt-fetch(PDO::FETCH_NUM)) {
$a = new Author();
$a-hydrate($row);
}
On Fri, May 22, 2009 at 1:19 PM, Crafty_Shadow vankat...@gmail.com wrote
is that it's not really clear what you're trying to
do..
I have no idea what this option0 / option1 setup is all about..
If you can give an example of what you're trying to do, maybe we can
help better.
Daniel
On May 20, 3:20 pm, Crafty_Shadow vankat...@gmail.com wrote:
Once again, a shameless
Once again, a shameless bump!
I tried several approaches to no avail.
Halp!
On May 19, 12:48 pm, Crafty_Shadow vankat...@gmail.com wrote:
Thanks for the links, but those are of no help to me.
Each and every single of the resources you have pointed me to are
about propel 1.2.
As I mentioned
I am going to perform what is know as a shameless bump.
I believe that this problem requires discussion, as having a 1:1
relationship should be fairly common, and it is only natural to seek
way optimize it's workings.
On May 17, 7:14 pm, Crafty_Shadow vankat...@gmail.com wrote:
Hey guys,
I
Of Crafty_Shadow
Sent: 19 May 2009 10:52
To: symfony users
Subject: [symfony-users] Re: Propel and 1:1 relationships
I am going to perform what is know as a shameless bump.
I believe that this problem requires discussion, as having a 1:1
relationship should be fairly common, and it is only natural to seek
Hey guys,
I have the following question - how do I make propel hydrate 1:1
relationships automatically ?
When we have a normal 1:m relationship the peer class provides methods
like doSelectJoinWhaever, but no such method is available when using a
1:1
The relation itself works just as it's
I too am interested in a more detailed explanation of form formatters
and their usage when one simply does ?php echo $form; ?
Google wasn't of much help regarding this matter, so does anybody know
of a reliable information source (aside from reading the code itself)
on how to use decorators?
On
looking through more advise recieved from this post and I
have to
thank everyone for their input. I honestly didn't expect this response
and
it has been fantastic and very helpful.
On Mon, Mar 9, 2009 at 12:49 AM, Crafty_Shadow vankat...@gmail.com
wrote:
Symfony 1.1 came
Gareth, you didn't mention what version of symfony you were using,
also what ORM (if any).
The best course of optimization will depend on those. Also, as already
mentioned, caching is your best friend.
On Mar 8, 9:43 am, Gareth McCumskey gmccums...@gmail.com wrote:
Well, consider a single
.
Gareth
On Sun, Mar 8, 2009 at 12:27 PM, Crafty_Shadow vankat...@gmail.com
wrote:
Gareth, you didn't mention what version of symfony you were using,
also what ORM (if any).
The best course of optimization will depend on those. Also, as already
mentioned, caching is your best
A discussion about just this and other problems with
sfWidgetFormTextareaTinyMCE took place a few days ago here, next time
first search the mailing list please:
http://groups.google.com/group/symfony-users/browse_thread/thread/b4950dd116b8aa3e?hl=en
On Mar 4, 3:41 pm, Lawrence Krubner
This is gonna be a pretty long, but here's my custom
sfWidgetFormTextareaTinyMCE.class.php
It works with TinyMCE 3 and up, and also produces fully XHTML
compatible output.
It also allows for gzip compression; Sample usage:
$this-widgetSchema['content'] = new
and to provide a patch if there is a
bug in it.
Could you have a look or have you done a custom widget because you weren't
able to make the original widget works ?
On Fri, Feb 27, 2009 at 11:58 AM, Crafty_Shadow vankat...@gmail.com wrote:
This is gonna be a pretty long, but here's my custom
Ticket with patch created, the rest is up to fabien:
http://trac.symfony-project.org/ticket/5986
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to
on it.
Thank you
On Fri, Feb 27, 2009 at 1:43 PM, Crafty_Shadow vankat...@gmail.comwrote:
Ticket with patch created, the rest is up to fabien:
http://trac.symfony-project.org/ticket/5986
--
Denis Fingonnet
--
Denis Fingonnet
--~--~-~--~~~---~--~~
You
I will assume that this question was directed to me.
And no, the library itself is not included, the insanely-big portion
of the code is dedicated to producing XHTML compliant output.
On Feb 26, 9:00 pm, Jan Schlosser j...@steffiundjan.de wrote:
Hey,
just out of curiosity: Did you include the
Anyone ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
I am wondering whether it is possible to use hyphens instead of or in
combination with forward slashes in symfony's routing. My question is
for both symfony 1.0 and 1.2 (I want to implement the feature in some
older web sites I'm managing as well as possibly use it for one of my
more recent
A new version of the popular javascript library was recently released
(14th of January) that introduces a particular change to the $
(document).ready function, namely it now MUST be used ONLY after all
css files have been loaded. The default sfCommonFilter class,
responsible for the inclusion of
Both of these plugins actually don't work with Symfony 1.2
Making them compatible isn't very hard, and even if one is new to the
system one should be able to manage, but it still would take some time
On Jan 14, 7:45 am, Ant Cunningham prodigital...@vectrbas-d.com
wrote:
Did you look at
I'm sorry, but you're a bit wrong here; it is not text to translate
that goes as the second argument, but instead the translation function
name
if a custom function is defined in the form class, it should be:
$this-widgetSchema-getFormFormatter()-setTranslationCallable
You generally would want to do something like:
in the main form class:
$this-embendI18n(array('en','fr'));
$this-widgetSchema-setLabel('en', 'English');
$this-widgetSchema-setLabel('fr', 'French');
then in the i18n form class:
$this-widgetSchema-setLabels(array(
It should be possible to create custom actions for moving up/down (and
even batch move up/down ?) similar to the Classic method described in
the tutorial, while forcing the list to be sorted by the rank field.
Unfortunately I cannot point you to a specific tutorial for this, but
figuring it out
This is what I managed to come up with, any comments and suggestions
are welcomed.
It allows you to search multiple fields with the
'search'=array('first_name','last_name',),
at the end, where the names of the fields are easily defined.
Keep in mind that I am relatively new to the
43 matches
Mail list logo