Archive for the ‘modx’ Category

using https with modx

January 14th, 2012, posted in modx
in many cases you want to secure your site in many ways.one of them is https if you want to use https in your modx cms you can simple use it. for example if you want to use https for all urls you just need to change a system setting called scheme just go to system setting and search for scheme setting and change its value to 1  

modx cache

December 31st, 2011, posted in modx
in modx your website content is mostly stored in database.apart from the content your custom components will interact more often with database for every page request instead of depending upon database results all the time you can ache the results modx already implemented caching in number of ways all your pages will be cached by default.if you t

modx login redirecting user to referred page

November 17th, 2011, posted in modx
Redirecting user to referred page while using modx login you may want to redirect user to the referred page after successfull login .we can do this easily as Login component already have a property called redirectToPrior for example when you send user to login page from about us page ,after user is suucessfully logged you want him to redirect

create single template for multiple column layouts

September 23rd, 2011, posted in modx
in most cases every site need different column layouts depending upon the page for example home page body needs single column layout and other pages needs two column layout except the body/middle part everything else is same in these 2 layouts do we really need to create 2 templates to accomplish this task? of-course no,you can create one tem

write advanced snippet sending messages

September 22nd, 2011, posted in modx
here we are going to learn how to send,read messages between users the demo can be found here http://reddy.kodingen.com/index.php?id=25 login details username:demouser password:demouser another login details username:demouser2 password:demouser2 in the last tutorial we have learned how to write a basic snippet now lets move to a bit advan

write basic snippet profile page

September 22nd, 2011, posted in modx
in the last tutorial we have learned how to use a snippet now lets move forward and leran how to write new snippets according to your requirements i assume you have basic understanding of how to use modx here we are going to create a basic profile page of your site user modx have 2 important tables for user information modx_users :which store