Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • edhen Friend
    #166910

    Hi, I’m relatively new too the J3 Framework. I recently was having problems with customs params saving etc. So i decided to go an extra step. I made a little tool that chages colors etc via javascript inside a form which processes via php_self. In the index.php template file, I check if the form was submitted and update a custom ini file. This works fine however I created a class inside my template directory that will parse the ini and return the values etc. I can get the class if its imported on the same block, otherwise it will not recognise the class even if the class was initiated in index.php. How do i go about having my values passing through the whole template including all blocks without having to import the file each time? thanks…

    edhen Friend
    #403980

    Anyone?….

    edhen Friend
    #404063

    I guess my initial question is, How can I universally access a class without having too import it again? either from joomla or the framework without changing any core files and only accessed from the template path.

    chavan Friend
    #404282

    HI edhen

    I replied a your question in regard to params via http://www.joomlart.com/forums/topic/add-custom-paramaters/

    You should read joomla docs (http://docs.joomla.org/Creating_custom_template_parameter_types) to know create a custom elements.

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  chavan 13 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum