Announcement

Collapse
No announcement yet.

Customization of the sliding content module

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Customization of the sliding content module

    By default this module contains only this code:
    Code:
    {"featured":1,"sort":{"created":"desc"}}
    Does anyone know how I can personalize it?
    Is there a guide?


    #2
    That sounds like the query code for the module.

    What exactly are you wanting to do to the module style wise? Got a pic so I can help?

    Comment


      #3
      If you want to display the latest posts you can use this code
      Code:
      {"last":{"from":"7"},"type":["vBForum_Poll","vBForum_Text"],"view":"topic","starter_only":1,"sort":{"lastcontent":"desc"},"exclude_type":["vBForum_PrivateMessage","vBForum_VisitorMessage","vBForum_Report","vBForum_Redirect"]}
      Wise men say nothing Fools never listen

      Comment


        #4
        Originally posted by myto2018 View Post
        By default this module contains only this code:
        Code:
        {"featured":1,"sort":{"created":"desc"}}
        Does anyone know how I can personalize it?
        Is there a guide?
        What this one does it creates a slideshow of featured items example would be several pictures all you do is feature these and they will scroll across the module for best effect would be to place the content slider just above the page title module makes it look like banners scrolling across the screen you can see a demo of this @ 1 of my live sites https://cometbar.co.uk
        Wise men say nothing Fools never listen

        Comment


          #5
          Originally posted by willie53 View Post
          If you want to display the latest posts you can use this code
          I entered this code. Now it's much better

          Comment


            #6
            To learn more about using search JSON, I have a link for it in the Useful Links module on homepage.
            Helpful? Donate. Thanks!
            Buy me a coffeePayPal QR Code
            Fast VPS Host for vBulletin:
            A2 Hosting & IONOS

            Comment


              #7
              Originally posted by glennrocksvb View Post
              Per saperne di più sull'uso della ricerca JSON, ho un link per questo nel modulo Link utili sulla homepage.
              Now i see... Tnks

              Comment


                #8
                Hello,

                I want to show post from which i selected forum channel in Content slider. How can i do that? Which code should i use? Thanks.

                Comment


                  #9
                  I think if you add

                  "channel": xxxx

                  where xxxx is the channel node id, the it will filter the results for the specified channel only. Check the Search JSON tutorial I linked on the homepage.
                  Helpful? Donate. Thanks!
                  Buy me a coffeePayPal QR Code
                  Fast VPS Host for vBulletin:
                  A2 Hosting & IONOS

                  Comment


                    #10
                    Originally posted by glennrocksvb View Post
                    I think if you add

                    "channel": xxxx

                    where xxxx is the channel node id, the it will filter the results for the specified channel only. Check the Search JSON tutorial I linked on the homepage.
                    Thank you for the answer.
                    I have set the channel option, but the last message in the topics appears. I couldn't find out which code to write for the first message to appear.

                    { "channel":"33" } ???

                    Comment


                      #11
                      Include:

                      Code:
                      "starter_only":"1"
                      Helpful? Donate. Thanks!
                      Buy me a coffeePayPal QR Code
                      Fast VPS Host for vBulletin:
                      A2 Hosting & IONOS

                      Comment


                        #12
                        Originally posted by glennrocksvb View Post
                        Include:

                        Code:
                        "starter_only":"1"
                        I have written the code as follows, but the attached pictures do not appear.

                        Code:
                        { "channel":"33" , "starter_only":"1" , "include_attach":"1" }

                        Comment


                          #13
                          Are you using the Content Slider module? That module only displays the first attached image in a starter post and it only includes images uploaded using the Paper and clip button and excludes images uploaded using the Camera icon (do the images fall into this method?). That module also doesn't need include_attach in the search JSON.
                          Helpful? Donate. Thanks!
                          Buy me a coffeePayPal QR Code
                          Fast VPS Host for vBulletin:
                          A2 Hosting & IONOS

                          Comment


                            #14
                            Hello Glenn,

                            Is that any way how we can make a post text align in center for this content slider module please?
                            Thanks

                            Comment


                              #15
                              hoangzu, try this:

                              Code:
                              .b-content-slider__slide-caption {
                                  padding: 0px 60px;
                                  text-align: center;
                              }
                              Helpful? Donate. Thanks!
                              Buy me a coffeePayPal QR Code
                              Fast VPS Host for vBulletin:
                              A2 Hosting & IONOS

                              Comment


                              • hoangzu
                                hoangzu commented
                                Editing a comment
                                It worked like charm. Thanks so much Glenn.

                            Users Viewing This Page

                            Collapse

                            There is 1 user viewing this forum topic.

                            • Guest Guest

                            Latest Posts

                            Collapse

                            Working...
                            X
                            Searching...Please wait.
                            An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

                            Please push the back button and reload the previous window.'
                            An unexpected error was returned: 'Your submission could not be processed because the token has expired.

                            Please push the back button and reload the previous window.'
                            An internal error has occurred and the module cannot be displayed.
                            There are no results that meet this criteria.
                            Search Result for "|||"