pconkie 638 Posted April 1, 2019 Author Share Posted April 1, 2019 On 29/03/2019 at 11:39, adamw said: Right, so I've had a look at the code and it seems that to open a site at a certain page you need to do this: [yourfrogurl]/app/os?site=[site_uuid]&page=[page_external_link] So, the external link for a page is basically the page name with the spaces replaced by dashes - for example: "page 1" will become "page-1" How you get this page external link easily I don't know, but you could try using the page picker widget preference type and seeing what that returns for you, for example: page: { type: 'pagepicker', label: 'label.page_url', defaultValue: JSON.stringify({ page_uuid: '', site_uuid: '' }) } and then using the page uuid that the pref gives you and then making a call to get the page object, which may have the external link name in it. Sites.Models.Pages.findOne({page_uuid: page.page_uuid}).done(function(data){ //do something with data here }); No idea if that will work, but would be worth a try. If I get a spare moment (ahahahahahahaha) I'll have a look. Thanks @adamw Must be bug fixing time if a new frog update is about to drop! This approach seems to cause frog to reload which is a bit weird and you lose the sites already open (including the one with the picture series). Is there a way to modify this code that opens a site? Frog.Model.api('sites.getByUuid', { uuid: uuid }).done(function(resp) { FrogOS.openSite({ site: resp.data.link, page: resp.pages[page-uuid] }); }); If not, what about using just the code to open the site with a timeout to trigger that site's menu changelocation event? Quote Link to post Share on other sites
pconkie 638 Posted April 1, 2019 Author Share Posted April 1, 2019 On 29/03/2019 at 11:55, ADT said: Conkie's Widget in action already.... No more blank pages with long sub menus...... (Well once i get round to replacing them all)..... 😎 Nice! Quote Link to post Share on other sites
gbligh 261 Posted April 3, 2019 Share Posted April 3, 2019 (edited) Started to use this today but it's quite slow to navigate to the page linked. Is this normal? @pconkie Edited April 3, 2019 by gbligh Quote Link to post Share on other sites
ADT 1,273 Posted April 3, 2019 Share Posted April 3, 2019 4 minutes ago, gbligh said: Started to use this today but it's quite slow to navigate to the page linked. Is this normal? @pconkie When you say slow....... how slow??? Its working ok here!! Quote Link to post Share on other sites
pconkie 638 Posted April 3, 2019 Author Share Posted April 3, 2019 I've not noticed any delay Quote Link to post Share on other sites
gbligh 261 Posted April 3, 2019 Share Posted April 3, 2019 Here is a video. You'll see the mouse clicks in the video. It lags when I choose 'Room Booking Request'. I've only set up 1 image now to test. picture_series_delay.mov Quote Link to post Share on other sites
ADT 1,273 Posted April 3, 2019 Share Posted April 3, 2019 20 minutes ago, gbligh said: Here is a video. You'll see the mouse clicks in the video. It lags when I choose 'Room Booking Request'. I've only set up 1 image now to test. picture_series_delay.mov That doesn't look good... have you tried turning it on and off again??? Quote Link to post Share on other sites
gbligh 261 Posted April 3, 2019 Share Posted April 3, 2019 @adamw @Graham Quince any ideas why this might be so slow? Quote Link to post Share on other sites
pconkie 638 Posted April 3, 2019 Author Share Posted April 3, 2019 It uses the same code as the ‘menu’ frog code widget. Do you have this one downloaded? Just wondering if you added this to that page - do you get the same delay? Second thought is perhaps it’s something about the new crystal theme - try changing theme for a minute and see if the delay persists. I’ll look at the code again tomorrow to see if anything else comes to light Quote Link to post Share on other sites
gbligh 261 Posted April 4, 2019 Share Posted April 4, 2019 The 'menu' frog code widget seems to work fine which is odd. I changed the theme too and it's the same. Quote Link to post Share on other sites
gbligh 261 Posted April 20, 2019 Share Posted April 20, 2019 Wonder if the speed issues have been identified yet? Or is it just me Quote Link to post Share on other sites
gbligh 261 Posted July 15, 2019 Share Posted July 15, 2019 @pconkie - it turns out is was running slow due to the size of the size .... Did you every figure out if the widget could open another Frog site? Quote Link to post Share on other sites
ADT 1,273 Posted January 27, 2020 Share Posted January 27, 2020 Anyone else noticed you can't change the last picture on a 6 row??? When i click on replace picture i get nothing??? @pconkie Quote Link to post Share on other sites
gbligh 261 Posted January 27, 2020 Share Posted January 27, 2020 8 hours ago, ADT said: Anyone else noticed you can't change the last picture on a 6 row??? When i click on replace picture i get nothing??? @pconkie I'm getting the same Quote Link to post Share on other sites
ADT 1,273 Posted February 3, 2020 Share Posted February 3, 2020 @pconkiemust be AWOL!! Quote Link to post Share on other sites
pconkie 638 Posted February 3, 2020 Author Share Posted February 3, 2020 Not AWOL, just OFSTED. Anyway frogcode is bust at the moment so waiting for that fix first! Quote Link to post Share on other sites
ADT 1,273 Posted February 4, 2020 Share Posted February 4, 2020 14 hours ago, pconkie said: Not AWOL, just OFSTED. Anyway frogcode is bust at the moment so waiting for that fix first! Tell them to do one.... Your Frog Family is more important..... but yeah the lack of Frog code won't help!! Good luck..... Well done........... delete where appropriate!! 😀 Quote Link to post Share on other sites
ADT 1,273 Posted February 12, 2020 Share Posted February 12, 2020 On 03/02/2020 at 18:03, pconkie said: Not AWOL, just OFSTED. Anyway frogcode is bust at the moment so waiting for that fix first! How did OFSTED go? Quote Link to post Share on other sites
ADT 1,273 Posted March 25, 2020 Share Posted March 25, 2020 Erm did you ever get round to fixing this one.... and how did your OFSTED go? @pconkie Quote Link to post Share on other sites
pconkie 638 Posted April 7, 2020 Author Share Posted April 7, 2020 @ADT @gbligh Sorry for the delay - simple fix - i'd just forgotten to actually make that button do anything! Works now! @Graham Quince can you update the widget? Version 7 on my box is latest. Thanks! 1 Quote Link to post Share on other sites
Graham Quince 622 Posted April 7, 2020 Share Posted April 7, 2020 26 minutes ago, pconkie said: @ADT @gbligh Sorry for the delay - simple fix - i'd just forgotten to actually make that button do anything! Works now! @Graham Quince can you update the widget? Version 7 on my box is latest. Thanks! Thank you. I'e grabbed it and sent it to @adamw, but I think he's pretty busy at the moment. Quote Link to post Share on other sites
ADT 1,273 Posted April 7, 2020 Share Posted April 7, 2020 1 hour ago, Graham Quince said: Thank you. I'e grabbed it and sent it to @adamw, but I think he's pretty busy at the moment. whats @adamw up to.... playing games on his xbox in his pants??? 🤪😜🤪 Quote Link to post Share on other sites
Graham Quince 622 Posted April 7, 2020 Share Posted April 7, 2020 10 minutes ago, ADT said: whats @adamw up to.... playing games on his xbox in his pants??? 🤪😜🤪 Update is live now. I've put some special code in to prevent @ADT accessing it though 😝 2 Quote Link to post Share on other sites
ADT 1,273 Posted April 7, 2020 Share Posted April 7, 2020 41 minutes ago, Graham Quince said: Update is live now. I've put some special code in to prevent @ADT accessing it though 😝 Was it the comment or the image in your head???? 😂😂😂 1 Quote Link to post Share on other sites
adamw 223 Posted April 8, 2020 Share Posted April 8, 2020 20 hours ago, ADT said: whats @adamw up to.... playing games on his xbox in his pants??? 🤪😜🤪 I'll have you know that I'm a Sony Fanboi. PLAYSTATION ALL THE WAY! Quote Link to post Share on other sites