Page 1 of 1

Sharing frontend and admin functionality

Posted: Sat Mar 22, 2008 2:26 pm
by viller
Let's say a component's frontend and admin need to access the same data. You create an abstraction function for it and you want to include it in both the frontend and admin. How should I do this? Define the function in frontend and include it in admin or define it in a totally separate file available to both?

EDIT: another question. Is there a way to include something in the admin menu without making an install file?

Re: Sharing frontend and admin functionality

Posted: Sun Mar 23, 2008 12:50 pm
by viller
Another problem, I made an install file after all but after a successful install I still can't add my component to the menu.