Sorry. I'm using 1.1. I've had a look at chapter 17 (1.1) but I'll give 
it a go in YAML.

Francois Zaninotto wrote:
> Which version of symfony are you using? As far as I know, extending a
> plugin's schema works natively for symfony 1.1 (and with the
> sfPropelAlternativeSchemaPlugin for symfony 1.0) but only with YAML
> schemas.
> 
> http://www.symfony-project.org/book/1_1/17-Extending-Symfony#Customizing%20a%20Plug-In%20for%20an%20Application
> 
> François
> 
> 2008/9/8 Tom Haskins-Vaughan <[EMAIL PROTECTED]>:
>> Actually, it doesn't seem to be reading the file at all. I added some
>> incorrect code to 'break' the XML and it didn't throw an error when I
>> tried to build the model. Here's the file:
>>
>> // symfony/config/tsmSbpPlugin_schema.custom.xml:
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>>  <database name="propel" defaultIdMethod="native" noxsd="true"
>> package="foo.lib.model">
>>  <!-- ARTICLE -->
>> cddc
>>   <table name="tsm_sbp_article" phpName="tsmSbpArticle">
>>     <column name="dummy_column" type="VARCHAR" size="10" default="dummy
>> text" />
>>   </table>
>> </database>
>>
>>
>> Tom Haskins-Vaughan wrote:
>>> Hi,
>>>
>>> Has anyone had any success with extending a plugi model? I am trying to
>>> extend a plugin's table by creating a schema.xml file in my project. It
>>> essentially just adds one more field. The file seems to be being read:
>>>
>>> [propel-om] Processing: generated-tsmSbpPlugin-schema.xml
>>>
>>> ...but the extra field is not added. Has anyone got this working?
>>>
>>> Any help much appreciated.
>>>
>>> Tom
>> --
>> Tom Haskins-Vaughan
>> Temple Street Media: Design and Development for the Web
>> [EMAIL PROTECTED] | www.templestreetmedia.com
>>
> 
> > 
> 

-- 
Tom Haskins-Vaughan
Temple Street Media: Design and Development for the Web
[EMAIL PROTECTED] | www.templestreetmedia.com


--~--~---------~--~----~------------~-------~--~----~
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 group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to