My Stuff
Comments
-
When you go in to Setup -> Site Builder -> Preview Web Site do you see any sites listed there?
-
The last bit of the puzzle for me is communicating with the server. (the following is some simple code just to try and understand how it all works.) in my custom .ss I have : switch (method) { case 'GET': // Sends the response of YVTest.get(id) Application.sendContent(YVTest.get(id)); break; In Models.js I have :…
-
Thanks for replying tbuffington. It's incredibly frustrating trying to work through the single pdf I've found which is 240+ pages trying to understand how to do what is essentially a very basic thing so I appreciate any kind of response on the forums. It doesn't help when it says things like "the standard 'model' way of…
-
Hi Ravi, Do you mean similar to what you see here: http://www.leisureoutlet.com/caravans-and-motorhomes/Sunstore-Awnings_2/ You'll note it changes the price based on the size you choose? Cheers, Neil
-
Hmm, ok I created 4 files : YVTest.js TVTest.Model.js YVTest.Views.js YVTest.Router.js I also created a folder in the templates simply named "yv" and a template in there. The folder is correctly defined and the template has a yv_test_tmpl tag. I have added 'YVTest' to the Application.Configuration.modules list. The new…
-
Yes you can add a menu item there I've done exactly that but as a heads up be prepared to create a template (add in to the profile folder) , extend the Models.js, work on the Profile.Views.js file too. (probably not profile.ss). I've found that adding my own version of these files as a stand alone, bespoke piece of work, I…
-
Hi Pablo, Thanks very much for taking time to reply, I'll be sending you a PM with a link to Box in a moment once I have zipped up my workspace. I was unaware of the Append / Minify option on the combiners, I understand what you are saying just not how to achieve that! :) I have been more or less camped in the console and…
-
Pablo, THAT is pretty much the info I'm after! I'm going to read it a couple more times and see if I can get my new files working with this new found information! So thank you very much. Neil
-
Thanks for the reply. Could anyone tell me, Is it possible to access a CUSTOM record through the My Account bundle? 1. I have extended the "Profile" code so that I have a new left hand menu item in My Account. 2. I have a new template with an input box and a button. 3. I've added some logic to the Profile.Views code to do…
-
Thanks tbuffington. I already did take existing files to create my own, had some issues, hoped there would be some kind of basic explanation somewhere about model / view / route files and how they hang together. I understand the code in isolation but juuuust missing some small detail that's stopping my link working and…
-
I could see my change in the files, the template still had the tag but the changes were not showing on the site. NS Support looked at this for about 2 days and took a copy of my account and confirmed the same behaviour... However it has subsequently been shown that I am updating the wrong file despite appearances. The file…
-
OK I don't know exactly why but I've resolved this by only downloading the templates I feel I will need to work with in to Eclipse. I suspect it was trying to combine a file that was going to be dynamically created such as the templates-<long number>.js. Next issue is... As a test I update header_profile_macro.txt. All I…
-
Good post, thanks MFerrrario. The problem I have is when working on any file in Eclipse it fails to upload at the point it's trying to build the combined file. Last year I worked on One Page Checkout and managed to make some fairly hefty changes to it after a lot of trial and error and I'm familiar with the file combining…
-
I've not seen this but as a starter try opening up the debug console F12 in FireFox and look at the console tab. Maybe you will see messages in there that might give you a clue as to why you're seeing this. Also whilst in there switch to the network tab and see if you see any odd messages in there if you submit the order.…
-
Thank you both for your replies, I hadn't subscribed to the thread so apologies for the late response, I do appreciate you taking time to reply. @Eric_TrueCloud I do indeed mean within NetSuite and not a Hosted Site. TBH I didn't appreciate until yesterday that you can apply code to "all records" but this may well be the…
-
Maybe I'm not fully comprehending what you're trying to achieve, but your options seem overly complicated. Why aren't you able to use JS/jQuery to make the changes you want? As long as you put your code anywhere below #div__header (or use an on ready event), you can successfully manipulate the page. I'm 100% possible with…
-
I do have another thought about applying a script to all record types and checking for the page having loaded and injecting some code... of course that's nothing like a hack right??? :D ;)
-
Have you tried this one? <meta http-equiv="X-UA-Compatible" content="IE=edge" /> Many of my issues with IE have been SSL related, having NON-encrypted content on https enabled pages causes content not be loaded resulting in styling issues or tools not working at all(Jquery). If this is the issue make sure that all content…
-
Thanks for the replies, yes indeed the centre panel in the page layout blows up badly. Forcing the page to IE8 did not work but a good suggestion, thank you. In the end I have switched it to Quirks Mode (IE5). :eek: Less than ideal but a fix for now. Curiously if you open the main https://system.na1.netsuite.com portal and…
-
In case anyone else is looking to do something similar, I have gotten reasonably far with this and wanted to share. 1. On the macro template add a button. 2. In Sites.js establish the bridge for the OnClick even. 3. Also in Sites.js gather data required, through the _nsCartModel and if necessary other areas. 4. Call the…
-
This has almost come to a dead end, I say almost as my support request has been made in to an enhancement request which will not really help at all since it's aimed at providing a method of adding a very specific 3rd party payment gateway and NOT opening up the system to allow everyone to add their gateway of choice. I've…
-
Maybe try this for troubleshooting? I hesitate to say this, it may be inbuilt to Chrome or it might be you need to add in FireBug it has been so long ago I installed Chrome I'm not sure if it comes with this but... IF you right click the page and see "inspect element" you can click on it and will see a new pane at the…
-
You may need to update your HTML to force the browser to render it in IE 5 quirks mode. You'll find the whole NetSuite experience is based on this and even some of their internal tools are not IE10 compatible and need to use this "fix". Using the DOCTYPE doesn't seem to stick you'll need to try adding in "<meta…
-
Thanks for your reply. I'm not actually trying to add GCO or PayPal to Onepage Checkout I'm trying to add GCO to the test webstore in a dev account. ;) The hope is with that in place I should be able to pick it apart and do something similar for my own finance payment method in the OnePage Checkout I'm working on for a…
-
Using Chrome : Put something in my basket. The next screen has the proceed to checkout / pay by PayPal buttons, at this point I right clicked the button and selected "inspect element". Click on the console tab. Click your PayPal button and you should see messages in your console window. HOWEVER, I went back to your site…
-
haha thanks, not putting a dampener on it for me as I'm looking to implement another 3rd party payment gateway not GCO ;) I must admit I kinda chuckled when I saw that recently too :)
-
turns out this doesn't work (for me) :- var items= order.getItems(); what I needed was: var items = order.items; then I can access internal ids with : items[x].internalid; This will suffice but there's a part of me wants to know why the method getItems(); does not work?
-
Which would be nice if I had that luxury :(
-
I figured out how to access the items, much less complicated than mucking about with methods... var order = nlapiGetWebContainer().getShoppingSession().getOrder(); var items= order.items; var myItem = items[x]; var myID = myItem.internalid;
-
I've now created a RESTlet which I'm calling from my .ss as a work around, seems daft that I have to go to such lengths but I'm sure someone will tell me a logical reason why it didn't work in the first instance... :confused: