Author Topic: Custom Button  (Read 864 times)

rbaybayan

  • Full Member
  • ***
  • Posts: 54
Custom Button
« on: January 28, 2010, 11:58:14 pm »
Hi,

I created a special button and this will be specific per each books. Normally I will have to edit the navigationbar to add-in the function. I want to save the custom asul file to a specific page book to ensure that it always goes to the specific book. My purpose is to have a common library for all the books and any custom script or asul will be save within the respective book.

Thanks,

ruel

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1985
  • MegaZine3 Developer
    • MegaZine3
Re: Custom Button
« Reply #1 on: February 01, 2010, 07:23:07 pm »
Sorry, but could you elaborate? I don't understand what the problem is and what exactly it is you want to do.
For the Snark was a Boojum, you see.

Before you ask a question
          After you get an answer
  • please document your problem with the answer in the Project Wiki. (e.g. in the FAQs)
  • help others out if you can, by answering their questions on the forum.

rbaybayan

  • Full Member
  • ***
  • Posts: 54
Re: Custom Button
« Reply #2 on: February 03, 2010, 08:37:13 am »

I did modify the navigationalBar button and other related asul files and I wanted to have a separate file for m custom asul properties.

How can I define the specific asul per each customized button?

Thanks,

Ruel

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1985
  • MegaZine3 Developer
    • MegaZine3
Re: Custom Button
« Reply #3 on: February 03, 2010, 10:16:49 pm »
In an extra file? That's not possible I'm afraid, you'll have to put all the definitions in the navgiationbar.asul file (or whichever plugin you edit). If your server supports scripting, e.g. using PHP, you could make all the ASUL files .php files, though, and then just include additional ones using the PHP include() functionality or analog functionality in other scripting languages.
For the Snark was a Boojum, you see.

Before you ask a question
          After you get an answer
  • please document your problem with the answer in the Project Wiki. (e.g. in the FAQs)
  • help others out if you can, by answering their questions on the forum.

rbaybayan

  • Full Member
  • ***
  • Posts: 54
Re: Custom Button
« Reply #4 on: February 10, 2010, 11:19:26 pm »
thanks for your reply....