Last Updated on Friday, 17 May 2013 04:06 Written by Bob Ray Saturday, 18 May 2013 12:00
It’s time to create new post in your MODX Articles Blog. You right-click on your blog container in the tree and select “Write New Article.” The form to create a new blog post comes up, you spend an hour or two writing your blog post, set it as published, and click on the “Save” button. Now, you go to the front end and look at your blog. The new article is not there. You go to back to the Manager and navigate to the Manage Articles panel. It’s not there either, nor is it in the Resources tree at the left. Is all your work lost forever? What happened?Learn More
Last Updated on Saturday, 11 May 2013 06:14 Written by Bob Ray Tuesday, 14 May 2013 12:00
There’s serious security problem with the default installation of the Articles blog extra: It exposes your MODX username — the one you use to log in to the Manager — on every page. This opens you up to a brute-force attack that could allow miscreants to gain complete control of your site. This vulnerability may be fixed in future versions of Articles, but for now, it’s a good idea to make some changes to your Articles Templates and Chunks.
Site hackers have bots that are visiting hundreds of thousands of web sites. They try common Administrator usernames like “admin” “root” and “webmaster” and attempt to log in with both selected passwords (e.g., dates between 1900 and the current year, common names for humans and pets, dictionary words, etc.) and random passwords generated in code. For a fairly reasonable price, you can now buy a computer designed just for this task and capable of trying millions of passwords per second.Learn More
Last Updated on Thursday, 9 May 2013 02:07 Written by Bob Ray Saturday, 11 May 2013 12:00
Creating the “My Files” Top Menu ItemLearn More
Last Updated on Monday, 6 May 2013 06:14 Written by Bob Ray Thursday, 9 May 2013 12:00
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
Last Updated on Sunday, 5 May 2013 01:46 Written by Bob Ray Tuesday, 7 May 2013 12:00
If you are using the NewsPublisher extra for MODX Revolution and would like to restrict users to editing only pages they created, there’s a fairly simple solution.
When you put the
[[NpEditThisButton]] tag on a page, front-end visitors who are logged in will see a button labeled “Edit” on each page. Clicking on it will launch NewsPublisher with that page loaded in the editor. The secret to keeping users from editing other user’s pages is to just not show them the button. This is easy to do with a simple snippet and a tag in your Template.
- Khaleel Demeri on Prevent Malicious Bots/Spiders From Accessing Your Site Using .htaccess
- Jordan on Prevent Malicious Bots/Spiders From Accessing Your Site Using .htaccess
- JP DeVries on Disappearing Articles in MODX
- Andrien on Web Deploy – Common Errors
- Kou on How to Show “Upload” Tab to Logged in Users Only Using a Custom Template in Clip-Bucket v2