I do not want to edit any files that can be overwritten, and as my style goes: "keep it as simple as possible!"
Here is how I do it:
First create a table (fake one) with just one field id (not hidden), no need to add anything else to this table.
I call it `goto` table since I am using it to redirect.
Make a group for the dashboard and place it in the first place.
Add just this table to it.
Go to `goto` hook file function goto_init and add this line:
Code: Select all
header("location: your_custom_link.php");
Now, go to links-home.php (hooks folder)
add all your custom links, if you are stuck, there are a lot of examples here on the forum.
final step add this link to footer-extras.php (again hooks folder)
Code: Select all
<script>
$j(function() {
$j('.custom_links').prev().first().append($j('.custom_links div:first'));
})
</script>
This way all your custom links will be FIRST thing and noting will be overwritten when regenerating!
If you have a simpler way, please let me know.
Happy coding