We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27889
    • 415 Posts
    Very good job, but ... (there is always a but ) wink

    I think it was a good thing that an other type of display can be used, because more and more people try to turn their sites in standard, this is not recommended (by the W3C) to use a table for another thing that dispaying ... a table.

    A new value for the parameter "embedtype" that display a simple gallerie, the navbar in a <div> the image in a global <div> with a class permit a more standardized page, and the use of the CSS to stylise the gallery. The work (seems) no so harder (I think (and hope)).

    Because I think the standards are a good thing. (Not like kro$oft IE)

    Thanks for your good job.

      MODx Sites & Prestations: http://dp-site.fr [Last MODx Site]
      MODx Repository: [HOME] [MetaTagsExtra] / Current Dev: [xFDM]
      • 18219
      • 826 Posts
      It is exact, the current version of MaxiGallerie uses tables and that is against the recommendations of W3C.
      We work Doze and myself on a new version of MAxiGallerie which will make it possible to use your template. I present as example a presentation in the form of a line of 3 thumbnails, in lower part the image in normal dimension.
      While passing on one of the thumbnails, the image is brought up to date. While clicking on the image you obtain the enlarging of the image. This presentation respects recommendations W3C.
      You will be able to even create your clean template and why not present it to us.
      This new presentation must correct some bugs.
      A little patience. Please.
        Marc
        I&#39;m French... Sorry for my bad English, I use &#39; Google Translator&#39; or other... but that remains that tools wink
        • 1876
        • 835 Posts
        Hi,

        A gallery shows :

        - A list of photos?
        or
        - a table of photos?

        11.1 Introduction to tables
        The HTML table model allows authors to arrange data -- text, preformatted text, images, links, forms, form fields, other tables, etc. -- into rows and columns of cells.

        by the W3C

        W3C speak of "Table-less Layout"
        If you want to show 3 items by row on X rows you have to use "table".
          • 33372
          • 1,611 Posts
          I tend to agree. It’s not bad coding to use a table here (it might even be the most efficient way to do it). I think either way is OK (so allowing people to template their output would be best).
            "Things are not what they appear to be; nor are they otherwise." - Buddha

            "Well, gee, Buddha - that wasn&#39;t very helpful..." - ZAP

            Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            The only time that I will arbitrarily rule out the use of a table is if it will put the content in an order that will be difficult for users of text readers or other assistive technology to make sense of. If tabbing through a table in left-to-right, top-to-bottom order will present the content in an understandable, usable manner, then I cannot see any logical reason not to use one if it does the job. And with the current state of browsers and CSS support for organized structure, it often is the best way to do the job. Spending four times as long, and creating a horrendous incomprehensable css file that is mostly hacks, with more hacks to hide the hacks, to attempt to deal with every browser and its quirks just to be ’politically correct’ seems kind of pointless.
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 26435
              • 1,193 Posts
              If you want to show 3 items by row on X rows you have to use "table".

              describing how many images to display in the row, and how many rows of images to display would be considered merging layout/design and content into the code. layout should be the role of CSS. A table is for tabular data. column one = this type, column two = that type, the rows = different items that belong in either column one or two or both. that is tabular data. describing in the html how many thumbs should be in each row is mixing design into your code. Not that it is a bad way to do it, but using divs positioned with CSS would be more appropriate for XHTML by definition. I do, however, agree with everything susan ottwell said in her last post.

              -sD-
                Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
                All of the above... in no specific order.


                I send pointless little messages
                • 33372
                • 1,611 Posts
                Good points all around. I feel like the existing tags just don’t quite do it still. I usually wrap each row of thumbnails in a styled div, which means that I’m still determining how many will be in a row in my (X)HTML (at least this is done in a PHP snippet, so it’s not something I’d need to find and replace should I want to change it). But I find that if I just throw them all in there with floats they create a terrible jumble while loading. Does anyone have a good solution for organizing any number of thumbnails in rows whose characteristics are determined in CSS? I’d be interested to try it out.
                  "Things are not what they appear to be; nor are they otherwise." - Buddha

                  "Well, gee, Buddha - that wasn&#39;t very helpful..." - ZAP

                  Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
                  • 18219
                  • 826 Posts
                  I join the points of view of susan and scotty. Only the snippet was created with tables and any change of the code must take account of the past.
                  This is why the new version always contains tables but in an external template with the code as scotty say it.

                  The template is external with the code and updated by yourself. The template is made external by using the plugin tbs4modx. It will have to respect the documentation of TBS.
                  I await the publication of doze which must validate the code and make some existing corrections of bugs.
                    Marc
                    I&#39;m French... Sorry for my bad English, I use &#39; Google Translator&#39; or other... but that remains that tools wink
                    • 25663 MODX Staff
                    • 12,272 Posts
                    ZAP, try explicitly setting a width and height on your containing divs to avoid the "jumble-build".
                      Ryan Thrash, MODX Co-Founder
                      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                      • 11975
                      • 2,542 Posts
                      Hi,

                      It would be a great addition for multilingual purpose that pictures used in lightboxV2 such as "close" for instance be translated for the next release.
                      That way according the settings in the snippet the visitor would have the interface in his language.


                      :-)
                        Made with MODx : [url=http://www.copadel.com]copadel, fruits et l

                      This discussion is closed to further replies. Keep calm and carry on.