Cotton Rohrscheib

The Cotton Club Blog & Podcast

  • Home
  • Bio
    • Resume
  • Blog
    • Faith & Family
    • Marketing & Tech
    • Farm & Business
    • Entertainment
    • Health & Wellness
    • Urban Farming
    • Weekend Projects
  • Media
    • Newsletter
    • Photo Galleries
    • Instagram Feed
    • Video Archives
    • Podcasts
    • Music Playlists
  • Books
  • Connect
    • Rohrscheib Capital
    • Disclaimer
    • Privacy Policy
You are here: Home / Marketing & Tech / MODx Chunks & Snippets…

MODx Chunks & Snippets…

March 11, 2008 by Cotton Rohrscheib Leave a Comment

There are two terms that keep coming up as I research out MODx, they are Chunks and Snippets.  Below I am going to do my best to describe what the function of both is inside the MODx environment for the sake of journaling my learning as I go along,

MODx Chunks

These are pieces of non-functional html (non scripted) that can be dropped into the content area of a html page.  An example of how a chunk could be used in my opinion would be something like this that would simply be hyperlinked to a form page.  This is something that you would probably want to have at the bottom of multiple pages in your website..

Click here to complete our online registration form.

The main function of the chunks in my opinion (and I may be off base with this a little bit as I am just learning the whole thing) is to save the end-user, or editor in this case, a lot of typing.  Another practical use for the "Chunks" feature would be if certain pages of a site had a few lines that served as a disclaimer of sorts.  Chunks would work well for this in my opinion.

MODx Snippets

Now, let’s say you have a piece of dynamic code that you want to introduce onto multiple pages of your website like a search box (an example of an ajax search box can be found here: http://www.heber-springs.com/content/).  You can use the snippets feature to add these types of dynamic drop-ins. 

In my explorations I have also seen where Snippets are also used to call in things like menus as well.

Share this post on:

  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on X (Opens in new window) X
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Pinterest (Opens in new window) Pinterest

Related

About Cotton Rohrscheib

The Cotton Club is a monthly podcast hosted by me, Cotton Rohrscheib. I'm a 52 year old entrepreneur w/ ADHD, OCD (and now AARP) that refuses to grow up as I grow old. I have collaborated and invested in hundreds of projects throughout my career in multiple industries such as; technology, healthcare, and agriculture. I also have 25 years experience in the marketing industry as a co-founder of an award-winning advertising agency. I will undoubtedly cover a wide variety of topics on my podcast while sharing some really crazy stories and situations that I've been fortunate to witness firsthand. I also have a book coming out in 2025 titled, "Mistakes were Made"

Please Drop Your Questions or CommentsCancel reply

Let’s Connect

  • Email
  • Facebook
  • Instagram
  • LinkedIn
  • Twitter

Recent Updates

  • EP:032 – Cotton Rohrscheib & Diana DeHart
  • Challenges & Opportunities Going into 2025
  • Find us at the 2025 Arkansas Women in Agriculture Conference in Hot Springs, Arkansas
  • Be Sure to Checkout FBN’s Farmers First™  Crop Nutrition & Adjuvant Lineup for 2025
  • What we all need in Dark Times…

Blog Categories

  • Blog (419)
  • Entertainment (376)
  • Faith & Family (147)
  • Farm & Business (288)
  • Health & Wellness (33)
  • Marketing & Tech (584)
  • Podcasts (31)
  • Urban Farming (20)
  • Weekend Projects (1)

Listen & Subscribe

Blog Archives

Join the Cotton Club!

 

Content Copyright: 2001-2025
Cotton Rohrscheib | Rohrscheib Capital