Re: [Radiant] Custom Fields

2010-04-28 Thread Josh French
 I'm looking at using the Custom Fields extension for some pages, for  
 example
 pages with information about upcoming events. Each of these pages  
 would have
 a custom field for start/end date, location, organizer, etc. Is  
 there any
 way to create a template for these pages that would include the custom
 fields (maybe with default values)? I don't see how to do this with  
 either
 the Stereotypes or Page Factory extensions.
If you're on edge, PageParts + PageFactory might approximate what  
you're trying to do. PageParts would store those extra fields as  
parts, not in another association; so it might not be exactly what  
you're looking for. But right out of the box, PP + PF would let you do  
this:

 class EventPageFactory  PageFactory::Base
 part Start Date, :page_part_type = DatePagePart
 part Organizer, :content = Default value goes here
 end

I'm putting together a screencast on the two extensions, it should be  
posted in a few days.

j
___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org


Re: [Radiant] Custom Fields

2010-04-28 Thread Marshal Linfoot
Thanks Josh. I'll take a closer look at PageParts. I was manually creating
page parts with this information before, so this would be an improvement.

Looking forward to the screencasts.


 If you're on edge, PageParts + PageFactory might approximate what
 you're trying to do. PageParts would store those extra fields as
 parts, not in another association; so it might not be exactly what
 you're looking for. But right out of the box, PP + PF would let you do
 this:

 class EventPageFactory  PageFactory::Base
 part Start Date, :page_part_type = DatePagePart
 part Organizer, :content = Default value goes here
 end

 I'm putting together a screencast on the two extensions, it should be
 posted in a few days.

 j
 ___
 Radiant mailing list
 Post: Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
 Radiant: http://radiantcms.org
 Extensions: http://ext.radiantcms.org




-- 
marshal
___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org


[Radiant] problem with page_attachment

2010-04-28 Thread Horst Rischbode
Hello,

trying to get started with page_attachments extension. I'm running 
Radiant 0.8.1.

Installation was successful. rake tasks migrate  update ran without any 
errors. In Database, I have a new table page_attachments and under each 
page in Admin-Interface, I get the expected page attachment stuff. So 
far so good...

But if I click the '+' sign, nothing happens. This is the case for all 
page types. Tried to reorder the loading of extensions via 
environment.rb. Nothing changes. My development.log doesn't show any 
entry for hitting the '+' sign.

Any ideas?

Thanks
Horst
___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org


Re: [Radiant] problem with page_attachment

2010-04-28 Thread john muhl
you need the 0.8 branch

cd radiant/vendor/extensions
git clone git://github.com/radiant/radiant-page-attachments-extension.git
page_attachments
cd page_attachments
git checkout -b 0.8 radiant-0.8.0
cd ../../..
rake radiant:extensions:page_attachments:migrate
rake radiant:extensions:page_attachments:update

On Wed, Apr 28, 2010 at 2:34 PM, Horst Rischbode ho...@horibo.de wrote:
 Hello,

 trying to get started with page_attachments extension. I'm running
 Radiant 0.8.1.

 Installation was successful. rake tasks migrate  update ran without any
 errors. In Database, I have a new table page_attachments and under each
 page in Admin-Interface, I get the expected page attachment stuff. So
 far so good...

 But if I click the '+' sign, nothing happens. This is the case for all
 page types. Tried to reorder the loading of extensions via
 environment.rb. Nothing changes. My development.log doesn't show any
 entry for hitting the '+' sign.

 Any ideas?

 Thanks
 Horst
 ___
 Radiant mailing list
 Post: Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
 Radiant: http://radiantcms.org
 Extensions: http://ext.radiantcms.org

___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org


[Radiant] page factory css

2010-04-28 Thread john muhl
i installed the page factory extension and ran the migrate/update
tasks but the page_factory.css is not being included in the admin ui.
i see the public/stylesheets/admin/page_factory.css file but it's not
being added to the @stylesheets array while other css (e.g.
page_attachments.css) are included as expected. this is on the current
master.

any hints?
___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org


Re: [Radiant] page factory css

2010-04-28 Thread Josh French
 oops. i meant that it's not included on the factory pages but is
 included on the main page list.
That's correct. The CSS only styles the popup on the pages index, so I didn't 
include it on the new/edit screens.

I should have time tomorrow to look at the other issues you filed on Github. 
Thanks for the feedback!

j
___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org


Re: [Radiant] page factory css

2010-04-28 Thread john muhl
On Wed, Apr 28, 2010 at 10:18 PM, Josh French j...@digitalpulp.com wrote:
 oops. i meant that it's not included on the factory pages but is
 included on the main page list.
 That's correct. The CSS only styles the popup on the pages index, so I didn't 
 include it on the new/edit screens.

that explains that :)

i was trying to apply some styling to the descriptions to set them off
from the other stuff in the tab area i guess it should be easy enough
to add in overrides.css

 I should have time tomorrow to look at the other issues you filed on Github. 
 Thanks for the feedback!

 j
 ___
 Radiant mailing list
 Post: Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
 Radiant: http://radiantcms.org
 Extensions: http://ext.radiantcms.org

___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org