Howto - Theme add block regions
Theme files are in sites/all/themes/themename.
First of all you need to open the theme-name.info. In that file you are able to define your new regions like that.
The regions Content left/right are customized regions for the two new Blocks.
Now drupal nows the regions but it can not put content there because they are not implemented in the template files.
Howto - Create Views Example news_topics
Views are administrated and created in the view admin page.
The main menu is on the top. You are able to:
- List all existing views
- Add new views
- Import views
- Tools (some sort of settings, normally you will not need that)
Then you have another menu in every View, what provides you the possibility to:
Howto - Increase filesize of uploadable files
Edit the php.ini in the public_html folder and change the number to your filesize. (FTP)
upload_max_filesize = 64M
post_max_size = 64M
Howto - Access Denied process
There are two general settings to control the access denied behavior
- modification of page.tpl.php
- page for the login
1 ) modification of page.tpl.php
add this line at the top to the file page.tpl.php of your theme
Howto - Change CWG main logo link
At a glance:
- in the file diretory go to sites/all/themes/<the theme>/templates/overrides
- change files page.tpl.php
Detail
Download the file page.tpl.php from the folder sites/all/themes/<the theme>/templates/overrides and open them for edit mode.
Change the code and add the URL the link should point to
Howto - Howto
Create Howto
Howto - Administer Roles
Create / Delete Roles
To create or delete a role navigate to "Administer -> User management -> Roles". To create a new one type in an role name an click on "Add role".
To delete a role go on "edit role" and then delete. To configure access for roles click on edit permissions. You can also navigate to "Administer -> User management -> Access Control" for an overview of access with all roles.
Howto - View Ad Statistics
There are two places where to view ad statistics. One is the overview where you can view the statistics of the single ad groups (i.e. AdditionalSponsors, HeaderBaner ... ). The other is the single statistic for each banner.
Statistics Overview
Navigate to "Administer -> Ads -> Statistics". There you can look at the statistics for every ad group.
Howto - Change error pages
You can set any drupal page as a custom 404 (not found) and 403 (access denied) error pages. To do this navigate to "Administer -> Site Configuration -> Error reporting" and set the page you want to be displayed.
If you only want to change the content of an existing custom error page you have to search it under "Administer -> Content" or simply go to the URL of the error page (get it from Administer -> Site Configuration -> Error reporting) and click on edit.
Howto - Create CWG Review Section
Creating a new CWG Review Section requires some consectutive steps:
- Create a new term in the CWG Review vocabulary.
- Create a view.
- Move menu entry.
- Setting permissions.
- Configure Menu Trail.
Please make sure you followed all instructions step by step. Otherwise it is possible non authorisized people have acces to CWG review.