Results 1 to 5 of 5

Thread: ce_slider_jquery

  1. #1

    Default ce_slider_jquery

    Hi guys. I want to make you know of my new extension: ce_slider_jquery

    It's a content element slider just like ce_slider but written with jQuery and designed around Contao 2.10 instances with HTML5 Boilerplate extension installed. It still needs some work for a stable release, but I'm working on it.

    It uses Slides jQuery plugin by Nathan Searles which has been released under Apache license.

    The German lang file has been made with Google Translate, so don't put too much attention to it by now

    It still doesn't run in jQuery compatibility mode, so don't put it toghether with MooTools.

    That's all. If you have any issues write down here. Thank you

    Have a nice day

  2. #2
    User zonky's Avatar
    Join Date
    11-29-11.
    Location
    Berlin
    Posts
    159

    Default Re: ce_slider_jquery

    Hi,

    I try your extension with the boilerplate-extension.

    I have a little problem:

    I dont see my own with an heigh in the generated css - only the default 640x400px

    If I used a own template like this
    Code:
    <style type="text/css" media="screen">
    	#<?php echo $this->Container; ?> .slides_container {
    		width: <?php echo $this->Width; ?>px;
    		height: <?php echo $this->Height; ?>px;
    	}
    	#<?php echo $this->container; ?> .slides_container div {
    		width: <?php echo $this->Width; ?>px;
    		height: <?php echo $this->Height; ?>px;
    		display: block;
    	}
    </style>
    
    <pre>
    <?php $this->showTemplateVars(); ?>
    </pre>
    so you can see two bugs:
    * $this->container; shold $this->Container;
    * and I dont see the TempateVars in the frontend...??

    thanks zonky

  3. #3

    Default Re: ce_slider_jquery

    Hi Zonky,
    thanks for the issue, as you said there was in fact a mistype in the templates value Container.
    Also the Width and Height problem has been solved.
    As for the $this->Template vars, I created three of them: one for HTML, another for CSS and the last one for JS.
    The $this->strTemplate has been assigned to the choosen html one.
    Also I fixed the code in the templates on the XHTML version and added a dependency to the jquery module.

    I've created a public repo on Github: http://github.com/liquiddiamond/ce_jquery_slider
    Everyone can contribute by sending their pull requests.

    Sorry for the late reply, It has been a very busy December.

  4. #4

    Default Re: ce_slider_jquery

    I've renamed the github repository to ce_slider_jquery (coherently with the module name)
    The Github link has been updated: https://github.com/liquiddiamond/ce_slider_jquery.git

  5. #5

    Default Re: ce_slider_jquery

    Hello,

    It would be nice if you could add a fade effect in the effect list
    Utilisateur de Contao depuis 2008

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •