We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37303
    • 4 Posts
    Is there any snippet or method to display the database table in a page?
      • 16278
      • 928 Posts
      There used to be an Evo extra called loopDbChunk that is quite handy. It lets you use a template chunk for each record in a similar way to Ditto, with methods to hook in extra functions of your own to handle selected fields.

      MODX also has a built-in way to present database information as HTML tables, using the DataGrid widget in a template variable. The TV uses the @SELECT binding to run a query on the database.

      :) KP

        • 37303
        • 4 Posts
        Quote from: kp52 at Oct 05, 2015, 01:32 PM
        There used to be an Evo extra called loopDbChunk that is quite handy. It lets you use a template chunk for each record in a similar way to Ditto, with methods to hook in extra functions of your own to handle selected fields.

        MODX also has a built-in way to present database information as HTML tables, using the DataGrid widget in a template variable. The TV uses the @SELECT binding to run a query on the database.

        :) KP


        Thank you KP, but loopDbChunk is not for Evo. There is clearly written It,s like snippet loopDbChunk for the EVO, but only for the REVO. .

        If there snippets for Evolution you can suggest me.

        Thank you
          • 2762
          • 1,198 Posts
            Free MODx Graphic resources and Templates www.tattoocms.it
            -----------------------------------------------------

            MODx IT  www.modx.it
            -----------------------------------------------------

            bubuna.com - Web & Multimedia Design