README.txt 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /* $Id: README.txt,v 1.1 2011/01/22 02:30:55 goodman Exp $ */
  2. -- SUMMARY --
  3. Pages module allows you to create pages from static text files.
  4. It's a simple module, and useful when working with installation profiles.
  5. -- INSTALLATION --
  6. * Install as usual, see http://drupal.org/node/895232 for further information.
  7. -- USAGE --
  8. Pages grab files from two locations:
  9. - files/pages directory
  10. - modules/pages/pages directory
  11. You can put the files inside folders to organize them, e.g.:
  12. - files/pages/about/about.txt (The title of the page will be About)
  13. - files/pages/about/team.txt
  14. - files/pages/privacy/policy.txt
  15. - files/pages/terms/terms.txt
  16. - files/pages/work/work_decoration.txt (The title of the page will be
  17. Work Decoration)
  18. Pages can create menu items for these pages (default main menu). @todo a way to
  19. change this menu
  20. Pages can also works with Translation & Title project (still very expermintal), e.g.:
  21. - files/pages/about/about-en.txt
  22. - files/pages/about/about-ar.txt
  23. To get your pages you can either:
  24. - Enable the module and it'll create them
  25. - Call this function:
  26. pages_create();
  27. or
  28. pages_create(array('menu' => 'secondary-menu'));
  29. -- CONTACT --
  30. Current maintainer:
  31. * Khaled Alhourani (good_man) - http://drupal.org/user/265439