Adding to Toolbar and Dashboard
Permalink
I am adding a customised version of clickheathttp://www.labsmedia.com/clickheat... to concrete as an addon and would like to add a "clickheat" button to the "non_edit" mode toolbar. This button will show admins where on that page users are clicking and most often. This button is also only to appear if the "clickheat" block has been added to that page. I can add the button by overriding the appropriate php and js files, but obviously this is not ideal for upgrades or for other users to utilise the block. Is there someway I can add this button to the toolbar without overriding the default files?
Also I am trying to add a more detailed statistic page to the dashboard. can I also add a button the dashboard menu without overriding the default files?
Also I am trying to add a more detailed statistic page to the dashboard. can I also add a button the dashboard menu without overriding the default files?
Bugger. Thinking about it, it looks like to ease upgrades and usability I will need to create a script that runs during install(). The script would duplicate the appropriate files, search for the lines in which to add my additional code, modify it and then save them to the users directory, while correcting any relative links that may break.
Do you believe this would work? And when someone upgrades do they need to reinstall the "add-ons"? As this would reactivate the install() function. or should I be looking at a different way to run my modifying script?
thanks
Travis
Do you believe this would work? And when someone upgrades do they need to reinstall the "add-ons"? As this would reactivate the install() function. or should I be looking at a different way to run my modifying script?
thanks
Travis
TravisN hows this coming along i'd be interested in trying it out, im still learning how to code from a cold start, but i have no problems diggin about in whatever files are needed and if it means re-doing it all again by hand after an update i have no problem with that.
i'd love to give this a go and help however i can.
i'd love to give this a go and help however i can.
TravisN hows this coming along i'd be interested in trying it out, im still learning how to code from a cold start, but i have no problems diggin about in whatever files are needed and if it means re-doing it all again by hand after an update i have no problem with that.
i'd love to give this a go and help however i can.
i'd love to give this a go and help however i can.
TravisN hows this coming along i'd be interested in trying it out, im still learning how to code from a cold start, but i have no problems diggin about in whatever files are needed and if it means re-doing it all again by hand after an update i have no problem with that.
i'd love to give this a go and help however i can.
i'd love to give this a go and help however i can.
TravisN hows this coming along i'd be interested in trying it out, im still learning how to code from a cold start, but i have no problems diggin about in whatever files are needed and if it means re-doing it all again by hand after an update i have no problem with that.
i'd love to give this a go and help however i can.
damit apologies everyone. i found this thread via search and didnt realise if i hit the back button and it said 'resend data' it was actually reposting my comment. I was just trying to get back to my search list if anyone can delete the extraeneous posts I would appreciate it.
i'd love to give this a go and help however i can.
damit apologies everyone. i found this thread via search and didnt realise if i hit the back button and it said 'resend data' it was actually reposting my comment. I was just trying to get back to my search list if anyone can delete the extraeneous posts I would appreciate it.
good question. sadly no.
if its any consolation, you've got months between major revision after 5.2 - and you probably won't have to change a lot of files to hack it as you're planning.
-frz