Last Updated on Saturday, 18 May 2013 10:44 Written by Bob Ray Monday, 20 May 2013 12:00
Suppose you want to make a section of your site private so that only logged-in users can see the Resources. As with most things in MODX, there are several ways to protect Resources.
One method is to put all the private Resources in a separate context and protect it by creating a Context Access ACL entry that links the private Context to one or more User Groups. Once you do that, the Resources in the Context will be hidden from everyone who is not a member of the specified group or groups. I try to keep from using Contexts if I can, because they are difficult to set up correctly and they introduce complexities that I’d rather avoid. Links to Resources in other Contexts, for example, can be tricky to implement and users often get sent to the error (page-not-found) page rather than the unauthorized page when trying to access a forbidden resource.Learn More
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
- OpenCart Themes on OpenCart – Basics of Launching a Successful Business on the Web
- steam wallet hack on How to Enable Privacy for Comments in Elgg
- steam wallet hack on Customer Can Get a Complete Solution with Arvixe Web Hosting
- Martin on Creating a Multilingual CMSMS Site Using MleCMS Module
- Paul White on Arvixe ASP.NET Web Deployment (How-To Guide)