We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22303 MODX Staff
    • 10,725 Posts
    Quote from: AMDbuilder at Jul 21, 2009, 04:29 PM

    As for some examples I already noted one, but to expand that some...

    How would I setup a shared core on a cpanel server? Also how would it need to be setup so I could share common components between sites. ex: wayfinder
    The goal is to add resources on each client cpanel account and use a DB under their account, but access a shared core and components...
    I won’t comment on the 5-letter C-word I will not say, but here is how I setup a common core:


    • build a transport.core.zip on your local environment with the version of the core you are going to install
    • upload, svn export or svn checkout just the core directory wherever you want on the server, set appropriate permissions, and put your transport.core.zip in the core/packages/ dir
    • upload or svn export just the setup/ dir to a location in your webserver
    • open setup/includes/core.config.php for editing
    • edit MODX_CORE_PATH with the absolute location of the core directory
    • (optional) edit the MODX_CONFIG_KEY with a unique configuration name [this is for having multiple configurations with a single core]
    • make sure that PHP can write to all of the directories where the web-accessible files that are part of MODx will be located and run setup

    Components will sort of be shared across configurations (at least the files in core/components/), but you will need to install it in each configuration’s database and asset location (though you could use a shared assets location), until we can design/develop a multi-config package installer.

    That should at least get you started, and feel free to ask for more details if you encounter problems or confusion.
      • 1343 ☆ A M B ☆
      • 2,213 Posts
      Thanks for the information I will give it a try when I have a free second.

      I will try to keep the c word problems to a minimum grin
        Patrick | Server Wrangler
        About Me: Website | Tweets |  MODX Hosting
        • 25663 MODX Staff
        • 12,272 Posts
        Quote from: lossendae at Jul 20, 2009, 09:31 AM

        Quote from: splittingred at Jul 15, 2009, 01:04 PM

        http://api.modxcms.com/ - Like such? This is a bit out of date, but we’ll have it updated for the beta-2 release.

        The look & feel is really discouraging.
        Is it impossible to integrate the Documentation in the MODx site design?

        The API documentation has been updated and is significantly improved across the board. While it doesn’t match the MODx marketing site, usability as a documentation source is much much better now. Take a peek and tell us what you think.

          Ryan Thrash, MODX Co-Founder
          Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
          • 17499 ☆ A M B ☆
          • 872 Posts
          I’ve seen it yesterday and it is a really nice template. I imagine that it will be polished as initial release come close, but at least, at first sight, it is more encouraging.
            • 16183
            • 1,390 Posts
            Hi,

            It would be nice to have developer documentation on how to create 3PC for use in the manager. By the way, IIRC, the term module was to be dropped? Was there a replacement term? Thanks.

            cheers/k

            EDIT: Here lies answers to my query:

            http://svn.modxcms.com/docs/display/revolution/Custom+Manager+Pages
              • 29774
              • 386 Posts
              Any chance of an updated version of this series of tutorials on building a 3PC that works with the latest beta?
              http://svn.modxcms.com/docs/display/~splittingred/2008/07/10/Creating+Custom+Manager+Pages+for+a+3rd+Party+Component%2C+Pt.+I

              @kongondo - that page doesn’t go in to detail on how to build a 3PC, rather it explains how to set up custom manager pages for use with your 3PC.
                Snippets: GoogleMap | FileDetails | Related Plugin: SSL
                • 16183
                • 1,390 Posts
                Quote from: therebechips at Jul 31, 2009, 04:38 AM

                @kongondo - that page doesn’t go in to detail on how to build a 3PC, rather it explains how to set up custom manager pages for use with your 3PC.

                Actually, you are right sad... Thx for the pointer...so, my request still stands, if that’s alright

                cheers/k
                  • 8522
                  • 145 Posts
                  I’d love to have a tutorial of how to build a multilingual site. While browsing through the documentation of lexicons and contexts but feel a bit lost. I am going to ask more specific in this thread:
                  http://modxcms.com/forums/index.php/topic,37812.0.html

                  thanks
                  eni
                    • 17499 ☆ A M B ☆
                    • 872 Posts
                    Here is a list of tutorials which i think would be interesting:

                    Synchonize MODx with social services.


                    • How do i retreive my users infos from their Twitter/Facebook/OpenID account?
                    • How do i populate database with received datas?
                    • How do i manage and cache the datas?
                    • How can i do then to let the users connect via those services?

                    The ideal would be to put an example with one of those services with xml response, since they do use similar procedure.

                    Bridge MODx with installed 3PC

                    Same as the posts above, but the php part which allow different services to be synchonized with MODx users, or the opposite.


                    • How can i use my Forum engine with MODx?
                    • How do i let users connect with only one account?

                    I specifically think of SMF here, you could even put a bonus part on the article which show the very simpliest way of showing on the website the last forum post, or the popular topics.

                    How can i use Wordpress templates in MODx

                    Wordpress has very beautiful and free templates. They are very easy to integrate with MODx but most of the people don’t know where to begin and how to do it.


                    • I want this Wordpress template, how can i use it with MODx?
                    • What about the sidebar and the widgets?

                    This could be a simple way to show how to work with templates in MODx, convert any available free templates to MODx, let the user know about the tags that they will most likely use for a simple blog, and indicate a list of available snippets who allow them to populate their sidebar (or the content - Ditto).

                    This article should be in several parts. The actual conversion, use of snippets and templates variable.

                    You can even provide a list of related link at the end of the article, to let them know about forum or social service integration :p

                    How can i convert x modules from x CMS to MODx

                    A simple exemple with a little plugin conversion. I think that Wordpress or Drupal could be good basic exemples, just for reference.

                    Write tutorials on popular Coding Blog

                    When interesting Snippets will be available, it will be interesting to post exclusive tutorial on popular Blog such as smashingmagazine or Nettuts.

                    You will gain more both money and exposure for it.

                    Example:


                    • Use firebug and text editing to convert any theme to MODx CMS
                    • How to make a beautiful image gallery with MODx and JQuery
                    • Get your favorite Tweets in MODx sidebar
                    • Create an awesome menu with MODx and JQuery
                    • Make an outstanding corporate website with MODx
                    • Control your layout in MODx without PHP in your HTML template
                    • Show your flickr picture anywhere with MODx
                    • Integrate SMF with MODx and create your own community
                    • Use facebook connect with MODx
                    • Became powerful with database using xPDO
                    • Build your own Poll snippet with MODx and Jquery
                    • Bring your design to the next level with CSS3 and MODx
                    • 10 tips to gain time with MODx
                    • 5 ways to be more SEO friendly with MODx
                    • 3 methods, same result. Become flexible with MODx


                    The list is exhaustive and relatively simple? The point is to get exposure and show how MODx truly separate content from coding.
                    They cover one topic specifically and let user know about the MODx way.

                    Note that this kind of tutorial in not destined directly to the documentation (or only for link back since the published has been sold to the publishing blog) unless thay have been rejected on the desired blog, and not limited to the MODx official team.

                    Working with xPDO

                    Article who cover very basic xPDO concept, and it’s use with MODx. Development oriented, but a little bit less "developpers" oriented than the actual available documentation.

                    You should take actual exemples:


                    • How can i retreive the last 5 posts/comments from de the databse
                    • How can i retreive the most popular page based on tags (TV) from the database
                    • How can i create/update new table when my snippets is ready for packaging?
                    • I’ve seen the term Aggregates in Quip, what is it? What is his purpose?
                    • How can my tables be related with each others automatically?
                    • How can i use the basic sql commandlike LIMIT, JOIN, ORDER BY

                    I know that some of those topics has been covered in the actual docs, but they are not easily understandable for begginners.
                    The explanations should be as simple as possible, with code exemples and stripped out from the php ninja comments like : "It implements the very simple, but effective Active Record pattern for data access".
                    Keep it simple, do go to much into detail, even if it’s the exact right name. Sometimes people don’t need details, they need things to work, and i’m pretty sure that serious php devellopers will go further if needed.

                    For analogy, when i tried MySQL for the first time, i didn’t go for the tuto’s who started with MySQL is a relational database management system (RDBMS) which is a little bit frightening, but most likely with the more simple Learn from the ground up, on how to use MySQL for your websites. Even if you are a complete beginner and know nothing, you will be able to understand this tutorial.

                    Then, over the years, i’ve gone deeper following my needs at the moment m.

                    If the user which to know more about the actual xPDO overall concept and terminology, some link provided at the end of the article should be enough -> "Go deeper with xPDO"
                      • 16183
                      • 1,390 Posts
                      Quote from: lossendae at Aug 02, 2009, 11:25 AM

                      Example:


                      • Use firebug and text editing to convert any theme to MODx CMS
                      • How to make a beautiful image gallery with MODx and JQuery
                      • Get your favorite Tweets in MODx sidebar
                      • Create an awesome menu with MODx and JQuery
                      • Make an outstanding corporate website with MODx
                      • Control your layout in MODx without PHP in your HTML template
                      • Show your flickr picture anywhere with MODx
                      • Integrate SMF with MODx and create your own community
                      • Use facebook connect with MODx
                      • Became powerful with database using xPDO
                      • Build your own Poll snippet with MODx and Jquery
                      • Bring your design to the next level with CSS3 and MODx
                      • 10 tips to gain time with MODx
                      • 5 ways to be more SEO friendly with MODx
                      • 3 methods, same result. Become flexible with MODx



                      Interesting list. Some of these seem like tuts and not necessarily fodder for official documentation. Actually I have been thinking about something along these lines...problem is time time time. Hopefully will get round to it.

                      cheers/k