Welcome Guest, Not a member yet? Register   Sign In
Entity class not working on 2 module
#3

(10-15-2020, 11:27 PM)InsiteFX Wrote: Your not giving enough information like what is site a module?

If your calling a Site Module then you need to tell it where the Entity is.

use app/Modules/Acp/Entities/entityName;

as i mention in my structure, acp is a module stand for admin panel and site is a module stand for frontend

in both controller acp/post and site/post i use just 1 model: Modules\Acp\Models\PostModel; ( as you can see in the 2,3 picture )

and there are 2 different result, the result in Acp/post controller give me the entity object but the result in Site/post controller return the normal object
Reply


Messages In This Thread
Entity class not working on 2 module - by tmtuan - 10-15-2020, 09:00 PM
RE: Entity class not working on 2 module - by tmtuan - 10-16-2020, 12:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB