TOPIC: Vina Awesome Image Slider

Vina Awesome Image Slider 9 years 2 months ago #1953

  • Rango
  • Rango's Avatar
  • OFFLINE
  • Administrator
  • Posts: 848
  • Thank you received: 115
  • Karma: 22
@Markus: We don't load jQuery on our module because Joomla have already to load it as default.
No pain no gain! Accept the pain, future will be fruitful!
The topic has been locked.

Vina Awesome Image Slider 9 years 2 months ago #1957

  • Markus
  • Markus's Avatar
  • OFFLINE
  • New Member
  • Posts: 3
  • Orders: 0
  • Download: 2
  • Karma: 0
Rango wrote:
@Markus: We don't load jQuery on our module because Joomla have already to load it as default.
yes, but:
if your javascrpt code needs the jquery framework, you have to tell joomla this. if you do not, the library may be loaded affter your scripts and nothing will work. check it out on a clean joomla installation. (read tje joomla documentation) .
with the code i posted in my previous post, joomla will load the framework allways before your scripts and it will be loaded only once. so: put it in every of your joomla 3 modules who needs the jquery framework.
The topic has been locked.

Vina Awesome Image Slider 9 years 2 months ago #1960

  • Rango
  • Rango's Avatar
  • OFFLINE
  • Administrator
  • Posts: 848
  • Thank you received: 115
  • Karma: 22
@Markus: We always check our all modules in fresh Joomla installation, with default template: protostar. We don't need to load jQuery inside our module.
No pain no gain! Accept the pain, future will be fruitful!
The topic has been locked.

Vina Awesome Image Slider 9 years 2 months ago #1963

  • Markus
  • Markus's Avatar
  • OFFLINE
  • New Member
  • Posts: 3
  • Orders: 0
  • Download: 2
  • Karma: 0
ok, if you think so, its not my problem. have you really read the joomla documentation? docs.joomla.org/Adding_JavaScript.
Important notes for 3rd party developers

If you are creating a custom template override or extension that needs to add a custom JS file, make sure to add important dependencies such as Jquery or Mootools before your custom JS files. JS framework files must always be loaded before any other files to make sure they get executed first, otherwise other files that load before the frameworks they need are likely to end in JS exceptions.
Having said that doing this

JHtml::_('jquery.framework');
$doc->addScript('templates/'.$this->template.'/js/fancy-script.js');
at your custom templates overrides and extension, is required
Last Edit: 9 years 2 months ago by Markus. Reason: more info
The topic has been locked.

Vina Awesome Image Slider - extra image 9 years 1 month ago #2234

  • Jason
  • Jason's Avatar
  • OFFLINE
  • New Member
  • Posts: 2
  • Orders: 0
  • Download: 1
  • Karma: 0
Hi,

i've installed the module, however it shows a blank image at the end.

I've tried using both images stored in a directory and a list

Here is a link to the test site

appreciate your assistance.
The topic has been locked.

Vina Awesome Image Slider - extra image 9 years 1 month ago #2236

  • Rango
  • Rango's Avatar
  • OFFLINE
  • Administrator
  • Posts: 848
  • Thank you received: 115
  • Karma: 22
@Jason: I see you've set wrong value for Height. You must use numeric for this param. EG: 200 (not 200px)
Please try again and see how module work.
No pain no gain! Accept the pain, future will be fruitful!
The topic has been locked.
The following user(s) said Thank You: Jason
Leather Purses & Handbags, Women’s Crossbody Bags, Tote Bags for Women, Leather Backpacks, Men’s Wallets & Card Cases, Official OLEVS Website, OLEVS Couple Watches, OLEVS Women's Watches, OLEVS Men's Watches, OLEVS Watch, OLEVS Watches