OMG!
I think the sun has obfuscated my mind.
Ok, now i go the corner of my room and shame on me :)
Am 14.04.2007 um 17:29 schrieb netblox:
>
> Hi,
>
> what about sfAction redirect?
>
> http://www.symfony-project.com/api/symfony/action/sfAction.html
>
>
>
> On
Hi everybody,
i have written a small plugin to track external links of a symfony
application.
That means, when a user clicks on a link, which is linked to an
external url, this action is logged in the database and could maybe
analysed afterwards.
The analysing stuff is however not (yet) main
ing on right now
> where the links clicked need to be tracked per browser session and
> then
> e-mailed to the client in a report.
>
> Great work!
>
> - Jon
>
> Frank Stelzer wrote:
>> Hi everybody,
>> i have written a small plugin to track external links of a symfo
Hi Francois,
Great work!! But it seems, that the file BasesfMediaLibraryActions is
missing in the package.
- Frank
Am 15.04.2007 um 19:01 schrieb Francois Zaninotto:
> Hi all,
>
> Back in the initial version of symfony, there was some code
> somewhere in the repository that could vaguely be
e it both in the package.xml and in the 0.8 archive. Where did
> you get your package from?
>
> François
>
> De : [EMAIL PROTECTED] [mailto:symfony-
> [EMAIL PROTECTED] De la part de Frank Stelzer
> Envoyé : dimanche 15 avril 2007 19:32
> À : [EMAIL PROTECTED]
>
15.04.2007 um 21:35 schrieb Francois Zaninotto:
> Can you tell me more about these i18n warnings? Are they caused by
> the plugin or by your application?
>
> François
>
> De : symfony-users@googlegroups.com [mailto:symfony-
> [EMAIL PROTECTED] De la part de Frank Stelzer
> En
Am 15.04.2007 um 21:35 schrieb Francois Zaninotto:
> Can you tell me more about these i18n warnings? Are they caused by
> the plugin or by your application?
>
> François
>
> De : symfony-users@googlegroups.com [mailto:symfony-
> [EMAIL PROTECTED] De la part de Frank Stelze
Check if everything is in your web root dir.
The web root dir on your host should look like something like this:
= SCHNIPP
web/
css/
main.css
images/
admin/
apply_f2.png
back
Could it be that you have included perhaps some files in your dev
environment, but not in the prod environment. Any restrictions in
your settings.yml or view.yml ?
To your plugins problem: Are the according modules of the plugins
enabled in your prod environment, too ?
- Frank
Am 18.04.20
You did not mention, that you use prototype with this plugin.
The pathes are ok, you have to copy all the web/* data out of your
plugins in your web root.
MY_PLUGIN/web/* to /MY_PLUGIN/*
As one can see in your former mail, you did not copy these files in
your prod server.
- Frank
Am 18
You can call the component in your action. So you would have the
common operations only in the component.
Am 19.04.2007 um 15:14 schrieb Haris Zukanović:
> Hi,
>
> I have a component and an action that do exactly the same...
>
> I need the component to include it in my layout.php and I need
component into your action to retrieve the same output
and to go through the same php code.
Am 19.04.2007 um 16:50 schrieb Haris Zukanović:
> How can I call it?
> include_component?
>
> That is a helper function.. I would be braking rules right?
>
>
> Frank Stelzer wrote
Am 19.04.2007 um 17:41 schrieb Haris Zukanović:
> Thank you very much..
> It works like a charm :)
>
great :)
I have just released a small wiki article (sorry for language mistakes):
http://trac.symfony-project.com/trac/wiki/
HowToHandleSameCodeInAComponentAndAnAction
because this problem
I would maybe create a own criterium class, which hinherits Criteria.
This class adds a criterion with this publishing flag in the
constructor.
--
myCriteria extends Criteria(){
public function __construct(){
$this->add('is_published',1); // table attribute hard coded
}
}
--
Here is t
Hi everybody,
in my new project i have to use doctrine as ORM. However i am not used to
it and get during my first tests some errors and am know a little bit lost
:).
I get one error, where i could not find out what is wrong.
I have to use an existing database schema where a "_foobar" table exis
Hi everybody,
i have to add dynamically tables to my existing model. I use doctrine as
ORM and create for every new "dynamically" model a new schema file.
Afterwards i would run the doctrine_build_model task in an action, so that
the model classes from this new table are generated (maybe addition
y need to keep an eye on the load of the server.
>
> On 5/10/07, Frank Stelzer <[EMAIL PROTECTED]> wrote:
>>
>> Hi everybody,
>> i have to add dynamically tables to my existing model. I use
>> doctrine as
>> ORM and create for every new "dynami
Hi,
i want to use the active record functionality of doctrine. That means, i
have a model definition and want to create the according table on the fly.
The manual
(http://doctrine.pengus.net/doctrine/manual/documentation2.php?chapter=Getting+started+-+Starting+new+project)
says that there is noth
should be just a typo
myfiler myFilter
Naming of the class and the according class file is case sensetive.
>
> On May 7, 10:35 am, "Jonathan H. Wage" <[EMAIL PROTECTED]> wrote:
>
>> I would write a custom filter and apply it to the filter chain.
>
> I couldn't get custom filters working at al
Mmmh, did you clear the cache after class creating and did you put the
class file in the project lib dir?
>
> should be just a typo
>
> myfiler myFilter
>
> Naming of the class and the according class file is case sensetive.
>
>
>>
>> On May 7, 10:35 am, "Jonathan H. Wage" <[EMAIL PROTECTED]> w
with this content in your project/config folder:
# Turn off create tables for all environments, all connections
all:
attributes:
create_tables: on
(alter the env to your purposes)
- Frank
Am 11.05.2007 um 15:12 schrieb Frank Stelzer:
>
> Hi,
> i want to use the active r
I do not know exactly, what you want to do. But with slots and
component slots you can display everything you want through a template.
Are slots not sufficient for your purposes ?
- Frank
Am 13.05.2007 um 12:53 schrieb Matthias Nothhaft:
>
> Hi,
>
> Is it possible to define an area in a tem
Hi everybody,
the subscription of the doctrine mailinglist currently does not work ( i
get no response subscription mail), so i try to find the answer here.
Devs, who do not work with doctrine, please ignore this mail :)
I am lost with simple querying data from a table. I read the docus, but
noth
Here another soliloquy :)
There was a bug in the pgsql driver implementation, which i had to fix on
my own.
For those of you, which use doctrine + pgsql: Have an eye at the Pgsql.php
- Frank
>
> Hi everybody,
> the subscription of the doctrine mailinglist currently does not work ( i
> get no
Hi everybody,
i have a huge and strange problem with the sfFeed2Plugin (but i only
guess that my issue is caused here).
I can call my feeds and they will generated without problems. However
i get a 404 response on my prod server, although my feeds are shown
correctly (there is NO 404 excep
got it!
It was a .htaccess problem.
Sorry for another useless mail...
--~--~-~--~~~---~--~~
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 un
Really great site with a nice design!
Am 22.05.2007 um 15:45 schrieb Jonathan H. Wage:
> I am curious, did you use Propel?
I am interested in this fact, too :)
- Frank
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google G
You can call another javascript function, which jumps to the top of
the page, when the link_to_remote is done.
'indicator',
'url' => __MY_URL__,
'complete' => "JumpToTop()",
))?>
Am 25.05.2007 um 05:26 schrieb Rafael George:
>
> Hi guys, im changing some stuffs from Askeet, for a pe
Hi Greg,
i would link the "add" form to a save action and the "edit" form to a
update action (same form, but with different action targets).
The save and update actions forward themselves to an internal doSave
action.
The advantage of handling with two "update" actions is, that you can
def
Fabien,
What is about the stable sandbox?
http://www.symfony-project.com/get/sf_sandbox.tgz
I get the Version "1.0.5-PRE" after extracting. Little mistake or
is the sandbox at the moment really the pre version?
- Frank
>
> Hi Amit,
>
> The security fix has been commited to the trunk and the 1.
You have an typing error in there.
The helper is called I18NHelper, with capitalize N. Typing is case
sensetive on unix machines, on windows machines not. So you could use the
I18nHelper on your windows machine, but your linux server does not find
this helper.
- Frank
> I did that as well. No
You have to define another environment ('batch' or 'test' or something
like that) for this purpose.
In this new environment you can define your request class in the
factories.yml of the frontend app.
'dev' is your normal environment for web development.
- Frank
> I've created a new Batch scr
For this purpose i set normally the logging level on my production server
to the debug level. If you are lucky, you can better find the problem.
But do not forget to change the logging level again, when you found the
problem :)
Perhaps there is somewhere an exception thrown, which is not
logged/
Mmh, did you also looked in your apache error_log (if existing)? I got in
former times some illegal state exceptions etc. and of course the
error_log was the last log file i looked into ... :)
- Frank
> Frank Stelzer wrote:
>> For this purpose i set normally the logging le
Headers are sent because of the storage, mainly sfSessionStorage. I
use sfSessionTestStorage for my "cli environment" and everything
works for me.
Perhaps this storage works for you either.
- Frank
Am 10.07.2007 um 02:07 schrieb Ian P. Christian:
> Clearly, using getPresentationFor() is ca
Cyrille,
look at this chapter:
http://www.symfony-project.com/book/trunk/07-Inside-the-View-
Layer#File%20Inclusion%20Configuration
You can overwrite the stylesheet of any plugin with the great
configuration cascade. Create a directory with the name of the module
(do not create a complete
Mmmh first of all rename your index.php in index2.php. Maybe your
WAMP installation redirects/rewrite something, which it should not.
Check
> http://localhost:8080/index2.php
and hope you get more, than a blank page :)
- Frank
Am 23.07.2007 um 20:14 schrieb Brian Hoke:
> I've installed a symf
You can link to the customized action, where you handle your
customized stuff and after everything went fine you can forward to
the normal login action of the plugin.
- Frank
Am 08.08.2007 um 21:18 schrieb g0d br:
> Hi,
>
> I'm trying to use an customized sfGuardAuth action to be called
>
Hey,
I am a little bit lost at the moment, because i get on every domain,
where i implemented a symfony project such warning message on my
productive server (shared host):
PHP Warning: PHP Startup: Unable to load dynamic library './
php_openssl.dll' - ./php_openssl.dll: cannot open shared o
problem still
exists
- Frank
Am 10.08.2007 um 17:59 schrieb Tristan Rivoallan:
>
> On 8/10/07, Frank Stelzer <[EMAIL PROTECTED]> wrote:
>
>> To solve this problem, i have to know, where the according code
>> line is
>> located, which causes this problem
, i have to know, where the according code line is
located, which causes this problem.
> Well, that your configuration problem, not symfony's as it seems. Eigher
> comment out php_openssl.dll or put it there so PHP can find it.
>
> On 8/9/07, Frank Stelzer <[EMAIL PROTECTED]&
A good point to learn how symfony handles m:m relationships is this
small chapter:
http://www.symfony-project.com/book/trunk/14-Generators#Many-to-Many%
20Relationships
The chapter talks about the admin generator, but one get the point :)
Am 15.08.2007 um 21:04 schrieb hutchic:
>
> http:/
Looks really great.
I am using the sfLightboxPlugin at the moment and now i am thinking
of switching to this new plugin.
Great work!
- Frank
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group
http://www.symfony-project.com/book/trunk/11-Ajax-Integration#Drag-and-Drop
These drag and drop boxes can be implemented by ajax sortable lists.
- Frank
> hi.
> im try to find a drag_and_drop box example like a www.igoogle.com but im
> dont find...
> some idea of as to make?
>
> tks
>
> >
>
Hi,
how do you manage your sessions? Are you using the standard
serverside sessions or do you save your sessions in the database?
Or to speak symfony: Do you use the sfSessionStorage or the
sfMySQLSessionStorage as storage? I hope you use the last one,
because is the only solution, where
Put it in a normal sub directory of your projects lib folder (so you
can reuse it better afterwards or export it to a plugin). Only the
orm tools put files in the lib/model dir in my projects.
- Frank
Am 20.08.2007 um 14:33 schrieb Sebastian Schulze:
>
> Hey guys.
>
> I want some of my mode
Hi again,
i use sfPostgreSQLSessionStorage in a web server cluster and have no
problems.
For debugging your problem, i would write s small filter for that,
that logs session id and user id for every request. So you could
track down, when your session gets really lost.
Have you checked, if
Hi everybody,
I have an understanding problem with the remember me filter of the
sfGuardUserPlugin. As far as i understood this filter, it only works
within actions, which are secured (the security handler checks if the
according action is secured and only adds this remember me filter
when
Just a small hint:
Are you aware of, that a sfMemcacheCache class already exists?
http://trac.symfony-project.com/trac/browser/trunk/lib/cache/
sfMemcacheCache.class.php
This could cause naming problems, if one would use this plugin.
- Frank
Am 31.08.2007 um 01:10 schrieb Myke Hines:
>
> I
s
> on purpose that the naming be conflicting because the plugin is
> incompatable and unneccesary with symfony 1.1.x
>
>thanks tho
>
> On Aug 30, 2007, at 5:07 PM, Frank Stelzer <[EMAIL PROTECTED]>
> wrote:
>
>>
>> Just a small hint:
>>
>>
Does this work?
> $node5 = abcPeer::retrieveByPK(5);
> $node5->moveToTop($node5);
moveToTop takes a sortable object, so $node5 itself.
Am 04.09.2007 um 20:09 schrieb Cipher Chien:
> $node5 = abcPeer::retrieveByPK(5);
> $node5->moveToTop($records);
> //hum... this is not work.
--~--~-
Great work!
I need this functionality for my current project the next days and i
was afraid, that i have to do all the work alone.
But so, you saved me lots of hours of work!
Thanks!
- Frank
Am 05.09.2007 um 18:21 schrieb Nicolas Perriault:
>
> Francois Zaninotto a écrit :
>
>> May I sugg
have a look at this cookbook chapter:
http://www.symfony-project.com/cookbook/1_0/upload
- Frank
Am 10.09.2007 um 20:20 schrieb Eno:
>
> Is it possible to manage image uploads through the Symfony generator?
> If not, is there a plugin that does something similar that's easy to
> integrate?
>
Why do you not add an unique constraint to the name field?
Look at the sfPropelUniqueValidator, if you want to validate this
constraint on php side.
- Frank
Am 18.09.2007 um 19:34 schrieb jhon cañas:
>
> hi..
> I need validate if a record exist in a table before insert. example:
>
> id | n
try
$sf_user->getGuardUser()->getProfile()->getId();
$sf_guard_user is not available in templates normally.
>
> Hi everyone,
>
> I'm having trouble creating a partial link to the edit user profile in
> sfGuardUser
>
> I've created _userprofile.php in the templates/ directory, but when I
> try
+1
When i use a plugin hosted on the project website, i assume that the
plugin has the same license than the project itself.
That means, i would seperate the "normal" plugins from plugins with
other licenses. Tagging would be the first step, but i think it would
be too confusing, when there
Only one small additional idea:
Cause of this reason, we could add a extra "license filter", which goes
throw all installed plugins and check there licenses (so every symfony
project could be license validated).
Therefore you have to define a
plugin_license_only: MIT
in your settings.yml or wh
I am currently hosting on a shared host, too and i have performance
problems.
But you can completly disable logging, activate caching (as far as
possible) and deactivate some standard helpers, which maybe are not
used in your app.
When you use the admin generator try to define join methods
it
> doesn't do this then it's a bug, IMO.
>
> If you're sure you're doing everything right, make a trac ticket
> telling me how to recreate this situation and then assign it to me
> (davedash) and I'll have a look at it.
>
> -d
>
> On
I use Propel 1.3 rev701 standalone in an none symfony project and i
like it so much better than 1.2.
However, the nested set support has still some bugs, but the rest
works very fine.
I decided against doctrine because of the lack of stability.
I didn't tested Propel 1.3 with symfony, but i w
> var json=transport.responseText.evalJSON(false);
Did you changed this flag to true already?
JS is not evaluated by default after a remote request.
Am 08.10.2007 um 17:08 schrieb [EMAIL PROTECTED]:
>
> Hi,
> I got a problem with prototype Window.
> My goal is to call a PW with a form.
> The fo
>> but many problems with other plugins as well (e.g. the nested set
one)
Propel 1.3 has nested set support natively, so the nested set plugin
is absolete. I use Propel 1.3 in a non-symfony application and it
works very well.
The disadvantage of Propel 1.3 is currently the lack of debug
What is the current state of this plugin?
Is there any chance to contribute? I have to implement common shop
functionality within the next days and do not want to reinvent the
wheel.
Please let me know, how you discuss this topic, beside this mailinglist.
- Frank
Am 04.10.2007 um 20:54 sch
There is a ":" missing
> new_registration: <---
> url: /:sf_culture/signup
> param: { module: user, action: signup }
Am 02.11.2007 um 13:09 schrieb Mohammad Asif Ali:
> new_registration
> url: /:sf_culture/signup
> param: { module: user, action: signup }
--~--~-~--~-
Hi,
I have a understanding problem with sfDimensionsPlugin. I want to set
a dimension, within a preExecute action method, to be able to call a
complete different layout.php than the rest does.
Example
my_module1 -> should always be rendered with /app/templates/layout.php
my_module2 -> should
{
> $this->setLayout('mylayout');
> }
> }
>
>
> sfDimensionsPlugin changes the lookup paths for all files, not just
> the the
> layout, it is probably over kill for what you are trying to do.
>
> Cheers,
>
> Dustin
>
> On 11/4/07 5:00 PM, "Frank St
In case you use propel:
Use timestamp instead of datetime. Propel supports date, time and
timestamp as date&column types:
http://propel.phpdb.org/docs/user_guide/chapters/ColumnTypes.html
And it may read:
> start_date:timestamp
You missed the ":"
- Frank
Am 07.11.2007 um 10:25 schrie
Uli,
there is no huge different between interacting with the model layer
in a filter or in a action.
Have a look at this filter for an example:
http://trac.symfony-project.com/browser/plugins/sfGuardPlugin/lib/
sfGuardBasicSecurityFilter.class.php
As you want to do some performance tweaks i
You have to assign all your custom queries to Propel 1.3 syntax.
CreoleStmt:next() for example to PDOStatement::fetch()
Read the documentation about PDO for more information:
http://propel.phpdb.org/trac/wiki/Users/Documentation/1.3/Criteria
http://us.php.net/pdo
Am 24.05.2008 um 09:05 schrieb
101 - 169 of 169 matches
Mail list logo