0
Welcome Guest! Login
0 items Join Now

Non MVC component

  • Non MVC component

    Posted 13 years 2 months ago
    • If this is not the right place, or even the right site for the question, can someone give me a pointer to a good place where I can get a useful response.

      I have been on J1.5 for a while and many versions before that. I ultimately decided I wanted an abstraction from doing everything in Joomla so that if I ever want to go in another direction or use my code somewhere else, it is not loaded with joomla specific stuff. To do that, I basically just create components that load up the user data, the database handle, and an object I create in a separate code directory. Effectively, this just loads my components into joomla and lets my own code do all of the logic after that. This has worked quite nicely for a long time, at least from my perspective.

      With 2.5 however, I can't get the components to show up in the list so that I can add them to the menu. I think everything else about it will work, but I just don't know how to get my component to show up on the menu list. I tried using the stock files from here -- docs.joomla.org/Developing_a_Model-View-...Joomla!2.5_-_Part_01 . Indeed this produces exactly my situation. A working component but not one I can create as a menu item. Am I missing something simple or am I forced to go with the whole MVC structure just to get a simple menu item added? I REALLY don't want to rewrite all of my code and imbed it with joomla everything just for this.

      If anyone could point me to what I am missing I would be grateful.
  • Re: Non MVC component

    Posted 13 years 2 months ago
    • I was also wondering, if I used the type of external_link and pointed the link to the name of the component, would that do the trick? Are there any unexpected issues anyone can forsee?

Time to create page: 0.146 seconds