If you are interested in mark a label maybe your could be interested in
this:
http://www.dotmana.com/?p=432
There is another tutorial about this in a blog I can find now..
On 07/16/2010 05:54 PM, Daniel Lohse wrote:
What do you mean by I don't have the form as reference? Look at the
Or why don't you create a formatter for the form that adds an asterisk
to all labels?
On 07/16/2010 05:54 PM, Daniel Lohse wrote:
What do you mean by I don't have the form as reference? Look at the
ahDoctrineEasyEmbeddedRelationsPlugin and search for form.post_configure. Although the
Hi!
I am working on a portal where users have a public profile. For this I
would like to extend the sfGuardUserPeer class with a
retrieveByUserName function.
Can I do this in the in: plugins/sfGuardPlugin/lib/model/
sfGuardUserPeer.php or will these files be overwritten when I update
the plugin
The class already has got this function. I just didn't saw it because
sfGuardPeer extends PluginsfGuardUserPeer instead of
BasesfGuardUserPeer.
Thx anyway.
PluginsfGuardUserPeer
On 18 Jul., 13:29, mlu...@gmail.com mlu...@gmail.com wrote:
Hi!
I am working on a portal where users have a public
Hi all,
Is it possible to use IF() in a Propel query?
I want a query like this:
SELECT product.*, IF(MAX(bids.bid) product.price, MAX(bids.bid),
product.price) as current_price FROM product LEFT JOIN bids ON
(product.id = bids.product_id)
Thank, hope that someone can help me.
Looked
It says:
The /:sf_culture/advertisement/show/:id/:slug route has some missing
mandatory parameters (:id, :slug).
This means it doesn't receive the object.
While I actually do give it (and url_for would accept it this way):
genUrl('advertisement_show', $oAdvertisement, true)
Thanks for
Are you sure $oAdvertisement is not null? Can you call its getId and
getSlug methods?
On Sun, Jul 18, 2010 at 19:42, HAUSa
jeroen_heeft_behoefte_aan_r...@hotmail.com wrote:
It says:
The /:sf_culture/advertisement/show/:id/:slug route has some missing
mandatory parameters (:id, :slug).
This
Hi,
I'm totally new to Synfony and just downloaded the Symfony2 sandbox.
I'm running IIS under Windows 7 (64-bit) and I received the same error
message as above. I checked that my build included the changes
mentioned above and it does. What else do I need to change in order
to get this first
you could try attaching a onclick javascript event on each checkbox,
and add these id's to the user session,
on page change, to set checkboxes as checked if in the session,
to have the batch actions use that session var
and clear it once completed or with another button!
--
If you want to report
Hey,
Any idea why I would be getting this error? It only occurs when the
cache is loaded.
If I clear the cache, it works fine.
--
500 Internal Server Error - Doctrine\ORM\Mapping\MappingException
Class Application\MyBundle\Entities\User\Account is not a valid entity
or mapped
Hi,
I installed symfony 1.4.6. However, whenever i run the propel:build-sql
command it doesn't generate my schema.sql file in the data directory. Am
using Ubuntu and have phing active too. It gives me this output:
php symfony propel:build-sql
schemaconverting
Hi,
I installed symfony 1.4.6. However, whenever i run the propel:build-sql
command it doesn't generate my schema.sql file in the data directory. Am
using Ubuntu and have phing active too. It gives me this output:
php symfony propel:build-sql
schemaconverting /home/zulu/sfprojects/config/
If everything goes well, a SQL file is created in your /data/sql
folder.
I don't know why that does not happen, it should :)
Otherwise try build-all. Beware, this creates the model files as well
and replaces the database.
Please back to topic! Feel free to open a new discussion for this one.
I'm
Yes, I'm sure.
Did a print_r($oAdvertisement) check just now to confirm.
On 18 jul, 19:45, Gábor Fási maerl...@gmail.com wrote:
Are you sure $oAdvertisement is not null? Can you call its getId and
getSlug methods?
On Sun, Jul 18, 2010 at 19:42, HAUSa
Try generateUrl instead of genUrl
public function generateUrl($route, $params = array(), $absolute = false)
On Sun, Jul 18, 2010 at 20:00, HAUSa
jeroen_heeft_behoefte_aan_r...@hotmail.com wrote:
Yes, I'm sure.
Did a print_r($oAdvertisement) check just now to confirm.
On 18 jul, 19:45, Gábor
Hi Sausa,
I did the buid-all command and i get this output
schemaconverting /home/zulu/sfprojects/config/schema.yml to XML
schemaputting /home/zulu/sfprojects/config/generated-schema.xml
propelRunning om phing task
file- /home/zulu/sfprojects/config/generated-schema.xml
Hello,
I'm trying to upgrade sfDoctrineGuardPlugin to the new version, and at
first found that surprised that although in changelog said there was
only change (fix) to the Remember Me? key generator, I'm getting fatal
error whenever I make use something from sfDoctrineGuardPlugin after
upgrade.
hi halfer..
i have several projects that was developed by symfony 1.0, and i have
no time to migrate them to the newer version.
So i try to mixing some of them with symfony forms system. Till now, I
haven't found any problem so far.
And i wrote article how to mixing symfony forms system in
It's official: you are my hero.
Thanks!
On 18 jul, 20:14, Gábor Fási maerl...@gmail.com wrote:
Try generateUrl instead of genUrl
public function generateUrl($route, $params = array(), $absolute = false)
On Sun, Jul 18, 2010 at 20:00, HAUSa
jeroen_heeft_behoefte_aan_r...@hotmail.com wrote:
I figured out what was the cause of this problem, it was the opcode
cacher was using, eAcclerator on Windows.
It wasn't playing well with Doctrine - I got rid of it, replaced it
with APC and all's fine now!
Thanks
On Jul 16, 6:30 pm, AMailer amai...@gmail.com wrote:
Hey,
Any idea why I would
Hi!
In my registration form I want to make a blacklist for user names. For
this i made a table containing entryies that are not allowed for user
names. My idea was to work with like which allows entries like %bad
% in the blacklist.
The SQL would look like this:
SELECT *
FROM userblacklist u
$criteria-add( '.$values[username].',
UserblackListPeer::ENTRY,
Criteria::LIKE);
i think it's should be:
$criteria-setIgnoreCase(true); //add this If you want a column to be
treated in case-sensitive fashion
$criteria-add(UserblackListPeer::ENTRY, '%'.$values[username].'%',
Criteria::LIKE);
On
Thank you for the answer, but this isn't exactly what I need.
If I have %bad% in the blacklist and a user enters badNew the
entry isn't cought with the SQL:
SELECT *
FROM userblacklist u
where entry LIKE %badNew%;
But this would catch it
SELECT *
FROM userblacklist u
where %badNew% like
% is the wildcard similar to * in a like query
On Sun, Jul 18, 2010 at 23:23, mlu...@gmail.com mlu...@gmail.com wrote:
Thank you for the answer, but this isn't exactly what I need.
If I have %bad% in the blacklist and a user enters badNew the
entry isn't cought with the SQL:
SELECT *
FROM
I know what % is. It's a copy$paste failure. The second onw should
look like this:
SELECT *
FROM userblacklist u
where badNew like entry;
On 18 Jul., 23:24, Gábor Fási maerl...@gmail.com wrote:
% is the wildcard similar to * in a like query
On Sun, Jul 18, 2010 at 23:23, mlu...@gmail.com
may be you can use zend lucene or solr
On Jul 19, 4:26 am, mlu...@gmail.com mlu...@gmail.com wrote:
I know what % is. It's a copy$paste failure. The second onw should
look like this:
SELECT *
FROM userblacklist u
where badNew like entry;
On 18 Jul., 23:24, Gábor Fási maerl...@gmail.com
Hello,
you probably can call raw sql on select clause with addAsColumn on
your criteria but it wont be hydrated in your result objects so you
should try propel 1.5 with the new with method that add custom
select statement and hydrate them in the object.
On Jul 18, 7:58 pm, HAUSa
I found a solution:
$criteria-add( , '.$values[username].' LIKE
.UserblackListPeer::ENTRY. , Criteria::CUSTOM );
=
SELECT userBlacklist.ID, userBlacklist.ENTRY FROM `userBlacklist`
WHERE 'bad' LIKE userBlacklist.ENTRY
:-)
On 18 Jul., 23:53, nibsirahsieu nibsirahs...@gmail.com wrote:
may be
Hi,
I'm loading correctly these .js in the dev enviroment:
?php use_javascript('/sfJqueryReloadedPlugin/js/jquery-1.3.2.min.js') ?
?php
use_javascript('/sfJqueryReloadedPlugin/js/plugins/jquery-ui-1.7.2.custom.min')
?
but in the prod enviroment the second one is not loaded.
No mention
Did you clear the cache?
gabriel
On Jul 19, 2:20 am, Javier Garcia tirengar...@gmail.com wrote:
Hi,
I'm loading correctly these .js in the dev enviroment:
?php use_javascript('/sfJqueryReloadedPlugin/js/jquery-1.3.2.min.js') ?
?php
hi all,
I am successful in using sfSmartyPlugin with symfony 1.4.6.
Below are the steps i followed, in case someone needs
1. extract sfSmartyPlugin in plugin/
- plugin name in config/ProjectConfiguration.class.php
- following in app.yml in each of app
# default
31 matches
Mail list logo