Calling MODX getResources in Code

In the previous article, we looked at a way to display a “teaser” for upcMODX logooming blog posts and set the &classKey property to select the resources you want. In this one, we’ll ditch most of our code and call getResources to get our list of resources. Note that you can call pdoResources, which is significantly faster, instead of getResources. The pdoResources snippet requires you to install the pdoTools package, but the properties are, for the most part, identical. Typically, the only change you need to make is that instead of &includeTVs=`1`, for pdoResources you need to provide a comma-separated list of TVs you want to include. Learn More

Tags: , , | Posted under MODX, MODX | Leave a comment

SocialEngine 4: Redirect Links on Activity Wall

Andrew - SocialEngine

Have you ever wanted your members to use the main upload sections of Videos, Photos, Music so they are not creating wall albums and keeping everything in a nice and simple to manage albums from the main page.

When a user is on the main home page they have the ability to upload content from the status bar, using this simple method will redirect them to the Main Module page. Learn More

Tags: , , , , , , | Posted under SocialEngine | Leave a comment

Introducing Textpattern CMS markup tags

admin-ajax

Textpattern CMS has a baked-in tag system that provides a raft of functions to website builders and administrators. A subset of these tags are categorised as markup tags. Although they’re gathered under the markup grouping, they vary in their usage and scope. For this series of articles, I’ll be introducing you to and showing you how to use the following Textpattern tags:

  • meta_author
  • meta_keywords
  • site_name
  • site_slogan
  • site_url
  • page_title
  • page_url
  • css
  • feed_link
  • hide

Learn More

Tags: , , , , , , , , , , , , | Posted under Textpattern, Uncategorized | Leave a comment