Jump to content


New Button near "Add " button on the top

bootsrap

  • Please log in to reply
2 replies to this topic

#1 manus25123

manus25123

    Newbie

  • Members
  • Pip
  • 4 posts
  • Locationkalpetta, Kerala, INDIA

Posted 27 February 2016 - 06:08 AM

Hi Team,

 

I have purchased the bootstrap theme and successfully using the same.

 

I have to add a new simple Button say "Show Core list" near to "Add " button at the top. Is there a function or API to do this?

 

On clicking this new button, it will list the same page but with a where condition attached to it.

 

I have achieved this by directly editing the list_template.php and list_tbody.php. But i hope this is not the way, as we need to use this template across different modules.

 

So please let me know is there any functions to add new button on the page.

Attached Thumbnails

  • add_new_button.png

MJ


#2 Amit Shah

Amit Shah

    grocery CRUD Master

  • Advanced Member
  • PipPipPip
  • 1,192 posts
  • LocationMumbai, India

Posted 29 February 2016 - 09:18 AM

You can refer to the solution for the same out here ---

 

http://grocerycrud.a...d-base-library/



#3 manus25123

manus25123

    Newbie

  • Members
  • Pip
  • 4 posts
  • Locationkalpetta, Kerala, INDIA

Posted 01 March 2016 - 09:57 AM

Hi Amit,

 

Wonderful !!  :)

 

Even though i have modified the template files and library files in my way to achieve this, i feel what you have done is more comfortable while carrying forward to other modules. Therefore I have used your codes and was great. 

 

Thanks for addressing the same.

 

Note : I have modified your html files, added one for parameter to the form_buttons function to cater my requirement. 


MJ






Also tagged with one or more of these keywords: bootsrap

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users