Is it possible in an sfPropelRoute to include extra parameters in the
URL, that doesn't correspond to the object?
For example, my object:
item:
id
title
slug
message
created_at
updated_at
This is a correct sfPropelRoute url:
topic_show:
url: /part1/:slug
class:
If I try to access a function in my User class (myUser.class.php), the
results is being escaped in a template.
This makes the code below a mess:
?php if(!in_array($topic-getId(), $sf_user-getTopics())): ?
I receive this error message:
Warning: in_array() expects parameter 2 to be array, object
Is it possible in an sfPropelRoute to include extra parameters in the
URL, that doesn't correspond to the object?
For example, my object:
item:
id
title
slug
message
created_at
updated_at
This is a correct sfPropelRoute url:
topic_show:
url: /part1/:slug
class:
Is it possible to use other characters in a route, except only the
slash (/)?
For example, I want to use the dash (-):
This works: (1) /myroute/:slug/:id
Instead I want: (2) /myroute/:slug-:id
This results in:
(1) /myroute/my-item/56
(2) /myroute/my-item-56
--
If you want to report a
Because this is a job offer in Holland, please forgive me that I
continue in Dutch.
KiwiMedia (Utrecht) zoekt per direct een PHP Symfony programmeur!
Ben je zelf op zoek naar een fulltime baan of ken je iemand? Neem dan
contact met ons op!
Momenteel doen wij projecten voor de Rabobank, de
How can I use a special char in a user flash message?
When I use krantcafé (the é), the flash is empty and displays an empty
error div.
When I set Krantcafé, is see exactly that in my website.
How can I just get the é character?
I use the UTF-8 charset
--
If you want to report a vulnerability
on a Propel model, and the embedded forms are?
Thanks for your help! :)
On 16 dec, 23:09, guiguiboy guillaume.bre...@gmail.com wrote:
Hi,
Have you tried doing a print_r on $oForm-getValues() ?
Guillaume B.
On 16 déc, 19:31, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
Weird... when I
Weird... when I bind my form, the embedded forms don't receive the
values.
This is my action:
$oForm = new UserSocialNetworkLinksForm(NULL, array('linked' =
$aLinked));
if($oRequest-isMethod('post')){
If I run a task created in my lib/task folder, I get this error:
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted
(tried to allocate 71 bytes) in /usr/share/symfony/1.4/lib/plugins/
sfPropelPlugin/lib/vendor/propel/util/PropelConfiguration.php on line
100
Fatal error: Allowed
Can I configure this in the .htaccess as well?
On 30 nov, 17:31, Macvek mac...@gmail.com wrote:
Hi,
You should edit 'memory_limit' in your php.ini. I've set it to 128M
and every task works well.
Regards,
Maciej Aleksandrowicz
2010/11/30 HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
In a plugin I have a schema.yml.
When I do propel:build all, a model is created in /lib/model/
Object.php
But, I already have that class!
In /plugins/myPlugin/lib/model/Object.php
How can I overwrite the normal class with my plugin class?
It would be very crappy if I have to extend it an make it
KiwiMedia is recruiting a PHP Symfony developer for the development of
an online community.
Because we're searching for someone from Holland, the rest is in
Dutch:
KiwiMedia(.nl) zoekt een Symfony PHP programmeur voor 4 dagen in de
week! Het gaat om het ontwikkelen van een community voor de
Is there a way to clear my cache in an action, using PHP?
--
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 the Google
Groups symfony users group.
To post to this group, send
Is there a way to define an other country in the
sfWidgetFormI18nChoiceCountry?
For example, I support 5 countries by choice. The last option is
always other.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message
My session won't hold! After 30 minutes, I'm logged out again!
I obvious must have gotten something wrong, but I cannot figure it
out...
This is my factories.yml:
test:
storage:
class: sfSessionTestStorage
param:
session_path: %SF_TEST_CACHE_DIR%/sessions
response:
class:
Why won't my session last longer than 30 minutes?
This is my factories.yml:
test:
storage:
class: sfSessionTestStorage
param:
session_path: %SF_TEST_CACHE_DIR%/sessions
response:
class: sfWebResponse
param:
send_http_headers: false
mailer:
param:
Can you make something out of this?
On 1 sep, 16:14, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
Thx :)
I've been using:
* Symfony 1.4.9
* jQuery 1.4.2
My call in my HTML template:
setTimeout(ajax('div_javascript_ajax', '/en/world');, 1);
The JS function:
function ajax
Nobody?
On 1 sep, 12:11, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
In my prod environment, the timers are empty
(sfTimerManager::getTimers())
How can I turn these on in prod?
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony
number (like the actual timestamp) in the URL, in your ajax JS
function, to check if it's a cache problem.
On Thu, Sep 2, 2010 at 9:03 AM, HAUSa
jeroen_heeft_behoefte_aan_r...@hotmail.com wrote:
Can you make something out of this?
On 1 sep, 16:14, HAUSa jeroen_heeft_behoefte_aan_r
, Pensez à Votre Responsabilitée Environnementale!
On Tue, Aug 31, 2010 at 8:20 PM, HAUSa
jeroen_heeft_behoefte_aan_r...@hotmail.com wrote:
In IE8, my isXmlHttpRequest function doesn't work.
In my template, I use ?php if(!$sf_request-isXmlHttpRequest()): ?
to hide content if it is an AJAX
In my prod environment, the timers are empty
(sfTimerManager::getTimers())
How can I turn these on in prod?
--
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 the Google
Groups
and isXmlHttpRequest
If you check the code of isXmlHttpRequest, you'll see it is very simple:
return ($this-getHttpHeader('X_REQUESTED_WITH') == 'XMLHttpRequest');
So check if your javascript code sets that header, also check if it
actually gets sent.
On Wed, Sep 1, 2010 at 12:11, HAUSa
1, 2010 at 9:25 AM, HAUSa
jeroen_heeft_behoefte_aan_r...@hotmail.com wrote:
I use jQuery...
function ajax(sId, sUrl){
$('#' + sId).load(sUrl);
}
On 1 sep, 13:50, Gábor Fási maerl...@gmail.com wrote:
Correct - jquery, prototype, mootols - all major ones do. If you use
In IE8, my isXmlHttpRequest function doesn't work.
In my template, I use ?php if(!$sf_request-isXmlHttpRequest()): ?
to hide content if it is an AJAX call.
Firefox handles this okay, but IE8 shows the entire template, as well
as the complete layout again!
How is this possible? Bug?
Anyone who
When I'm in the i18n form class (example: PageI18nForm.class.php), how
can I see for which culture it is?
Because in the PageForm.class.php, the PageI18nForm.class.php is
called for each culture I embed it for. So, I need to retrieve that in
the i18n form itself.
--
If you want to report a
with the new with method that add custom
select statement and hydrate them in the object.
On Jul 18, 7:58 pm, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
If everything goes well, a SQL file is created in your /data/sql
folder.
I don't know why that does not happen, it should
Hi all,
Is it possible to use IF() in a Propel query?
I want a query like this:
SELECT product.*, IF(MAX(bids.bid) product.price, MAX(bids.bid),
product.price) as current_price FROM product LEFT JOIN bids ON
(product.id = bids.product_id)
Thank, hope that someone can help me.
Looked
for thinking with me!
On 16 jul, 10:30, Gábor Fási maerl...@gmail.com wrote:
What's the error message? Did you try removing the *?
On Fri, Jul 16, 2010 at 10:19, HAUSa
jeroen_heeft_behoefte_aan_r...@hotmail.com wrote:
Anyone?
On 14 jul, 15:39, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
If everything goes well, a SQL file is created in your /data/sql
folder.
I don't know why that does not happen, it should :)
Otherwise try build-all. Beware, this creates the model files as well
and replaces the database.
Please back to topic! Feel free to open a new discussion for this one.
I'm
Yes, I'm sure.
Did a print_r($oAdvertisement) check just now to confirm.
On 18 jul, 19:45, Gábor Fási maerl...@gmail.com wrote:
Are you sure $oAdvertisement is not null? Can you call its getId and
getSlug methods?
On Sun, Jul 18, 2010 at 19:42, HAUSa
jeroen_heeft_behoefte_aan_r
It's official: you are my hero.
Thanks!
On 18 jul, 20:14, Gábor Fási maerl...@gmail.com wrote:
Try generateUrl instead of genUrl
public function generateUrl($route, $params = array(), $absolute = false)
On Sun, Jul 18, 2010 at 20:00, HAUSa
jeroen_heeft_behoefte_aan_r...@hotmail.com wrote
Anyone?
On 14 jul, 15:39, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
Yes:
advertisement_show:
url: /:sf_culture/advertisement/show/:id/:slug/*
class: sfPropelRoute
options: { model: Advertisement, type: object }
param: { module: advertisement, action: show
I got a feeling that my method option is ignored:
advertisement_show:
url: /:sf_culture/advertisement/show/:id/:slug/*
class: sfPropelRoute
options: { model: Advertisement, type: object, method: adsasdgas }
param: { module: advertisement, action: show }
requirements:
I can't use genUrl like this:
genUrl('advertisement_show', $Advertisement)
where $Advertisement is the object for the sfObjectRoute
The only way to do so is to call it like this:
genUrl('advertisement_show?id=' . $Advertisement-getId() . 'slug=' .
$Advertisement-getSlug())
But that, ofcourse,
Doesn't work either, gets ignored as well
On 14 jul, 13:37, Daniel Lohse annismcken...@googlemail.com wrote:
http://www.symfony-project.org/reference/1_4/en/10-Routing#chapter_10...
:)
On 14.07.2010, at 13:20, HAUSa wrote:
I got a feeling that my method option is ignored
, 15:32, Gábor Fási maerl...@gmail.com wrote:
Is your route declared as sfPropelRoute/sfDoctrineRoute?
On Wed, Jul 14, 2010 at 15:23, HAUSa
jeroen_heeft_behoefte_aan_r...@hotmail.com wrote:
I can't use genUrl like this:
genUrl('advertisement_show', $Advertisement)
where $Advertisement
Ow now it does... hmmm weird.
Thanks, it all works fine now!
On 14 jul, 15:38, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
Doesn't work either, gets ignored as well
On 14 jul, 13:37, Daniel Lohse annismcken...@googlemail.com wrote:
http://www.symfony-project.org/reference/1_4/en
I got two classes, user and user_i18n.
In my UserForm.class.php, I embed two UserI18nForm.class.php.
When I print my form, it looks all okay. But something strange happens
when I try to save the form ($form-save()).
If the records in the user_i18n database table don't exist yet, saving
goes well.
to insert some configuration into the app.yml from
database? For what do you need this configuration setting?
On 1 čnc, 14:51, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
I want to use some configuration settings from the database in my
app.yml configuration file.
This is my
I want to use some configuration settings from the database in my
app.yml configuration file.
This is my code now:
all:
?php foreach(SettingPeer::getIndex() as $oSetting): ?
?php echo $oSetting-getSlug() . ': ' . $oSetting-getValue() ?
?php endforeach; ?
But the error I receive says No
Is it possible to use fields from the i18n object table in the form
filter?
So can I embed the UserI18nFormFilter class in my UserFormFilter?
The normal embedI18n function from the sfForm class doesn't work...
--
If you want to report a vulnerability issue on symfony, please send it to
Is it possible to use PHP code in the .yml generator files of the
admin generator?
--
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 the Google
Groups symfony users group.
To post
How can I get a I18n translation in my form class?
I want to use the __() function in my UserForm.class.php.
--
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 the Google
Groups
How do I lookup the users IP address?
--
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 the Google
Groups symfony users group.
To post to this group, send email to
In form I use the sfWidgetFormI18nLanguageChoice.
But, when I try to load the page, it says the
sfWidgetFormI18nLanguageChoice class cannot be found.
How is that possible?
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received
By the way, I use Symfony 1.4 :)
On 25 mei, 17:32, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
In form I use the sfWidgetFormI18nLanguageChoice.
But, when I try to load the page, it says the
sfWidgetFormI18nLanguageChoice class cannot be found.
How is that possible?
--
If you
Ah that's it!
The new docs are wrong!
On 25 mei, 17:38, Tom Haskins-Vaughan t...@templestreetmedia.com
wrote:
Try sfWidgetFormI18nChoiceLanguage
On Tue, May 25, 2010 at 11:33 AM, HAUSa
jeroen_heeft_behoefte_aan_r...@hotmail.com wrote:
By the way, I use Symfony 1.4 :)
On 25 mei, 17:32
Is project a special reserved word in your data model for Symfony /
Propel?
I know MySQL accepts it as a table name. Is there a hack for still
using it?
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message
Anyone who has experienced using Symfony on PHP 5.3?
Did it all run fine? No compatibility errors / bugs?
The Symfony versions 1.1, 1.2, 1.4?
--
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
Is it possible to check for an object if there are any foreign key
restrictions in effect? So deletion of that object is not possible?
--
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
.
In a component you can include a partial in the template like this:
?php echo include_partial('module/partial', $params)?
I use in several components without problem.
Manel
On 31 mar, 17:23, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
In an action I can use $this-getPartial
In an action I can use $this-getPartial('system/email_template'), but
that doesn't work in an component.
How can I do this in a component?
--
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
If you want to make OR term in Propel, you need to make a Criterion
object that adds the OR terms to the Criteria object.
Now I build my Criteria by use of several functions. This is the
first:
public static function getAttentionCriteria(Criteria $oCriteria =
NULL){
I have a multi-multi relation in my model:
zipcode:
id:{ type: integer, required: true, primaryKey: true,
autoIncrement: true }
region_id: { type: integer, foreignTable: region,
foreignReference: id, required: true, onDelete: cascade }
slug: { type: varchar, required:
In Propel I have a double JOIN: the Zipcode table is joined in a query
on the User table.
Now I have two functions which both join the Zipcode table:
* addSortCriteria()
* addFilterCriteria()
When a user sorts on a record from the Zipcode table
(addSortCriteria), the Zipcode table is joined, as
.
As far as I can see, there is not such an option for number fields
(integers, decimals, floats). That would be very helpful for
filtering, for example if you want to filter products between the 50
and 75 euro's.
Does somebody know a plugin or way to easily accomplish a number range
filter?
Thx, HAUSa
http://svn.symfony-project.com/plugins/sfGenExtraPlugin/trunk/
On 3 mrt, 14:21, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
Hi all,
I'm using the Admin Generator and as you all might know, it contains a
filter form in the index action to filter the displayed list results.
Now I
Is there a way to check if a partial exists in the template?
I've looked around in Google, but it doesn't give very useful
results...
--
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
When a Propel form is submitted, I want some values to be set manually
by the system. So I have to extend the form object like I do with a
normal object class.
For example, when a User is saved, the extended class looks like this:
public function save(){
$this-setRandom(rand(1,99));
return
I'm using the url_for helper to generate a link in my template. The
link has to go to an object detail page (sfPropelRoute) and has send
some GET parameters as well.
This is my route:
article_route:
url: /:sf_culture/article/:id/:slug/*
class: sfPropelRoute
options: { model: Article,
Right now I have two form widgets which are of the class
sfWidgetFormPropelChoice.
The second field has about 20 choices, but can be filtered by the
first one.
Is it possible in a quick and neat way to replace the all the options
of the second form field by the filtered options (about 5) when a
For some reason, I _always_ get a CSRF attack error message when I use
the admin generator and want to execute a batch action. I can't fix it
as well, I don't know where that error is coming from.
Is there anyone who ran into the same problem or can help me?
--
You received this message because
It is disabled, I test via the dev environment.
I also tried to clear the cache several times
On 4 feb, 12:56, Tyler tyler.gr...@gmail.com wrote:
check cache for your app, is it enabled?
On 4 фев, 13:52, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
For some reason, I _always_
I use a date input widget, which is configured as below:
$this-widgetSchema['birth_date']= new
sfWidgetFormDate(array(
'format' = '%day%-%month%-%year%',
'years' = range(date('Y') - 15, date('Y') - 4)
));
My
When I go to my application, it says only this:
Fatal error: Class 'BasePageGeneratorConfiguration' not found in /srv/
www/vhosts/startersspecialist.nl/httpdocs/apps/controlpanel/modules/
page/lib/pageGeneratorConfiguration.class.php on line 11
I think it has something to do with the admin
When I use the url_for() function, the output is without the
controller prefix.
Example, on controlpanel_dev.php/system/sign_in_form I place the form,
and I use
echo url_for('system/sign_in')
The output now is /system/sign_in, while it should be
controlpanel_dev.php/system/sign_in!
Anyone who
...@gmail.com wrote:
Check your no_script_name setting.
On Fri, Dec 11, 2009 at 12:41, HAUSa
jeroen_heeft_behoefte_aan_r...@hotmail.com wrote:
When I use the url_for() function, the output is without the
controller prefix.
Example, on controlpanel_dev.php/system/sign_in_form I place the form
Is there a method like the php symfony i18n:extract frontend en
command to automatically generate the language XML for the forms?
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to
How can I set a join table with propel for a i18n table?
That table has to be joined by the id and culture field, but as far as
I know the Criteria::addJoin() function only supports just one join
criteria.
--
You received this message because you are subscribed to the Google Groups
symfony
I need to have a different main template for just one action. Is that
possible, or do I have to create a complete seperate app for that?
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to
I have two classes: UserForm and UserSimpleForm. UserSimpleForm
extends UserForm.
In UserForm are several other forms embedded, like PhotoForm and
AddressForm.
For the simple version of the form, UserSimpleForm, I want to unset
these embedded forms. Say unembed (is that an existing word?) them.
Build one in HTML / CSS in a special component / partial?
On 8 nov, 21:37, Relez relvis.gonza...@gmail.com wrote:
Hey guys, I need a horizontal menu for my application, this menu need
to be integrated with sfGuardPlugin to manage permissions. Any idea?
Is it possible to force an empty input field?
Because when I use setDefault(), the field still has default values
from the object when you edit is (object not new)...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Is it possible to make a pager that doesn't use the database?
In that case I make an array of objects myself and pass it on to the
pager.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post
When I make a relation between two tables, it is possible to use a
automatic join select.
Example:
message:
* id
* user_id
message_i18n:
* id
* culture
* subject
* message
user:
* id
* name
Now I can use MessagePeer::doSelectJoinUser()
Is it also possible to use
I think I ran into a bug in the PropelForm class. It's quite some
story with a lot of large code fragments in it, that's why I think
it's easier to read it on a forum:
http://forum.symfony-project.org/index.php/m/87845/#msg_87845
--~--~-~--~~~---~--~~
You received
Are you sure the routing.yml is configured correctly?
It seems to me, the URL has to be photolibrary/delete/82
On 2 nov, 11:13, saturngod saturn...@gmail.com wrote:
I write generator.yml like that
generator:
class: sfPropelAdminGenerator
param:
model_class:
Yes, that is possible. the apps/[app name]/lib folder is automatically
included.
On 3 nov, 05:49, Mickael HOAREAU mickael.hoar...@bysoft.fr wrote:
Hi!
By default, all the models are defined inside of project_root/lib/
model/doctrine/.
That makes the model accessible for every applications
Is it necessary to enable plugin modules in sf1.3?
--~--~-~--~~~---~--~~
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 unsubscribe from this
/sfJqueryFormValidationPlugin/lib/filter/
sfJqueryFormValidationFilter.class.php is there!
On 3 nov, 09:57, Sid Ferreira sid@gmail.com wrote:
yup
On Tue, Nov 3, 2009 at 06:55, HAUSa
jeroen_heeft_behoefte_aan_r...@hotmail.com wrote:
Is it necessary to enable plugin modules in sf1.3
The only way is to do not use echo $form, but make your own template.
You can use a foreach loop to discover each widget.
On 3 nov, 11:04, cosmy c.zec...@gmail.com wrote:
Hi again.. I have a stupid question whithout answer.
I don't want to display the embedded form name in my forms, but i
When I use url_for('advertisement/index?category=' . $subcategory-
getId()), the URL output is /advertisement?category=2
How can I make the URL look like /advertisement/index/category/2 ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed
at 12:43, HAUSa
jeroen_heeft_behoefte_aan_r...@hotmail.com wrote:
When I use url_for('advertisement/index?category=' . $subcategory-
getId()), the URL output is /advertisement?category=2
How can I make the URL look like /advertisement/index/category/2
I embedded two UserI18nForms in my UserForm.
$this-embedI18n(array('de', 'en'));
This is my action:
$this-form = new UserForm();
Now I want to display the forms seperately in my template. So echo
$form is no option for me.
Is it possible to retrieve an array of all embedded forms from the
Is it possible to check form values without the user submitting it?
It seems that the validators set in the form class only work when you
submit.
I want to have that when a user completes a field (onblur), the
entered value is checked immediately.
I know I can do this with AJAX, but how do I
name for the extra data.
On Mon, 2009-11-02 at 06:01 -0800, HAUSa wrote:
Is it possible to check form values without the user submitting it?
It seems that the validators set in the form class only work when you
submit.
I want to have that when a user completes a field (onblur
In every application is a app.yml in the config directory.
Is there also a way to create one for a whole project where all config
settings are available in all applications and the model?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Is it possible to redirect from a component?
Because the redirect() function doesn't work (Call to undefined method
systemComponents::redirect)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To
Is it possible to set multiple cultures for users? For example first
the culture FR, then the culture EN.
When a Propel object is not available in FR, it automatically takes
the EN value.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
/13-I18n-and-L10n#chapter_13_s...
for more info.
You will however still need to provide a way for users to change culture
due to the inaccuracy of browser cultures.
On Mon, 26 Oct 2009 11:21:42 +0100, HAUSa
jeroen_heeft_behoefte_aan_r...@hotmail.com wrote:
Is it possible to set
, HAUSa
jeroen_heeft_behoefte_aan_r...@hotmail.com wrote:
That is not what I mean. When a user submits an advertisement, he/she
must enter it in his own local language (for example FR) and for EN.
When a dutch user (language NL) views the advertisement, there will
ofcourse be no NL i18n
I have several i18n fields in my advertisement model, for example
title and description.
When a user submits an advertisement, he / she has to complete those
fields in their own foreign language and in English. For example: if a
German user submits, he / she has to complete it in DE and EN. A
I use Propel.
How can I create my own i18n template? Not really heard of it
before :)
On 25 okt, 16:54, Alexandre SALOME alexandre.sal...@gmail.com wrote:
Hi,
You should create your own I18N template, inspired from the I18N Doctrine
Template.
2009/10/25 HAUSa jeroen_heeft_behoefte_aan_r
In my ObjectI18nForm I made several fields required.
I embedded the ObjectI18nForm for two languages in my ObjectForm.
Ofcourse, in both languages the fields are required. But I want my
user to be able to submit only one language, he / she is not required
to complete the fields for both
I have a recursive category overview. Example:
Category 1
* Category 1.1
* Category 1.2
* Category 1.3
Category 2
Category 3
* Category 3.1
* Category 3.2
I also created a function in CategoryPeer.class.php named
generateSelect. The output of this function is going to be:
select
this helps ...
Michael
On 23 Okt., 10:49, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
In my ObjectI18nForm I made several fields required.
I embedded the ObjectI18nForm for two languages in my ObjectForm.
Ofcourse, in both languages the fields are required. But I want my
Maybe this helps?
http://propel.jondh.me.uk/
On 21 okt, 09:45, Avani avani.v.puj...@gmail.com wrote:
ya.. it's working
Thanks Gareth.. :)
On Oct 21, 12:12 pm, Gareth McCumskey gmccums...@gmail.com wrote:
$exploded_query = explode( , $this-query);
$k-getNewCriterion(
I embedded the UserI18nForm.class.php in my UserForm.class.php:
class UserForm extends BaseUserForm{
public function configure(){
$this-embedI18n('nl', 'en'));
}
}
Now I created a new form, MyUserForm.class.php, that extends the
UserForm.class.php. In that form I unset several form
, the in the i18nform.
Example :
CmsPageForm has embed CmsPageI18nForm
So go to your CmsPageI18nForm and unset title or content field.
Alexandre
2009/10/19 HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
In my form class, I can unset several fields.
But how can I unset an i18n field
Someone who has experience with this?
On 19 okt, 10:37, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
When I have some i18n fields in my form, it is displayed like this:
price: field
rank: field
en:
-- title: field
-- description: field
nl:
-- title: field
-- description
1 - 100 of 209 matches
Mail list logo