You should only need to extend the base controller you probably have
an extra sales view in your views/layouts folder.  Delete that and it
will render correct after only extending the base controller.

On Jan 6, 11:10 am, Hexmare <[email protected]> wrote:
> Ok Issue Solved, I had to add the Layout , AND extend the
> basecontoller, if I just extended the base controller, nothing would
> happen , if I just added the Layout, I would get an error. Did Both ,
> and all is good... Thanks for your help and Time
>
> On Jan 6, 10:12 am, Hexmare <[email protected]> wrote:
>
> > yes that is where sales controller is , I am not receiving any errors,
> > It is just like you said, it is not using the layout of CE , no
> > header , footer, sidebar , navbar or anything. and inheriting the
> > basecontroller is not fixing the issue. I looked through the plugin
> > trying to see the layout file to specify , and I did not see it in any
> > of the controllers that are default with CE , or in the BaseController
> > class.
>
> > The thing that is irritating me is that I have probably just missed
> > one line of code.
>
> > On Jan 6, 10:02 am, "Bruno Bornsztein" <[email protected]>
> > wrote:
>
> > > SalesController should be in your local folder, BaseController is in the
> > > community_engine plugin folder. A screenshot, or stack trace (if you're
> > > getting an error) would be helpful.
>
> > > On Tue, Jan 6, 2009 at 9:00 AM, Hexmare <[email protected]> wrote:
>
> > > > well I do have this as the first line of the controller
>
> > > > class SalesController < BaseController
>
> > > > And that controller is placed in the local folder , not the same
> > > > folder of the Plugin, Is this correct ?
>
> > > > Thanks in advance
>
> > > > On Jan 6, 9:50 am, "Bruno Bornsztein" <[email protected]>
> > > > wrote:
> > > > > Sounds like you mean that it doesn't use CE's application layout? If
> > > > that's
> > > > > the case, you just need to specify in your controllers which layout 
> > > > > you
> > > > want
> > > > > to use. Alternatively, you can have your controllers inherit from CE's
> > > > > BaseController.
>
> > > > > On Tue, Jan 6, 2009 at 8:20 AM, Hexmare <[email protected]> 
> > > > > wrote:
>
> > > > > > I know this is something stupid , and I have scanned through the 
> > > > > > group
> > > > > > and have not seen any answers to this particular issue.
> > > > > > I have created my own MVC components, and provided links in the top
> > > > > > nav bar. When these links are clicked the View opens , however it 
> > > > > > does
> > > > > > not open within CE , it completely replaces CE. Is there something
> > > > > > that I am missing?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/communityengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to