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.

            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.

                  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"

                      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.

                          Comment

                          Working...
                          X