At http://acquiaprosper.fusiondrupalthemes.com/, their is a sliding product show case at the top banner:
Which modules are required? Thanks!
This video podcast from mustardseed details how to set-up a view like that using Views Slideshow module.
http://mustardseedmedia.com/podcast/episode42
drupal.org/project/views_slideshow
i think its their own code by using jquery cycle . Try UI carousel , views carousel, jcarousel
I would use views_slideshow as atomicjeep suggested. it's a great module that I have used several times.
Related
I am using the official Materializecss package for meteor.The materialize modals are working fine but my problem is that when a add a button into the model and route it to another page, the modal leaf-overlay still remains there.
Is there a way to remove this problem or make materialize reactive with meteor?
You should try to close it programmatically, as shown in the docs, when you redirect (probably right before):
$('#modal1').closeModal();
On other page rendering:
$('#modal1').closeModal();
Document
So I'm using this extension for my site RokSprocket to show my articles. But my problem is when I load the module inside my article with {loadposition myposition} the module appears but with no styling or layout whatsoever like the image below.
I tried using Modules Anywherebut it's still the same. I tried loaing other modules to my article but it's the same.
Any help?
As with any type of "module in content" plugin in Joomla, you need to assign the module to a menu item/items in order for it to be displayed
I am trying to add html to the bottom of all the pages of a drupal 6 site.
I tried following Adding HTML to Drupal closure? but I'm not familiar enough with drupal to follow it.
The code is a google remarketing code, so I can't use drupal_add_js because the code I have already has script tags and , and the drupal_add_js wraps everything in tags.
hook_footer seems to be the best solution but I can't figure out how to use it.
Thanks
The best solution is to use hook_footer().
You have to create a Drupal module. I think this link might help you: https://drupal.org/developing/modules/7
Basically you have to create a module an implementes hook_footer(). In here you can add your custom html.
But there are another ways to do it. For example you can edit your theme. Find the page.tpl.php file in your theme and add, in the footer, the content. It's appears in all pages.
Another option is to create a block with full html filter, and add your html.
Regards.
I ended up putting the html i needed in $vars["closure"]
I see few plugins for slidshow/rotator in drupal.
http://drupal.org/project/slideshow
http://drupal.org/project/views_rotator
http://www.bywombats.com/blog/06-08-2010/building-rotating-image-banner-views
http://ddblock.myalbums.biz/node/885
/http://drupal.org/project/rotor
I am trying to have an image rotator, similar to http://www.oracle.com/index.html
Thanks ins advance.
There are another cool and crossbrowsing module: http://drupal.org/project/views_slideshow
Main benefit of it is very good customization by css and tpl files. Also it has a good and easy video-guide (link on the module page).
Also this module has some dependenies modules those may be very useful. Check it!
In my experience if you really want full control, you need to build the slideshow yourself. At first this may seem difficult, but it's actually fairly "simple" (depending on your background offcourse).
Drupal uses jQuery and by using the jQuery cycle plugin, you can create pretty much any slideshow.
The jQuery cycle plugin is easy to use:
add the plugin to your drupal installation (download the .js and add it to your theme)
in your template make sure your banner/slideshow-items are all in 1 div or container
write your own js-file with following code (where container stands for ID of the container div):
$('#container')
.before('<div id="nav">')
.cycle({
fx: 'fade',
speed: 2500,
pager: #nav
});
This will create a slideshow on the container div and will create a navigation div before the slideshow with the page-elements. (you will get all kinds of selectors such as .active to get full control over the navigation)
Using a module is ok, but you will need to make changes specific to what you want and sometimes this could take longer then just making it yourself.
If you still would want to use a module, I'd say rotor banner (last update date 25th of may) or slideshow (last update date 5th of april). However I believe slideshow will be too light for what you want to achieve, and rotor banner a bit too heavy...
is there any callback function for lightbox2 in Drupal ?
I need to trigger some functions when the lightbox content is ready
thanks
Like this?
http://www.erikhedin.com/web-design/drupal-tips/Easy-Ajax-Nodes-Lightbox-Content
Are you using the Lightbox2 module?
http://drupal.org/project/lightbox2
It has a myriad of options to use. It also adds itself as a Views field option when displaying an image.
Like this: How to trigger event on arbitrary function call using jQuery