Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How easy is this is MODx?

Featured Replies

EDIT: Title should be "How easy is this in MODx?". Sorry...

 

I'm currently building a site for a charitable organisation, which has the following structure. All are straight pages except where commented.

 

home
organisation
- news (blog posts with category "organisation news")
- history
- mission
- committee
sponsors
- platinum sponsors
- gold sponsors
- silver sponsors
- sponsors in kind
2009 event
- news (blog posts with category "2009 event news")
- the cyclists
- the backup team
- participate
- route map
contact us
guest book (a single blog post with comments enabled)

Top level menu items are on a horizontal menu, sub items are shown in a sidebar if the user is in that section.

 

I've built it in WordPress, because the charity's committee are familiar with the WordPress admin interface, but I've really had to wrestle with plugins to get the sub menus sorted (because some of them are pages and some of them are categories). Currently I'm using the "sub pages", "sticky menus" and "widget logic" plugins to achieve it.

 

So, I know there are a few MODx devotees on the forum (Scott!) and I wondered, is this the kind of thing that MODx is good at?

 

I downloaded it today and am playing a little, but still finding my way with it. The main issue, as I see it, is how you set up a document in the site structure which (presumably using the "Ditto" component) shows blog posts in a certain category or with a certain tag. Can it be done? Any extra hints you're able to provide?

 

Thanks :)

Alright Andy.

 

Yeah, this is the sort of thing that ModX excels at.

 

Ditto is an extremely powerful plug-in, which will let you display the blog posts in any format you require. More info on Ditto is available on the modx wiki

 

The sub-menu, and main nav can be created using way-finder, and to get the sub-links to only show on certain pages, you'd just use a different template for those pages. (Identical in appearance to the rest of the site, but with different

[!wayfinder &startId=`##`!]

calls in the relevant place.

 

The wiki is your friend when it comes to ModX, as pretty much every plug-in/snippet has it's own page, and a forum dedicated to it.

  • Author

Thanks Scott - your answer has helped me decide to pursue this further. Looks like I have some reading to do!

This is quite likely a stupid question, but it's been a long day and I'm not well... where do I find additional modules/plug ins for MODx?

 

I've just spent the past couple of hours learning my way round the Manager and have created a custom template, and now I'm searching through the forums and modx wiki but I think my brain has given up on me...

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.