Jump to content


  • Posts

  • Joined

  • Last visited

Profile Information

  • First Name
  • Last Name

jellyMan's Achievements


Newbie (1/14)




Community Answers

  1. Yeh ive had a look in the docs theres not much there to help to be honest... getting a little frustrated now
  2. No there isn't a configuration page for my module... My module is at the very early stages and it's my first one so I may be missing a lot out... but for now all im trying to achieve is this... I have a new section on my product editing page called "RVL Videos".... i've got that loading in and displaying a simple form for that section. The confirm just consists of a simple text field and a submit button.... On submit I want to run my storeVideo() method thats in my module and the field input to the database. I havent registered it as an admin module and there is no configuration page. Surely generating the url for the ajax request should be more simple than this - i dont get it.
  3. Ok - so trying this way just tells me that a method of module cannot be found I've got 'ajax=true&configure=rvlvideos&action=storevideo'
  4. I'm just wanting to reach a method on my module class from the product options page with ajax... I don't understand how the urls work to be able to get there
  5. Whats my modules configuration page link? In my view ive got some jquery to send an ajax request $(document).on('click', '#ajax_add_video', function(e) { e.preventDefault(); var product_id = $('input[name=id_product]').val(); var embed_code = $('#add_video').val(); $.ajax({ type: 'POST', url: '/modules/rvlvideos/rvlvideos.php&ajax=1&action=storevideo', data: { product_id: product_id, embed_code: embed_code }, dataType: 'json', success: function(json) { console.log(json); } }) return false; }); Then in my module controller, /modules/rvlvideos/rvlvideos.php ive got an ajaxProcessStoreVideo() method public function ajaxProcessStoreVideo() { return 'GOT TO MY CLASS'; } But when I click my #ajax_add_video button - my ajax response is a 404 page not found error....
  6. Great stuff! So now i've done that, id like to save some info from my content tab into the database via ajax. Where can I learn about what url to send my ajax request to?
  7. Is there a way to add a new section to a products config page? See screenshot.
  8. I want to have one page checkout option, but also have a page that displays the users shopping cart. How can this be achieved?
  9. I'm running a centos6 vm with apache2 on a windows 10 host machine. Doesn't have a dedicated core. No heavy processes running. Like I said, i was intending on keeping a lot of the functionality that currently gets loaded in through the header hook, think I might have to look at bringing all the assets in through my compiler instead and see if that improves things.
  10. Ok, so there's a lot going on here. The default theme seems to have a lot of dependencies. And they get loaded in from all over the place Any tips? All together there's 75 http requests which is a bit ridiculous really.
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More