Results 1 to 5 of 5

Thread: Smooth Gallery addon - help to finish

  1. #1
    Join Date
    Aug 2004
    Location
    Săo Paulo - Brasil.
    Age
    39
    Posts
    151

    Default Smooth Gallery addon - help to finish

    Hola.

    I get a featbyclass addon by ebmarques, and i´m trying to Write a addon
    With this code.

    DEMO
    http://smoothgallery.jondesign.net/showcase/gallery/
    http://smoothgallery.jondesign.net/

    The addon is Already working, thumbs, description, title and link to the listing, its cool!!
    You can check the addon in atachament file.

    But I dont no how to get a full image of the listing in O.R.
    Anyone can help finish this addon?

    I have 1 more question, in featbyclass addon the listings are displayed in RANDOM mode,

    // GRAB RANDOM LISTING ID FOR THIS CLASS
    if ($db_type == 'mysql') {
    $rand = 'RAND()';
    } else {
    $rand = 'RANDOM()';
    }
    $sql = "SELECT listingsdb_id FROM " . $config['table_prefix_no_lang'] . "classlistingsdb WHERE class_id = $classID ORDER BY RAND()";

    How we can Organize by ID or DATE mode???

    Tnks
    Renato Dias.
    Attached Files Attached Files

    ...a blind padawan...

  2. #2
    Join Date
    Jul 2005
    Location
    Sao Paulo, BRAZIL
    Posts
    3,763

    Default Re: Smooth Gallery addon - help to finish

    I will take a look at the script for you. But you will need to be patient because I have a lot of paid work to do.
    For now, at a first glance, I saw you have some CSS and design errors.
    For example, you are opening 3 div's and closing just one:
    Wrong:
    Code:
    <div class="content">
    <div id="myGallery">
    <div class="imageElement">
    ...
    </div>
    Correct:
    Code:
    <div class="content">
    <div id="myGallery">
    <div class="imageElement">
    ...
    </div></div></div>
    More, take a look at the stylesheets... you are redefining style to "body", div "content", etc... all already defined by the default O-R stylesheet.
    More, you have two div's named "content" - one at main.html and another at the add-on file.
    More, seems there are some Javascript errors but I need to look at it with more attention.
    Play with it while.

    Eduardo.
    Last edited by ebmarques; 02-12-2008 at 05:48 PM. Reason: two div's...

    Open-Realty® DOCs
    We can easily forgive a child who is afraid of the dark; the real tragedy of life is when men are afraid of the light. (Author Unknown)

  3. #3
    Join Date
    Jul 2005
    Location
    Sao Paulo, BRAZIL
    Posts
    3,763

    Default Re: Smooth Gallery addon - help to finish

    Renato,

    Only after looking at the JS code, I realized it is the same code we talked about, some weeks ago.
    As I already told you, the original JS code has an error (IExplorer7 only) and there is nothing I can do about it.
    Download the new addon here - I have tested with O-R v.2.4.4 and it is working.
    I have also changed the thumbs order from random to listing ID.
    The addon have only one function and one addon tag. Test it and then do a copy/paste for new addon tags and functions.
    The new "issues" that may came up, I bet will be all related to STYLE.
    Study the stylesheet! So you will be able to customize the style as you wish.

    Good luck,
    Eduardo.

    p.s.(in portuguese): depois mando a conta, tá?

    Open-Realty® DOCs
    We can easily forgive a child who is afraid of the dark; the real tragedy of life is when men are afraid of the light. (Author Unknown)

  4. #4
    Join Date
    Aug 2004
    Location
    Săo Paulo - Brasil.
    Age
    39
    Posts
    151

    Default Re: Smooth Gallery addon - help to finish

    Tnks for more one Edu,

    I´m look this new code, studing and fix my erros.
    Soon we will have a great add-on, tnks.

    About the erros in IExplorer7 is Strange, because in the smoothgallery Web Site, they ensure that works in Firefox, Opera, Internet Explorer 6 and 7 and Safari browsers. And i dont get any erro in my IE V.7.0.5730.11, so, you can post a this error?

    p.s.(in portuguese): Bota mais essa na conta do Abreu!

    Tnks again.

    ...a blind padawan...

  5. #5
    Join Date
    Jul 2005
    Location
    Sao Paulo, BRAZIL
    Posts
    3,763

    Default Re: Smooth Gallery addon - help to finish

    Quote Originally Posted by Renato.Dias View Post
    And i dont get any erro in my IE V.7.0.5730.11, so, you can post a this error?
    Renato,

    I have already sent you an image few weeks ago. Here you have it again:
    http://www.or-templates.com/download/smoothgallery.jpg

    MY IE version is 7.0.5730.13

    Eduardo

    p.s.: o Abreu já desapareceu!

    Open-Realty® DOCs
    We can easily forgive a child who is afraid of the dark; the real tragedy of life is when men are afraid of the light. (Author Unknown)

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
  •