[eluser]Phil Sturgeon[/eluser]
[quote author="Nurdin Bekkeldiev" date="1271357553"]Actually I want to try to make widget of login and user details, in details are the links to change the profile info, adding news. Should I use search widget for my module differently or should I use it inside view in my module?
Now I'm making Hotels reservation and Jobs/Recruit modules for two different companies.
How we can use Views of two different modules in one place?
Thanks a lot,
Waiting for reply.[/quote]
A widget should just be an intelligent display fragment. Think of it as a view file with some accompanied PHP, so if you want to handle form submissions and stuff like that you should probably post to a module.
Code:
$this->load->view('modulename/viewfile');