We can't have a custom route class that is smart enough to convert
objects to params and vice versa?
Daniel
On May 23, 6:41 am, Christophe Willemsen
willemsen.christo...@gmail.com wrote:
Hi Ben,
I know it is pitty that the previous feature is away !
You could however, add a
otherwise I
wouldn't be able to make one editable and one create-only...
On May 6, 4:45 am, Richtermeister nex...@gmail.com wrote:
Just create a plugin (I usually call it AppSharedPlugin or so), put
a module with your template inside and enable it in whatever apps you
want to share
Just create a plugin (I usually call it AppSharedPlugin or so), put
a module with your template inside and enable it in whatever apps you
want to share it in.
Daniel
On May 5, 6:30 am, OnDistantShores cameron.r...@gmail.com wrote:
Yep, Symfony 1 :-)
On May 5, 11:27 pm, OnDistantShores
Could this be related to the php setting magic quotes?
Daniel
On Apr 10, 11:47 am, Simon Cast simon.c...@gmail.com wrote:
I recently upgraded to 1.4.12 and this has produced the odd error
where form input is escaping quotes on entry to the system. By this I
mean I echoed the clean bound form
You can also try explicitly setting the memory limit in your project
configuration via:
ini_set(memory_limit, 60M); or whichever is appropriate.
Expecially long-running tasks can be hogs.
Daniel
On Mar 22, 8:35 am, Jonathan Franks jonat...@ifranks.com wrote:
Hi, I know this issue has been
You need to call the task with a specific application (either by
adding --application=whatever to the calling code, or by specifying
the default application in the respective parameter).
Without that, you get a project config, with it, you get an
application config. The reason is that many
This brings up a question I've had, are there any restrictions on
using the symfony name in domains/products that are commercial in
nature and aren't affiliated with Sensio?
I know Drupal made a move to restrict usage of their name under such
circumstances (from what I read, not 100% sure how
Hi Himanshu,
this seems overly complicated. Since you're getting the same fields
from the database regardless of which user is logged in, you should be
fine using the same class to access those fields. The model shouldn't
change depending on which user uses it, only different data should be
It's really the same as in symfony1 where a blog plugin would contain
a front module and one or more admin modules, as well as the
entire blog model and blog specific assets.
The only thing I'm unsure about is how to group said files within the
bundle.. I mean, most bundles I see have one
Hey Felds,
In the past I have dealt with this by just putting a SettingsForm
into the admin area (styling it to look the same as an admin module),
and writing the settings to a yml file.
During runtime I then load the file and merge it with the settings in
sfConfig. This way I can allow admins to
Hey guys,
I share your frustration with Magento, having tried to customize what
I feel are trivial things, and having struggled with keeping the
checkout process as slim as possible (I only had one shipping option,
why do I force the customer through the extra step of selecting it?
etc...)
So,
really thankful to you.
regards
Shihab
On Jan 23, 12:01 am, Richtermeister nex...@gmail.com wrote:
I believe you can make the cache key whatever you want... so in your
case just module/action and whatever neccessary parameter, but not
user id.
I've used this in reverse, where I had
I believe you can make the cache key whatever you want... so in your
case just module/action and whatever neccessary parameter, but not
user id.
I've used this in reverse, where I had the same url for everybody, but
depending on the login status and session id I'd generate a unique
cache key,
You can create a custom route class that understands how to retrieve
your objects from whatever url pattern you come up with.
Have a look here:
http://www.symfony-project.org/more-with-symfony/1_4/en/02-Advanced-Routing
Daniel
On Jan 20, 9:07 am, ma89a2 marcelooliveira...@gmail.com wrote:
You can do that. Just Pass an extra Redirect Parameter to the route
and Pick it up in the Action.
On Jan 3, 5:47 am, Eric B ebenza...@gmail.com wrote:
On Sun, Jan 2, 2011 at 9:08 AM, Svetoslav Shterev bgsa...@gmail.com wrote:
On Sat, 2011-01-01 at 23:36 -0800, benze wrote:
Hi,
I'm
Hey Tomasz,
this is normal - you have to tell Propel to also hydrate the I18N
classes via:
(example) CategoryQuery::create() - joinWith('CategoryI18N') -
find();
I usually create a withI18N method on the internationalized query
classes for convenience.
Works like a charm and reduces everything
Hey Javi,
first, the credentials are in the security.yml, not view.yml,
and secondly, the proper approach is to manage what credentials a user
has rather than managing what credentials an action/module requires.
So, the current approach of coding credentials into the system files
and
Hey there,
your first insight is right, you're holding 2 references to the same
object, so it'll always be the same.
In your second case I could only imagine that the updated_at field is
being updated (maybe). To find out, why don't you look at the
serialized strings and see where they differ...
to hold. or is that a pre defined variable ???
Also it isn't a member function of sfPropelPager, so what exactly is $query
that you are mentioning here
Thanks again
Parijat
On Mon, Oct 25, 2010 at 10:46 AM, Richtermeister nex...@gmail.com wrote:
Hey there,
without knowing exactly
Hey there,
without knowing exactly what your issue is, if you're using Propel15
(as you could and should ;) you can just use $query - paginate($page,
$per_page); and that works guaranteed.
Daniel
On Oct 24, 11:05 pm, Parijat Kalia kaliapari...@gmail.com wrote:
Hey guys, running into a cheesy
Hey Madhur,
- what gabriel said, perfect description.
I just wanted to add that the whole process is usually very smooth can
can be done within an hour.
The only manual update I had to do after the upgrade was to rework use
of the flash variable, as it was moved from the action to the user..
but
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,
Might just be a typo, but you're calling getInstance while the
method you show is called createInstance..
Daniel
On Oct 11, 1:43 pm, wickass wick...@gmail.com wrote:
Im trying to pass a single instance of a helper object to the view by
making use of template.filter_parameters event. However
Hey rekarnar,
I'd be interested in the propel version as well. :)
Daniel
On Oct 10, 2:36 pm, rekarnar rekar...@gmail.com wrote:
Yer I have a simple solution that I was going to convert into a plugin
for you... but then I realized it is propel.. sorry. I could still do
so if you wanted to
You could use the requirements of the route to verify that a valid
version is supplied. Of course that would be limited to a regex, but
if that's enough, that's where it would go.
Next best option is to create your own route class and customize
things there.
Daniel
On Oct 8, 4:21 am, Shihab KB
Hey Sebastien,
your intuition is right, those things don't belong in the model, as
they differ from application to application.
There are easy ways to have the best of both worlds though.
First, links to, say, a product I find pretty simple:
link_to($product, product_show, $product);
However, if
In the new action for the related object, just stick that ID into the
object or set it as default for the form.
$object = new Whatever();
$object - setRelatedId($request - getParameter(offer_id));
$form = new WhateverForm($object);
//OR
$form = new WhateverForm(new Whatever());
$form -
Hey everybody,
I'm running into a new error when I use the mailer. Just $this -
getMailer() alone triggers it.
Catchable fatal error: Argument 1 passed to
Swift_Transport_AbstractSmtpTransport::registerPlugin() must be an
instance of Swift_Events_EventListener, instance of
input type=submit value=Filter /
/form
That help?
Daniel
On Sep 23, 7:36 pm, Tristan tristan.bessou...@gmail.com wrote:
Do you have an example please ?
Cause as i never see it from my eyes, it does not make sense.
Thanks ;)
On 22 sep, 19:32, Richtermeister nex...@gmail.com wrote
Hey Vikos,
yes, that is relatively easy, but obviously you can't just use the
view.yml for that. However, from within the layout you can just call:
use_stylesheet('whatever');
use_javascript('blah');
That way you can customize the layouts to use different assets.
Daniel
On Sep 23, 5:25 am,
This is very simple. You have those FilterForm classes for each
model.. just use those to render the forms on the front-end, and
validate the data when they are submitted, just like with a regular
form. The only difference is, you also have a method $filter -
getCriteria(), which returns a
Under normal conditions, only one application can have no script in
the url, since all requests without a script would be directed to that
app via .htaccess setting.
One way around that is described here:
http://symfony-check.org/permalink/delete-backend-php-from-your-uri
Daniel
On Sep 6, 4:33
What happens if you run the query manually against the database?
Could be that you're doing a non-optimized join or so...
Daniel
On Sep 6, 4:13 am, Hugo Chinchilla hugoase...@gmail.com wrote:
Hi,
for my app's backend I have written a custom method to draw a select
widget which was consuming
Yes, and yes. :)
On Aug 17, 12:11 pm, Daniel Kucharski dan...@inspiran.be wrote:
Hi,
Is it possible to create a plugin which overrides various settings / classes
from other symfony plugins (routing, schema, model classes)?
If so, does the order how plugins are loaded (in the project
I would imagine that at this point you can do everything that Doctrine
can do equally easily with Propel, and the port should be fairly
straight forward.
I would be very interested in such a development as well, and very
available to help out.
Daniel
On Aug 12, 3:02 am, Tofuwarrior
Headers go into the view.yml file under http_metas.
For example:
http_metas:
content-type: text/html
Expires: 0
Alternatively, you can put those into the .htaccess file and have
Apache dish them out instead.
Daniel
On Aug 10, 3:54 am, gunnarlium gunnarl...@gmail.com wrote:
Hi!
I
Hey Stephen,
while there's nothing wrong with creating a plugin, even to just share
one template, for emails I prefer to wrap them in classes.
As Gustavo says, it sucks a bit if there's complex HTML involved, and
I'm currently looking at integrating the templating standalone
component to be able
sense.
Thanks for the perspective.
Daniel
On Aug 2, 6:24 pm, Christian Fazzini christian.fazz...@gmail.com
wrote:
Yes but I think you are missing the point Richtermeister. All this
extending makes it more difficult with the admin generator involved.
Not difficult perse'. But just extra effort
You can override the isModified() method on the object to introduce
that custom logic.
Currently it returns whether any field has been modified. You can
change it to return false if only the view field has been modified.
Daniel
On Jul 31, 6:13 pm, comb sa...@gmx.net wrote:
Well I need the
Hey Paul,
well, for one, there's this plugin here:
http://www.symfony-project.org/plugins/sfSmartyPlugin
This comes with a bunch of symfony specific smarty plugins and should
give you plenty of ideas about how to integrate the two.
With regards to Doctrine vs. Propel, I would take a close look
Oh, and needless to say longterm it would make sense to look into Twig
instead of Smarty.
That way you'll roll with highly symfony friendly tools.
Daniel
On Jul 28, 9:06 am, Richtermeister nex...@gmail.com wrote:
Hey Paul,
well, for one, there's this plugin
here:http://www.symfony
Hey there,
I use the admin generator exclusively for my admin backends. I find
that it gives a quick yet solid foundation for all my admin needs, and
if I run into situations like you describe (make the same changes to
different modules) I can simply extend the generator itself and the
changes
Since most/all of the form handling happens inside the form, you could
have 2 separate actions that redirect to different areas.
Also, you could have one form submit via ajax. Lastly, there's always
the referrer variable.
Daniel
On Jul 23, 7:24 am, Daniel Kucharski dan...@inspiran.be wrote:
to this
is the jquery autocomleter in the form extra plugin. You could modify that
widget to do this. I have done something like this, but it just extends the
widget and adds a delete icon to it.
On Jul 21, 2010 9:20 PM, Richtermeister nex...@gmail.com wrote:
Hi all,
I could use a widget that works
Hi all,
I could use a widget that works just like the to field in facebook
messages, where you start typing a name, get an autocomplete list,
pick an item, and said items goes into the field, gets a remove icon,
and you can repeat this process as often as you want.
Does that already exist?
What I usually do is add a custom column like Number of Comments,
and I link that number to a custom filtered list of comments that
belong to this post.
Are you using Propel or Doctrine?
Daniel
On Jul 20, 9:27 am, Martin Henits martin.hen...@gmail.com wrote:
I have 2 tables named blog_post
You could also add a new collection action Add To List, and use that
to add selected rows to a list on the server. Then you have another
action Process List, and that runs on the list..
Daniel
On Jul 16, 7:54 am, Winnie chaiseenb...@gmail.com wrote:
Hello all,
Is it possible to select items
Take a look here:
http://www.codemassacre.com/2009/04/27/symfony-12-admin-with-custom-primary-key/
Daniel
On Jul 12, 9:06 am, PePe_el_Romano rolia...@gmail.com wrote:
Good dear group:
I am writing to see if someone has this same error occurred and has
solved, or if they are aware of it.
I'm not aware of an advantage, and from what I know Doctrine2 does
away with that.
Daniel
On Jul 4, 9:37 am, Javier Garcia tirengar...@gmail.com wrote:
On 07/04/2010 11:44 AM, G bor F si wrote:
The question is doctrine-related, not propel. Doctrine indeed uses
magic methods instead of
Hey there,
if you're using Propel, you're in luck, the option to sort on custom
columns has just been added and works great.
http://trac.symfony-project.org/browser/plugins/sfPropel15Plugin/trunk/doc/admin_generator.txt
Daniel
On Jul 2, 3:37 am, Aanchal Gera aanchal.g...@gmail.com wrote:
Hi
...@gmail.com wrote:
On Wed, 30 Jun 2010, Richtermeister wrote:
I have an app with 2 usergroups (admins and dealers), and dealers can
fall into 3 brands. Those two factors affect the content of certain
lists. Now, I'd like to cache certain sections, but of course I need
to still worry about
+1 I second that. Chaining rules and there should be more of it.
Daniel
On Jul 1, 7:30 am, Georg geor...@have2.com wrote:
Hello,
I think that the bind() method of the Form object should return the
object to make it possible to chain methods, for my personal use of
forms, this would make
Hey Juerg,
fear not, I've done exactly that 1.0 - 1.4 a number of times
recently,
and it's not all bad.
But yes, I would recommend stepping through each new version, just in
order to run the project:upgradeXX tasks..
The first step is the hardest, since you need to manually update the
symfony
Hey there,
overall this is a perfect case for using the eventdispatcher. That way
you can keep the form focused on what it's good at (validation), and
handle notifications outside. The form already has access to the
eventdispatcher, so all it takes is firing an event that carries the
post object
$object - toArray(BasePeer::TYPE_FIELDNAME) returns the array you're
looking for.
For more reference, check this:
http://propel.posterous.com/getting-to-know-propel-15-when-you-really-nee
On Jun 30, 6:14 am, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
Is there a way in Symfony /
Hi all,
I have an app with 2 usergroups (admins and dealers), and dealers can
fall into 3 brands. Those two factors affect the content of certain
lists. Now, I'd like to cache certain sections, but of course I need
to still worry about who sees what, and I'm thinking that in theory
this should
Can you show us how the widgets are set and configured in the form?
Outside of adding a date widget and a date validator you shouldn't
have to do anything.
Daniel
On Jun 24, 1:49 pm, metaphist paulef...@gmail.com wrote:
Actually, two issues:
1) My date widget isn't saving the date in the
I would not put this on the routing system.
It sounds like all you need is one route that maps your urls to your
product catalog action, and figure out which product to show from
there.
For example, the route could be:
product:
url: /:manufacturer-:type
param: { module: catalog, action:
Simple, just use this plugin:
http://www.symfony-project.org/plugins/sfFCKEditorPlugin,
which gives you a simple widget to render the editor.
You'll still have to download the fck editor library and put it in the
right spot (/js/fckeditor I believe), but that's it. Easy as pie.
Daniel
On Jun
Look at the configuration class, I believe it contains a method which
has the final say on the max pager value.
I haven't tried this myself, but that's what I would try first.
Daniel
On Jun 21, 12:54 am, Winnie chaiseenb...@gmail.com wrote:
Hello,
I'm working on a module made with the admin
Ideally you pass the I18N instance into the form. That way you don't
couple your forms to the context (makes forms hard to test).
For example, from within an action you can say:
$form = new WhateverForm(array(), array(i18n = $this -
getContext() - getI18n()));
and inside the form:
$i18n =
Hey Parijat,
actually, it just changes the order the results are displayed in. The
original query stays the same except for the ORDER BY clause. The
symfony admin generator behaves the same way.
Daniel
On Jun 9, 10:12 pm, Parijat Kalia kaliapari...@gmail.com wrote:
hello everyone, here's my
Hey Omar,
something like this?
http://www.skinmedica.com/find-a-medical-practice?submitted=1zip=92109
If so, I can share how that's done.
Daniel
On Jun 9, 6:28 am, Omar El Mazny omar.elma...@gmail.com wrote:
hello
I have results in a list on the map is it possible when i click on
the
Hey there,
this is the standard behavior. Most plugins define the package
directory similar to this:
_attributes: { package: plugins.sfGuardPlugin.lib.model }
This makes the model live in the plugin directory.
Daniel
On Jun 3, 8:06 am, AgusQuiroga agusquir...@gmail.com wrote:
Hi,
I
Hey Kay,
the clean way is to pass the routing class to the form.
//from inside controller
$form = new WhateverForm($defaults, array(routing = $this -
getRouting());
//from inside form
$routing = $this - getOption(routing);
$url = $routing - generate(...);
ideally, you also ensure that you
WhateverForm($defaults, array(url = $this -
generateUrl(...)));
Daniel
On May 25, 6:07 pm, Richtermeister nex...@gmail.com wrote:
Hey Kay,
the clean way is to pass the routing class to the form.
//from inside controller
$form = new WhateverForm($defaults, array(routing = $this -
getRouting
The model class works as well, but some people prefer to leave the
data cleansing to the forms and use the model layer purely for storage/
retrieval. Matter of preference.
Daniel
On May 25, 6:27 am, Tom Haskins-Vaughan t...@templestreetmedia.com
wrote:
Using setDescription on model level
Hey Oleg,
the tag to product argument makes no sense to me... What are you
attaching tags to if not the product's ID's?
In your version, you want to edit product ids.. so what happens to the
references in the product_to_tags table? You have to update them
accordingly?
If you just went with
Hey Oleg,
gabriel is right. Using database ids with outside systems (your
accounting system) is a bad idea and a database design no-no for all
sorts of reasons.. One issue is that you're coding only for your
current situation, but what happens when your accounting system
changes? Or when you need
I think if you embed the form under a different name (not
contact_details_id, try just contact details), that might fix it.
Right now what's happening is that the widgetschema
contact_details_id is being rendered with a value of 1, which makes
no sense, since it''s expecting an array as values.
Hi there,
in theory there's not often a need for this kind of query..
For example, if you save an object, you get the new ID immediately..
$object = new Whatever();
$object - save();
$latest_id = $object - getId();
Daniel
On May 21, 5:47 am, kadia dia kadial...@gmail.com wrote:
Thank you
http://www.propelorm.org/wiki/Documentation/1.5/Behaviors#WritingaBehavior
It applied to 1.4/1.5, and if you're not there, do yourself a favor
and try it out... it'll rock your world.
Daniel
On May 21, 7:03 am, rekarnar rekar...@gmail.com wrote:
Hi,
Thats what I was hoping for, can you link
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.
There's also this plugin:
http://github.com/weaverryan/sfThemePlugin/blob/master/README.markdown
Haven't tried it yet, but seems to take care of theming, except the
image directory as far as I can see, but that seems to make sense to
me, as some images could be shared between themes.
Daniel
On
Hey Yyaga,
while there's been quite a few changes in propel as well as the admin
generator, most of them were introduced with backwards compatibility
in mind, so you shouldn't have to undertake major rewrites at all.
I've upgraded 1.2 to 1.4 / p1.5 without problems, as most of the
generator.yml
I second that - if the goal is a fully fledged e-commerce app, Magento
would be my first choice.
On the symfony side you'll find some payment integration packages, but
nothing that amounts to a full store. Closest thing I know of is here:
http://groups.google.com/group/symfony-ecommerce
but I
Yay! Congratulations, symfony!
More than once have I heard the phrase why don't we use Drupal, it's
got thousands of plugins, prompting me to bring up the quality vs.
quantity argument. But it's good to see we're also strong on quantity.
Rock on!
Daniel
--
If you want to report a vulnerability
Not sure if that's the same lib, but I've been using
http://phpexcel.codeplex.com
. Very mature easy to use well documented.
Daniel
On May 10, 6:06 pm, ReynierPM reynie...@gmail.com wrote:
There is a SF extension called sfPHPExcel wich is a wrapper for PHP Excel
give a try and tell us back
This is because the php engine shuts down completely when a fatal
error is encountered.
Symfony doesn't get to do anything after that point. What the error
handler really handles are Exceptions, not fatal errors.
Daniel
On May 10, 10:14 am, nurikabe eaow...@gmail.com wrote:
e.g.:
Hey there,
ok, I think I'm following you.
Here's how to go about it:
First, if you're trying to filter on a real date or timestamp column,
then all the work is already done for you.
For example, the created_at/updated_at columns would automatically
cause the filter field that you describe to be
);
}
Daniel
On May 1, 5:03 pm, Richtermeister nex...@gmail.com wrote:
Hey there,
ok, I think I'm following you.
Here's how to go about it:
First, if you're trying to filter on a real date or timestamp column,
then all the work is already done for you.
For example, the created_at/updated_at columns
Hey there,
in sf1.2+, the admin filtering is handled via filter form classes, so
all customization and filter logic should go in there.
The form is not only responsible for displaying and validating the
widgets, but since it extends sfFilterForm it also contains methods
that build a query /
Alternatively, you can just skip the insert task, and selectively grab
tables from the generated sql definitions in /data/sql/..
Paste those into mysql, and you got a new table as well. As for
modifying existing tables, that would truly fall under migration,
and unfortunately it involves some
Hi all,
This is more of an aesthetic question..
In most tutorials/examples/apps I see written in symfony, all class
files are stored in the project/lib data.
For the model layer I see that that's a good central spot, however, I
often have forms or filters that are really only applicable to one
If you're already inside the generated module, you should have access
to the configuration class. that should contain all the info from the
generator.yml.
Daniel
On Apr 23, 3:04 am, John drskulls...@gmail.com wrote:
Hi Pabz,
Thanks for your answer.
Apparently I'm not clear : What I'd like
Just throw a custom extension that doesn't extend sfValidatorError.
After all, you are trying to break outside the form, so it's
legitimate to use exceptions that transcend the form framework.
Daniel
On Apr 20, 7:52 am, WallTearer walltea...@gmail.com wrote:
But how can I check if the needed
Yeah, this is a pretty common requirement, and I've used a double list
before that had up/down arrows.
I'll see if I can find the code somewhere.. I've been meaning to
package that into a widget anyways.
Daniel
On Apr 14, 8:28 am, comb sa...@gmx.net wrote:
Thanks for answering.
User-View:
Hey there,
ah, ok. In that case I think throwing custom exceptions that extend
the sfValidatorError would be in order.
Just catch those in the actions, and depending on their type you'll
know which error occurred.
I'm doing something similar where in my setup the credit card
validator can throw
Hey man,
I know what you mean, for example - I have a checkout form that uses
authorize.net to validate a credit card, but I don't want to trigger
the validation until the basic for validation passes.
The way I go about it is override the doBind method to first call the
parent::doBind method, and
And, to be fair and balanced, the propel version:
http://www.propelorm.org/wiki/Documentation/1.5/Relationships
And yes, you'll an intermediate table that links products and
categories together. both columns (product_id, category_id) should be
set to primaryKey: true.
Both ORM's make it pretty
Ideally you end up with one module per entity (customer, task,
whatever it is) and use the routing to compose the visible structure
of the app. Every other hack would be much harder to scale or change
if you need to change your visible structure at some point.
Daniel
On Apr 7, 8:00 am, Jacob
Hey David,
a better starting point to look at would probably be the module
generators (there's one in propel). This generates more of a solid
scaffolding, not something tied to a generator.yml,
but it should give you an idea of what you're looking for.
Daniel
On Apr 2, 8:14 am, David
Hey Tom,
I wrote the ecommerce part of www.skinmedica.com, which uses a quite
complex promotions setup and took some iterations to get it right. I'd
be happy to help.
Our cart works similar to what Antoine said, where the shopping cart
is distinct from the final order, and mostly responsible for
, Richtermeister nex...@gmail.com wrote:
Hey Tom,
I wrote the ecommerce part ofwww.skinmedica.com, which uses a quite
complex promotions setup and took some iterations to get it right. I'd
be happy to help.
Our cart works similar to what Antoine said, where the shopping cart
is distinct from
On Tue, Mar 30, 2010 at 2:00 AM, Richtermeister nex...@gmail.com wrote:
Hey Tom,
I wrote the ecommerce part ofwww.skinmedica.com, which uses a quite
complex promotions setup and took some iterations to get it right. I'd
be happy to help.
Our cart works similar to what Antoine said
Also, there's many ways to skin that cat.
I've got one app where I'm indeed using a template for the xml, and in
the ups class I instantiate an instance of sfPartialView to render it.
Later I've tried another approach where the xml was embedded inside
the class via EOL;
Both work.
Lastly,
Framesets in symfony behave just the way they behave outside of
symfony. In fact, symfony is not and should not be aware of framesets
at all. They're simply a browser-construct to compose multiple
individual requests into one screen, so, you're probably best off
reading up on how framesets work in
Hey Vikos,
the solution is to override the bind() (or doBind()) method and adjust
the validators based on the values passed. Then you call the parent
bind() method to trigger the actual validation.
Daniel
On Mar 21, 9:42 am, Vikos make.webp...@gmail.com wrote:
Symfony version : 1.4
On
the yml validation was part of sf1.0 and it was enabled in 1.2 through
the sfCompat10 plugin. This is removed in 1.4 and you have to use the
form framework for all your validation needs. While this might seem
tricky at first, it's really much more powerful and avoids any
duplication that was
If you're using propel, I can give you a class that does that.
Daniel
On Mar 17, 8:52 pm, Gatos ega...@gmail.com wrote:
Hello,
If there any code available for converting parent/child table to a nested
set table?
Thank you in advance
--
If you want to report a vulnerability issue on
1 - 100 of 330 matches
Mail list logo