using modules in front end

edited March 2014 in Modules
Hi,

my compliments for fuelcms, it's really an interesting framework.

My question is:

Is there a way to use the base_module features outside the admin area ?

I need to register some people and give them permission for a reserved area.
In that reserved area they should manage a classic crud on some tables.

Is that possible with fuelcms ?

Thanks

Comments

  • edited 8:27PM
    The basic CRUD controller logic would need to be replicated into a new controller since simple modules use fuel/modules/fuel/controllers/module.php file which requires a user to be authenticated and does some CMS specific things. However, you can use the model itself anywhere and doesn't require you to be in the CMS to use it. You could even just extend MY_Model and the Data_record classes instead of the base_module class.
  • edited 8:27PM
    Hi,

    Thanks for the prompt answer.
    The crud management is really useful, may be i'll use the base_module class as i need to have user authenticated.
    What i need is to have a separate area where the users can access and manage the data.

    Is it possible to have a different theme layout for that users ? i would like to have the layout very similar to the fronted.

    thanks again
  • edited 8:27PM
    Unfortunately, FUEL doesn't have themes for the backend so your best bet would be to create your own controller I think to manage your specific front end requirements and the necessary CRUD functions.
  • edited 8:27PM
    Thanks for you support, i'll do some tests
Sign In or Register to comment.