Errr *populate

On Tuesday, 8 March 2016, Rob <bubap...@gmail.com> wrote:

> Not sure if I understand the requirements properly but it might be the
> workflow module your after?
>
> Or perhaps running a dev task after the deployment to popular content?
>
> On Tuesday, 8 March 2016, anru chen <ctx2...@gmail.com
> <javascript:_e(%7B%7D,'cvml','ctx2...@gmail.com');>> wrote:
>
>> Hi:
>>
>> why not just use SQL to extract information?
>>
>> By the way, if you just want to extract pages ,you can use following code:
>>
>> Let us assuming , you have a page holder "PageHolder", and under holder,
>> there are some sub pages called SubPage.
>>
>> 1> $holder = DataObject::get_one('PageHolder');
>> 2> $ids = Page::get()->filter(array('ParentID' =>
>> $holder->ID))->getIDList();
>> 3> $Children = SubPage::get()->filter(array('ID' => $ids))->limit($limit);
>>
>> then write customized code to export to what ever format you want.
>>
>> hope this help.
>>
>>
>> regards,
>>
>> anru
>>
>> On 8 March 2016 at 10:04, Robby <robby...@gmail.com> wrote:
>>
>>> Plus one.
>>> I can't find any for now. only site tree import so far.
>>> How other people do content deploy between different environment?
>>>
>>>
>>>
>>> On Monday, 16 June 2014 20:09:49 UTC+12, Bob M Brown wrote:
>>>>
>>>> Hi there,
>>>>
>>>> One of our clients is using SilverStripe and has a requirement to
>>>> export information from part of the SiteTree from one instance (local
>>>> staging server) to another instance (production website). Due to their
>>>> release process they cannot simply have draft changes on the live website.
>>>>
>>>> Can anyone recommend any good approaches to this where we can perhaps
>>>> export part of the SiteTree (including user permissions) as some kind of
>>>> interchange format which can then be imported on the target website.
>>>>
>>>> I have searched around for a solution and this is pretty much the same
>>>> question as this
>>>> http://www.silverstripe.org/general-questions/show/10146 but there's
>>>> no good solution to that either.
>>>>
>>>> Thanks in advance,
>>>>
>>>> - Bob -
>>>>
>>>> --
>>>> Bob Brown, [L|W]AMP Web Developer
>>>> gur...@gmail.com, http://www.guru.net.nz
>>>>
>>> --
>>> --
>>> NZ PHP Users Group: http://groups.google.com/group/nzphpug
>>> To post, send email to nzphpug@googlegroups.com
>>> To unsubscribe, send email to
>>> nzphpug+unsubscr...@googlegroups.com
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "NZ PHP Users Group" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to nzphpug+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>> --
>> NZ PHP Users Group: http://groups.google.com/group/nzphpug
>> To post, send email to nzphpug@googlegroups.com
>> To unsubscribe, send email to
>> nzphpug+unsubscr...@googlegroups.com
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "NZ PHP Users Group" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to nzphpug+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to nzphpug@googlegroups.com
To unsubscribe, send email to
nzphpug+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups "NZ 
PHP Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nzphpug+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to