To use any of these snippets using the front_page.module (allows you to specify a "splash" page to your site and different front pages for anonymous/authenticated users) Simply follow these steps once you have the front_page.module installed properly:
Step 1: Go to ADMINISTER -->> SETTINGS -->> FRONT_PAGE
Step 2: In the text areas available, paste in your PHP Snippet(s).
Step 3: Select the ALLOW EMBEDDED PHP option.
Step 4: Select if you want a FULL/THEMED Front Page.
Step 5: Click on SAVE CONFIGURATION once you are happy with your front_page settings.
‹ More sophisticated layout/styling of node pagesupA page to clear your cache
0 коммент.:
Отправить комментарий