We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21676
    • 5 Posts
    I have a template that is created in 690 grid system.

    Can i use that template in Modx cms.

    Regards


    Notaptur.
      • 26931
      • 2,314 Posts
      hi noaptus,

      sure smiley you can use any css framework you want

      see here (960gs) http://net.tutsplus.com/tutorials/other/working-with-a-content-management-framework-modx/
        • 21676
        • 5 Posts
        Thanks a lot, going to try this out. ( I do not have any knowledge in css and php ) So here goes.


        Is there any chance for help in the future on this. smiley if i fail.

        Regard

        Noaptus.
          • 4971
          • 964 Posts
          yep, you just landed in one of the friendliest communities
          in the internet universe.... tongue
            Website: www.mercologia.com
            MODX Revo Tutorials:  www.modxperience.com

            MODX Professional Partner
            • 21676
            • 5 Posts
            Hmm ok there’s one question, my template is in .php format and the tuts is for html.

            Does that matter

            Thanx for the help

            Regards


            Noaptus.
              • 1169
              • 312 Posts
              Can you check if any php code is in template ie between phptags?
                DEVELOPMENT ENV:- Ubuntu 12.04 | MODx Revolution 2.2.8 | LAMP 2i Apache 2.2.22 | Php 5.3.10 | Mysql 5.5.31 MySQL client version: 5.5.31
                • 21676
                • 5 Posts
                Are you talking about this <?php> heres my index.php

                If you could take a look for me.


                Thanx

                Noaptus.
                  • 1169
                  • 312 Posts
                  I am also rather new to this also, maybe others with more knowledge than me would be better suited to answer this.

                  I have not yet worked with Java Scrirt in MODx.

                  Conversions I have done only contain XHTML & CSS.

                  I have had no problems converting these to Templates.

                  I see your proposed file contains both PHP & Java Script.

                  I checked 969.gs system and their basic code is HTML & CSS this should be OK.

                  I know that php code should be in snippets not in chunks. Not sure about templates.(not required that yet)
                  To me templates should be HTML + tags.

                  Sorry I cannot help you further.
                    DEVELOPMENT ENV:- Ubuntu 12.04 | MODx Revolution 2.2.8 | LAMP 2i Apache 2.2.22 | Php 5.3.10 | Mysql 5.5.31 MySQL client version: 5.5.31
                    • 21676
                    • 5 Posts
                    :) Thanx for your help.

                    Is there some one how cane help me.


                    Regars

                    Noaptus.
                      • 1169
                      • 312 Posts
                      You can put PHP code and Javascript into snippets this may be your safest way to try.

                      See:-
                      http://bobsguides.com/MODx.html

                      It may not be the correct way but it will get you started. Be brave give it a try. Nothing ventured nothing gained.
                      What have you got to loose. That’s what I would do. You learn by trying. wink

                        DEVELOPMENT ENV:- Ubuntu 12.04 | MODx Revolution 2.2.8 | LAMP 2i Apache 2.2.22 | Php 5.3.10 | Mysql 5.5.31 MySQL client version: 5.5.31