1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how can i add custom textbox in xenforo admin

Discussion in 'XenForo Development Discussions' started by arpitjain, Jul 22, 2013.

  1. arpitjain

    arpitjain Member

    how can i add custom textbox in xenforo admin .....in admin >option > resources manager >after resource per page i want to add a text box....and want its value at category.php and resource.php of resource manager
    models...i am trying to edit option_lst admin template
     
  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    If you are in debug mode, navigate to the option group and click "+ Add Option".
     
  3. arpitjain

    arpitjain Member

    thanks ........i have new text box in my resource manager option ...now how can i insert its value in database table when i save my resource manager options...do i have to create new column in table(xf_Resources) and edit xenResource >model >resources.php
     
  4. Jeremy

    Jeremy XenForo Moderator Staff Member

    Its an option, its already saved to the database and accessed via XenForo_Application::get('options')->yourOption;
     
  5. arpitjain

    arpitjain Member

    how can i add resource view counts a resource has gotten on my page right sidebar...please reply....
     

Share This Page