*

Dawid

  • ****
  • 149 posts
Steps in item-post.
« on: March 04, 2019, 09:59:59 PM »
welcome

Im added to stella steps when users whants post item exaclly this same in veronika :(fade-right, butTons)

but i have problem . in stella when user selected catogory its auto  open windows " details"  i need hide this windows in first steps , same like in vernika ( its visible only in 3 steps ) HOW I CAN DOING THATS ??




*

MB Themes

Re: Steps in item-post.
« Reply #1 on: March 04, 2019, 11:31:09 PM »
It is not complicated to devide page into steps, problem is to make it working properly. You may check veronika's global.js to get idea how it works
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Dawid

  • ****
  • 149 posts
Re: Steps in item-post.
« Reply #2 on: March 05, 2019, 03:54:12 PM »
Thanks for answer . But im check this in global.js

In Stella and Veronika looks exaclly this same :"(


   // If there are only 2 steps, hide next button on 2nd step
          if(total < 3) {
            $('fieldset.photos .post-next').hide(0);
          } else {
            $('fieldset.photos .post-next').show(0);
          }
        });
      }
    } else if ( $(this).hasClass('post-prev') ) {
      $('fieldset[data-step-id="' + current + '"]').animate({marginLeft: "1000px", opacity:0}, 300, function(){
        $('fieldset[data-step-id="' + current + '"]').hide(0);
        $('fieldset[data-step-id="' + prev + '"]').css('display', 'inline-block').css('margin-left', '-1000px').css('opacity', '0');
        $('fieldset[data-step-id="' + prev + '"]').animate({marginLeft: "0px", opacity:1}, 300);
      });

      // Hide submit button
      $('.buttons-block').animate({marginLeft: "1000px", opacity:1}, 300, function() {
        $('.buttons-block').hide(0);
      });
    }

*

Dawid

  • ****
  • 149 posts
Re: Steps in item-post.
« Reply #3 on: March 05, 2019, 03:57:07 PM »
Mayby problem its in this line ?

  // Check for required fields
      $('fieldset[data-step-id="' + current + '"] input, fieldset[data-step-id="' + current + '"] select').each(function(){
        $("form[name=item]").validate().element($(this));
      });


      if($("form[name=item]").valid()) {
        $('fieldset[data-step-id="' + current + '"]').animate({marginLeft: "-1000px", opacity:0}, 300, function(){
          $('fieldset[data-step-id="' + current + '"]').hide(0);
          $('fieldset[data-step-id="' + next + '"]').css('display', 'inline-block').css('margin-left', '1000px').css('opacity', '0');
          $('fieldset[data-step-id="' + next + '"]').animate({marginLeft: "0px", opacity:1}, 300);

*

Dawid

  • ****
  • 149 posts
Re: Steps in item-post.
« Reply #4 on: March 09, 2019, 01:48:33 PM »
Any sugestion ?

*

MB Themes

Re: Steps in item-post.
« Reply #5 on: March 09, 2019, 08:45:42 PM »
Not at all, complexity of such request is not something that could be solved on forums by asking questions
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

leuname07

  • ***
  • 53 posts
Re: Steps in item-post.
« Reply #6 on: April 19, 2019, 12:52:02 AM »
I'm interested with this !

Have you found the solution ?