Use sfImageTransformExtraPlugin - it is very easy to use, customizable
plugin, that requires almost nothing to make it work (transparently).
2010/10/17 xpanshun
> How would I call to this class from my indexSuccess.php to get the
> images to resize as they are displayed?
>
> *See coding in origi
Thats what I meant by if the development time before going into production
for your app will fall after Symfony 2.0's official launch as a complete
product. The further from this launch date you expect your app to be ready
the better as it will give the Symfony 2 developers the time to mature the
p
On Fri, Oct 15, 2010 at 7:03 PM, Felix E. Klee wrote:
> My idea, so far, is to feed the first two columns of the following list
> in the MySQL database associated with the app:
>
> http://en.wikipedia.org/wiki/List_of_soveriegn_states_and_depende
> nt_territories_by_continent_(data_file)>
And t
Thanks Gareth
I decide to vote symfony 2. I will feed back to mailing list in coding time.
On Mon, Oct 18, 2010 at 6:25 PM, Gareth McCumskey wrote:
> Thats what I meant by if the development time before going into production
> for your app will fall after Symfony 2.0's official launch as a co
Sorry for my late answer
Solution:
add to my /lib/form/doctrine/myclassFrom.class.php
$this->widgetSchema['contractor_id
']->setOption('table_method','getContractorByCredentials');
and to /lib/model/doctrine/contractorTable.class.php
for example
public function getContractorByCredentials()
Hello, everyone
i have an error: "Unable to escape value "NULL". when i retreiving
blob data feild $table1s->getDescription();...
my schema.yml
table1:
columns:
name:
type: string
description:
type: blob
Yesterday it worked fine.
i use symfony 1.4.8.
Hi,
Am trying to use the sfTeraWurflPlugin plugin and I keep getting the
following error:
"PHP Strict Standards: mysqli::next_result(): There is no next result
set. Please, call mysqli_more_results()/mysqli::more_results() to
check whether to call this function/method in //.../plugins/
s
I did manage to get rid of the message by turning off error reporting
just before execution of the code segment:
i.e:
error_reporting(0);
if($this->dbcon->more_results()){
.
}
Am not sure this is the best approachI still need to hear on
related experiences.
On Oct 18, 6:24 pm, qp
Hi!
I am currently using symfony admin generator in order to create a
backend administration module for a project. I would like to know how
can I custom the displayed message to the user when an object of a
certain class is successfully created. I know that I must add some
logic/override the execu
I'm using the sfImageTransformPlugin in conjunction with the helpers
below:
/**
* Get the path of a generated thumbnail for any given image
*
* @param string $source
* @param int $width
* @param int $height
* @param boolean $absolute
* @return string
*/
function thumbnail_path($source, $w
@richtermeister, you really should look into sfImageTransformExtraPlugin
2010/10/18 Richtermeister
>
> I'm using the sfImageTransformPlugin in conjunction with the helpers
> below:
>
>
> /**
> * Get the path of a generated thumbnail for any given image
> *
> * @param string $source
> * @param
I've followed the Jobeet Tutorial chapter on search and managed to implement a
lucene based search engine for my site. It seems to be working but the result
order doesn't make sense to me.
If I search for 'blue trousers', I would expect the results that contain that
exact phrase to come up top,
i couldn't find the sfClearCachTask, is it Symfony 1.4 or 2.0?
I used instead a snippet.
http://snippets.symfony-project.org/snippet/363
On 12 October 2010 09:39, Pierre-Yves LEBECQ wrote:
> Did you try to instanciate the sfClearCacheTask and run it ? I see no
> reason for this not to work.
>
>
I'm using Symfony's Tasks to run cronjobs at periodic times. There is
a need to perform the same functions manually in the admin
application. Looking for suggestions how to do this properly.
Obviously, I would prefer not to have duplicate code, one in the Task
class and one in the Action class. Ple
Hello people...
Not sure I am grasping this here, but it is php related and not HTML
related.
I have a web template, that retrieves a parameter from the URL, essentially,
it goes something like this...
module/phpPage?qId=138;
based on this id, certain SQL queries are executed in the action and
Hello, lady and gentlemans!
I have some problems with configure this code:
class Container extends sfServiceContainer {
...
protected function getAclService() {
if (isset($this->shared['acl'])) return $this->shared['acl'];
$factory = new Acl_AclFactory($this->db);
$instance = $facto
cuando genero php symfony doctrine:insert-sql
me da este error como puedo arreglarlo
PDO Connection Error: SQLSTATE[28000] [1045] Access denied for user
'root'@'localhost' (using password: NO)
Help Me...
--
If you want to report a vulnerability issue on symfony, please send it to
security at
Configuraste la conexion a la base de datos? estas intentando acceder con el
usuario root y sin clave. Verifica si esto es correcto en el archivo
'config/databases.yml'
On Mon, Oct 18, 2010 at 10:14 PM, UCI wrote:
> cuando genero php symfony doctrine:insert-sql
> me da este error como puedo arre
Tengo el siguiente problema, cuando genero php symfony doctrine:insert-sql
me da este error:
PDO Connection Error: SQLSTATE[28000] [1045] Access denied for user
'root'@'localhost' (using password: NO)
Este es my archivo databases.yml:
all:
doctrine:
class: sfDoctrineDatabase
param:
Hola,
Intenta no colocando las comillas simples.
Intenta hacer la conexion por algun cliente web o de windows y no desde
doctrine como (phpmyadmin) .
www.*phpmyadmin*.net/
On Mon, Oct 18, 2010 at 9:30 PM, wrote:
>
> Tengo el siguiente problema, cuando genero php symfony doctrine:insert-sql
>
20 matches
Mail list logo