Allow osclass admins, to publish news in them site.
- This module is in beta stage, because is needed to add better configurations in the module, and adapt the frontend to the normal osclass theme.
- Enable module.
- Add a link to your theme, that point to http://yoursite.com/news
- Modify your .htaccess to enable mod rewrites (friendly url)
RewriteEngine On RewriteBase / \#News RewriteRule ^news/read/([^/]*)/([^/]*)\.html$ /oc-content/plugins/gz_news/pages/item.php?i=$1&title=$2 [L] RewriteRule ^news/$ /oc-content/plugins/gz_news/pages/index.php [L] RewriteRule ^news$ /oc-content/plugins/gz_news/pages/index.php [L] \#Normal OSCLASS RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]