Hi all, Are Engines really any good for distribution of functionality including views? That is I have an engine I downloaded and have working, however the first thing I want to do is alter the view pages in terms of how it lays thiings out. As soon as I do this however (as I do this in the engine install area under plugins) I assume I''m breaking the concept for upgrade. a) So assuming you''re the type that wants to tailor/adjust the views is Engines really a good way to handle this? b) If one is going to adjust an Engine is it potentially better just to import it directly into your own applicaiton working area and acknowledge there''s been a lot of view changes? c) Or is it best to leave it in the vendor area then at least it could be a re-usable engine from the point of view of your own applications (assuming the view layout changes you made would be those which you''d be happy to have across all your applications) Thanks -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Jason Roelofs
2006-Aug-28 21:32 UTC
Re: customising Engines views without breaking update???
I was under the impression that Engines were perfect for this kind of thing, mainly in that to change the files an Engine uses, you just create your own in your apps app/views/engine_name. The engine should pick up those files and use them instead of its own. Jason On 8/28/06, Greg Hauptmann <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > > Hi all, > > Are Engines really any good for distribution of functionality including > views? > > That is I have an engine I downloaded and have working, however the > first thing I want to do is alter the view pages in terms of how it lays > thiings out. As soon as I do this however (as I do this in the engine > install area under plugins) I assume I''m breaking the concept for > upgrade. > > a) So assuming you''re the type that wants to tailor/adjust the views is > Engines really a good way to handle this? > > b) If one is going to adjust an Engine is it potentially better just to > import it directly into your own applicaiton working area and > acknowledge there''s been a lot of view changes? > > c) Or is it best to leave it in the vendor area then at least it could > be a re-usable engine from the point of view of your own applications > (assuming the view layout changes you made would be those which you''d be > happy to have across all your applications) > > Thanks > > > > > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
oh...must have missed this...sounds good for a small number of tweaks. What do you think however if you want to tweak just about every view (i.e. *.rhtml) from the engine to give it the look and feel you want? On 8/29/06, Jason Roelofs <jameskilton-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I was under the impression that Engines were perfect for this kind of > thing, mainly in that to change the files an Engine uses, you just create > your own in your apps app/views/engine_name. The engine should pick up those > files and use them instead of its own. > > Jason > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Zachary Holt
2006-Aug-28 22:49 UTC
Re: customising Engines views without breaking update???
Greg, You might ask this on the Engines mailing list. That said, if it''s really just "tweaks" that you want, can you get them by changing some of the engine''s CSS definitions? On Aug 28, 2006, at 3:17 PM, Greg H wrote:> oh...must have missed this...sounds good for a small number of > tweaks. What do you think however if you want to tweak just about > every view (i.e. *.rhtml) from the engine to give it the look and > feel you want? > > On 8/29/06, Jason Roelofs <jameskilton-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > I was under the impression that Engines were perfect for this kind > of thing, mainly in that to change the files an Engine uses, you > just create your own in your apps app/views/engine_name. The engine > should pick up those files and use them instead of its own. > > Jason--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
good points - actually I''m not sure how much I want to tweak things, but just I don''t really like the layout at the moment - I should look more closely at CSS as a possibility agreed :) On 8/29/06, Zachary Holt <z@wzph.com> wrote:> > Greg, > You might ask this on the Engines mailing list. > > That said, if it''s really just "tweaks" that you want, can you get them by > changing some of the engine''s CSS definitions? > > > On Aug 28, 2006, at 3:17 PM, Greg H wrote: > > oh...must have missed this > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---