Hi,
Sorry I've never seen such a diagram.
There is an UML picture of symfony imternals.
A module covers view and controller tiers in mvc, and yes you can
define filters and forms on each module, or overload the generated
ones, just pût them in module/lib folders.
To disable filters in an
Hi,
From what I understand :
Model: Doctrine/Propel
View: Partials, templates (sfPHPView engine)
Controler: Action, Component
Modules are containers for actions, to group them somehow.
Cheers,
Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre
hay,
In m form I used TinyMCE to format text and later when i want to
present it using echo $var i get pbr...raw html tags. How can I
switch it off??/
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because
This is simply a safety feature of symfony, that converts characters such as
into lt; and into gt; , etc. In your echo statement just wrap an
html_entity_decode around the variable
?php echo html_entity_decode($string); ?
http://php.net/manual/en/function.html-entity-decode.php
On Tuesday
Remove all the addAsColumn references and you should be fine
On Tuesday 18 May 2010 06:04:59 Apul Gupta wrote:
I have two tables in my database, schema below:
user:
id: ~
email_id: { type: varchar(100), required: true }
password: { type:
Le dimanche 16 mai 2010 à 13:08 -0700, codewi.se a écrit :
I asked about this a few months ago, and I wonder if there has been
much progress? I'm about to do a big ecommerce project and the client
is leaning toward using Magento. I hate Magento. Are there any
worthwhile ecommerce packages out
Modules are a grouping mechanism for actions (controller) and their associated
templates (views). Actions can access the model classes (model) to get the
data needed by the templates (view), which is why the action is the
controller; it controls recieving an incoming request (link clicked, form
You could certainly build a robust e-commerce application using symfony. Thats
the point of symfony, you can actually build whatever you want with it, its
not designed for only one or two use cases. The only thing you need to worry
about isn't if symfony CAN be used to make an ecommerce
On Mon, 17 May 2010, Dennis wrote:
So anyone seen a definitive pictogram that shows all the elements of
Symfony in relation to an MVC implementation? Something like a Venn
diagram showing which element of symfony belongs in which part of pure
MVC?
I'm kind of wondering most of all:
On Mon, 17 May 2010, Samuel Morhaim wrote:
I am trying to move my site from one host to another... same code on both..
however on the new server, one of my modules is throwing this
*Warning*: Cannot modify header information - headers already sent by
(output started at /var/www/
Hi friends,
i m user some API to send sms notification and i want to update my
table through the SMS response. can anyone help me?
Thanks
brajesh
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because
I clear the cache. AND I open the page in a different browser but
it's the same thing :(
some one who has idea
thank you
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to
Hi
I am developing a system that enables users to post content. It is
like a basic forum system.
What I want to ask is, how can I prevent users from editing, updating
or deleting the other users' posts. Also I want to set the user_id
field of a new post to the user_id of the actual poster.
I am
the ?php tag was the problem in my case, thanks for the hint!
On 18 Mai, 09:16, Thor thorste...@gmail.com wrote:
I'd add as common cases, classes with spaces BEFORE the ?php tag
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You
Your question lacks a huge amount of details:
1. WHat API?
2. Does the API provide a way for you to recieve SMS recieving capabilties?
3. Does the API provider process response SMS's?
4. If the API provider allows you to recieve responses how does it inform you
a response has returned and in
When the user logs in you can store that users user_id in a session variable;
for example, in an action adter login:
$this-getUser()-setAttribute('user_id', $the_users_id);
You can then anywhere in your app, including saving new content, get that
users id from the session variable with:
Hi!
You could have a look on sfShop.
To my mind, it's the most finalized -extensible- e-commerce solution
developped with sf 1.3 / Propel 1.4
There is port to Doctrine too.
Please have a look to
http://www.sfshop.net/ -- not finished at all --
http://propel.sfshop.net/--
I am already storing the user_id in the session. But the problem is
where do I use $this-getUser()-getAttribute('user_id') ? I do not
want to access sfInstance in the form or any model classes.
Also I said in my first post:
And in the 'create' action I am checking whether the user is changed
the
Store the post with the user_id for the author that created it. If the current
logged in user's user_id stored in session is equal the user_id stored in the
database for a POST then that user can edit. Otherwise not. There is no need
to use hidden fields on the form to store a user id.
And all
Here's an alternative. Don't show any edit capabilties, including edit forms,
if the user_id in session does not match a posts user_id. In action:
if ($this-getUser()-getAttriburte('user_id') == $post_obj-getUserId())
{
$this-edit_form = new EditForm($post_obj-getId());
}
In template
That worked, thanks.
On May 18, 4:45 pm, Gareth McCumskey gmccums...@gmail.com wrote:
Here's an alternative. Don't show any edit capabilties, including edit forms,
if the user_id in session does not match a posts user_id. In action:
if ($this-getUser()-getAttriburte('user_id') ==
Then you can try to copy the
/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/i18n/sf_admin.fr.xml to
/apps/frontend/i18n
note: use the sfDoctrine with you use the doctrine as ORM.
bye
Augusto Morais
--
If you want to report a vulnerability issue on symfony, please send it to
security at
Also,
to answer your filters question - assuming you mean request filters
(cache, security, etc.), I believe the answer is no, you can only
configure them for the whole application, and the reason is simple -
they execute before you even know which module was requested. They're
universal.
Hi,
im trying to integrate sfShoppingCart with doctrine. Its all going
well except for the view
?php foreach ($items as $item): ?
?php $object = call_user_func(array($item-getClass() .
'Table', 'retrieveProductName'), $item-getId()) ?
?php echo $object-getLabel() ?br /
Doesn't look like any of the old URLs are working.
Google doctrine documentation:
The first link loads a blank page:
doctrine-project dot org slash documentation
as does every other google search (so far that I've seen) for
something in the doctrine documentation, e.g. doctrine dql
Hello,
I am wondering whether we should choose version 1.4 or 2 for our new
project that will be released this fall.
We will have to maintain over a long time many web sites using our new
specialized CMS.
I know Symfony 2 is still experimental and should be out late 2010 but
as the team never
Hi,
2010/5/18 Jean-Marc Fontaine j...@jmfontaine.net:
Hello,
I am wondering whether we should choose version 1.4 or 2 for our new
project that will be released this fall.
I have used development sf1.3 version for a new app. But it was only
_evolution_. Symfony 2 is _revolution_ - and nothing
Hi,
I was trying to use the spool strategy of swift + doctrine but I give up, I
think that it's not completely implemented.
I follow this how to (
http://www.symfony-project.org/more-with-symfony/1_4/en/04-Emails ) and It
works to save the emails on database, but when I run the command
Hi,
Doctrine documentation is available (they just change the link)... You could
find it at:
* http://www.doctrine-project.org/projects/orm
for both 1.2 and 2.0:
* http://www.doctrine-project.org/projects/orm/1.2/docs/en
* http://www.doctrine-project.org/projects/orm/2.0/docs/en
have i miss
29 matches
Mail list logo