There are a few decisions you'll need to make before implementing this to help you to be clear on how the system should work.
1. Do you want the link to appear all the time or only if the user has previously generated a backup?
2. Do you want the link to generate the backup on the spot or to just link to cached file that was previously generated.
A custom action is used when you want to create a new page or specified action - not when you just want to embed a little snippet into the template for the entire application.
So if you just want to add a link, you can do so by just implementing a block in the application delegate class. Check out some of the documentation in the wiki on customizing the user interface for details on this. In this case you'd probably want to implement the 'after_personal_tools' block:
- Code: Select all
function block__after_personal_tools(){
echo "Put your link here";
}
You could also use actions to insert links in various places in the application. Best to just work your way step by step through the tutorials for actions and ask questions as you get stuck on that front.