http://www.symfony-project.org/plugins/sfFacebookConnectPlugin
It's been released two weeks ago, and we are 4 people (I know) using
it in projects already. For the moment I did not open the svn, but I
am very responsive when given a patch. It is theoretically propel/1.0
and doctrine/1.2
ho ho !! a third solution ;)
The solution is mainly :
call a static method
it goes through the widgetSchema recursively
update the label to be an *object* and not a sting.
echo $label will invoke the __toString method
the __toString format the label with default string : %s
Hi Zach,
this is a really strange problem but will be actually be solved
unintentionally in the next release of the plugin : the new version
will use autoloading of the maps source file at the same time as the
generic google js api file. You can already check how it works in the
dev branch of
Hi Zach,
possible sources of errors :
- you are using output escaping. In this case you should write in
your template $gMap = $sf_data-getRaw(’gMap’); to disable output
escaping on the $gMap variable
- you are not connected to the Internet. This may seem stupid but
that can happen :-) In that
A less technical solution :
- everybody has on its own computer the main branch and his own
branch, which share the same development database
- the rule is to create migration files only in the main branch
As long as migrations only affect database structure in a non-
destructive way, this
Ok here is my code, if that can help you (dirty version, i merged
everything together):
set_time_limit(1800);
$this-setLayout(false);
$response = $this-getResponse();
$response-clearHttpHeaders();
// version 2007
$response-setHttpHeader('Content-Type', 'application/
For the official page I meant of course:
http://www.symfony-project.org/plugins/sfEasyGMapPlugin
Fabrice Bernhard
--http://www.theodo.fr
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post
When trying to architecture an application, the best is to find an
objective justification to your design. The simplest I would suggest
is : one crud = one module
In your case, the question is : do you have a separate page to edit
user's preferences ? Then it's a separate crud and deserves its
Sumedh,
it should work, you just need to be sure you put the file in your lib/
helper directory. Here is the code loading the helpers, you can see
that the sfConfig::get('sf_lib_dir').'/helper' directory comes before
the sfConfig::get('sf_symfony_lib_dir').'/helper' directory
/**
* Gets
I know three solutions to do Excel exports.
- Csv
It is in my opinion not an interesting one, unless your rows are
already formatted into arrays. In that case implode(';',$row) might be
interesting
- HTML table formatted as Excel
This is a nice trick I once discovered. You can do a simple
This is a recurrent problem with the default .htaccess or the lighttpd
configuration for symfony
For example, if you want to pass float values as parameters.
The solution lies in customising your rewrite rules in you .htaccess
or lighttpd.conf to better reflect your own configuration. You may
I myself used something very similar to what you see here
http://particletree.com/notebook/automatically-version-your-css-and-j...
but overriding javascript_include_tag from the AssetHelper file,
inspired by François Baligant (synalabs.com)
function javascript_include_tag()
{
// MODIF
Hi Thomas,
Thanks for this suggestion. However it seems
http://trac.symfony-project.org/timeline?changeset=onmax=50daysback=90format=rss
has too many commits a day to be a security-only solution
As for the svn status -u, it just gives you the status of local files
compared to the repository,
pm, blacksun [EMAIL PROTECTED] wrote:
Hi Fabrice,
I'm unconfortable with myself too.
I apologize for the inconvenience.
The bug should be fixed now.
Gabriele Santini
On Oct 6, 4:09 pm, Fabrice B [EMAIL PROTECTED] wrote:
If you are using sfModerationPlugin as an external, you may have
If you are using sfModerationPlugin as an external, you may have
noticed a critical bug since the last commit by blacksun on Thursday.
The introduction of the following new function produces a completely
silent error :
public static function getWatchedColumns(string $class)
It uses type hinting
I used Smarty for a long time because I found the templates much more
redable. But from my experience the PHP code generated by Smarty from
the templates is quite ugly. And since I discovered the PHP script
version ie if(): endif; I find PHP code in the template quite
readable.
You can go even
Hello,
following a conversation on the French symfony group, I worked to
release my pernosal Google Maps plugin. I tried to make it as simple
as possible while leaving most of the functionalities I have developed
for my personal needs.
Here is the link:
anything that is specific to the 1.1 APIs?
Thanks
James
Who for the time being is stuck in Symfony 1.0 land.
On Sep 22, 2008, at 3:14 PM, Fabrice B wrote:
Hello,
following a conversation on the French symfony group, I worked to
release my pernosal Google Maps plugin. I tried to make
$c = new Criteria();
$c-addAscendingOrderByColumn(VideoPeer::ID);
$c-add(VideoPeer::ID, $start_id, Criteria::GREATER_EQUAL);
$c-add(VideoPeer::ID, $end_id, Criteria::LESS_EQUAL);
That's a classical limitaion of Propel. Either do :
$c = new Criteria();
$c-addAscendingOrderByColumn('RAND()');
without the quotes, rand() was executed in PHP. Your goal is to
include it as a string in the SQL clause, so just put quotes aound it.
Fabrice
On Jul 10, 7:28 am, kusum [EMAIL PROTECTED] wrote:
hi,
i have already used this
Thanx for the response. This one is surely a better looking option but
again the case I wanted to solve remains unsolved, decrease the number
of queries to generate this page. Say I want to generate a page with
10 blog posts, now this approach will require at least 11 database
queries, 1 to
If with your query you only hydrate your blog posts then that
additional information get the interest of the user or nothing if no
interest will just disappear, therefore making your approach
useless...
This is actually a common problem because a common one. My approach
would be the following :
Hi Manoj,
Here is your answer, two different solutions :
The very clean one (but it needs a hack) :
http://www.rabaix.net/articles/2006/9/16/propel-complex-on-clause
The quick and dirty one:
$c = new Criteria();
$c-addJoin(Table1Peer::ID,Table2Peer::TABLE1_ID.' AND
'.Table1Peer::USER_ID.' =
How many different users/databases do you have ?
If you don't have too many, you could create one database connection
in the databases.yml per different connection (different database or
user)
all:
connection1:
class: sfPropelDatabase
param:
dsn:
Hi,
I want to send many emails from a batch. For that I use the following
function which works fine :
sfContext::getInstance()-getController()-sendEmail('module',
'sendEmailAction');
(Don't forget to create the $mail = new sfMail() object in the action)
First question :
I wanted to get the
25 matches
Mail list logo