Jacob,

You can redefine any view template in your extension without modifying 
the core.  So if you wanted to override the page edit interface, just 
copy and modify app/views/admin/page/edit.rhtml to 
vendor/extensions/my_extension/app/views/admin/page/edit.rhtml.  That 
way you can keep your modifications separate from the core functionality.

Sean

> thanks Adam
>
>
> I think things may be messed up in my case because I'm trying to add 
> functionality to the page edit screen.
>
> I did this by directly editing page/edit.rhtml (in core radiant) and 
> adding:
>
> <%= render :partial => 'attributes' %>
>
>
> But that partial exists only in my extension.
>
> This works, but I get the exception the second time _attributes.rhtml is 
> loaded (via a page edit).
>
>
> I was thinking this would just be a temporary hack to make sure things 
> work, and then later I would figure out how to enable the registering of 
> a tab with the Page Edit interface just like you can register a new tab 
> for the overall admin interface.
>
> So, so far I'm stuck here, but maybe I'm taking the wrong approach to 
> modify the page edit screen.  Any other suggestions?
>
> thanks,
> Jacob
>
>   

_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to