Has anyone been successful in creating a custom control bar function to open a an image gallery and/or a web video? It seemed initially like this should be an easy task since plugins already exist for these functions, however I can not get the buttons to call the correct actions (or any actions for that matter).
I do not know much (or anything really) about coding, but by examining the extant code I was able to have new png icons display in a custom control bar - now I just need some help getting them to actually function and become useful.
Hi.. I have requested blank button functions to be added for this reason.. Not sure when this will be added to PTP V2... At the moment it would only be achievable via hand coding... Not even sure that is possible.. Never tried it.. I will give it a test for you... It should be doable....
Yes, I am getting the feeling that it is likely not possible. The coding is where I hit a wall (I am no programmer), I appreciate you looking into it & letting me know if you find anything. I may otherwise just have to come up with an alternative interface design/look.
Hi.. Custom menus are not easy... I am using some of the code from other menu features to get it to work, the issues are, they then conflict... So far I can get my custom menu buttons to work, but not with other kolor menu buttons.. I need to test it more so I have a unique code and split it away from other features... I will see if I can find an easy to use solution. I just wish Kolor had taken on board some of the requested features during the early days of development, one of which was blank menu buttons where plugins could be added. The issue was, the design brief was decided long before the VIP Room was established.. There was no consultation with users prior to the build starting.. This I feel has now led to big design issues partially with Pano specific features... There is a Feature Request thread on this forum, but.. are they really taken into consideration. I honestly believe that PTP needs to be totally reviewed.. I sure hope that PTP V3 fill the many black holes..
All feature request need to be listed and ticked off if they have merit. Then those features need to be tested to see if doable. The successful features can then be categorised into groups.
I tried to do this but mine over rides the tour so I have to find a way to make them different.. so they can live together.. It might be a case that there are two menus which is ok in my opinion.. I think the answer to many fixes would be to have sub-xml files that can be included in the main xml file.. XML plugins in many ways...
Wow, your new menu bar does a nice job getting those plugin functions working. I appreciate someone with more know how taking the time to look into this. It's far better than what I had tried to cobble together from looking at the code of the existing plugins (and realized I may have gone in over-my-head). It's too bad that this apparently overrides the standard set? I think I am settling in to eventually having the web video/gallery/website box buttons separate from the main control bar - though floating icons don't always seem to re-size/re-position appropriately on smaller screens. But a second bar would be better than these floating icons.
A blank menu/control bar button to interact with any of their plugins would have been a perfect feature to include with Kolor's whole 'plugin' setup, and I'll certainly put it up on the feature requests section if it's not already. It seems like a highly useful feature to leave out (especially for a product that seems aimed more at non-programmers).
There is an other option and that would be just to add button icons next to the menu... That is easy to achieve. You can put a background image there too, make it all look like a menu.. I will try that tomorrow... There would be restriction like they would not be able to hide..
I tried adding two buttons to the menu and extending the menu background but its not a solution.. In full screen they get left behind since they are not part of the menu... The buttons also do not remain with the menu when resizing.. So back to the drawing board..
This is my xml file for the skin... The red marked areas relate to the menu buttons.. I have extend the menu to 100 marked in red..
All you need to do is add a gallery and a website box with the menu.. Then take reference to my XY positions.. This really is not the best option since the buttons change position depending on the size of the browser.. I need to work out how to add a sub menu xml which will really mean having two menus..
I have settled for using 'simple buttons' beside the menu, since including them within the bar seems overly difficult to code. To handle the buttons floating on the screen I have just set the control bar background alpha to zero and included a footer along the entire bottom of the tour - so when the button icons move/re-size horizontally they still appear to be part of the control menu set. I guess this will work for now.