Removing the ‘Content’ part from HomePage ‘Page Type’

We had a code for HomePage pagetype like so: Learn More

Tags: , , , , , , , , , , | Posted under SilverStripe CMS | Leave a comment

List MODX Users Selected by an Extended Field

If you want to show a list of users with, or without, their personal information, one of the easiest ways to do it is to use Shaun McCormick’s Peoples extra. Peoples will show information about users selected by Use Group and will let you sort the users by any field. One of the things Peoples will *not* do, though, is let you select users based on an extended field.

A MODX user recently requested this on the MODX Forums, so I’m devoting this blog post to creating a snippet to do it and demonstrating a little about how MODX snippets work along the way. The following snippet will select users based on an extended field and will show any information about them contained in their User Profile (including any extended fields). Note that the snippet selects users *only* by extended field. To select users in a different way, you’d have to use a different snippet. Learn More

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

How to Convert Your Primary ocPortal Menu to a Full Width Dropdown Menu

dropdown menuOne change I like to make on most of the sites I build using ocPortal is to convert the standard menu to be a full width dropdown menu. Using this type of menu gives you a great deal of flexibility in the long term as your site grows, and allows you the freedom of being able to expand your primary navigation if you need to.

ocPortal includes the coding, and there are CSS styles for the elements within the global.css file. You will probably want to change the CSS style if this is to be used on your main navigation.  I also like to move the menu further down the website design, to give me a little more freedom for my logo and header information. Learn More

Tags: , , , , , , , | Posted under ocPortal | 2 Comments