Revija is a powerful and ultra-responsive theme which can perfectly serve any type of business, freelance or interactive sphere creation. For theme support that cannot be found in this documentation, please visit our support forum.
There are several ways Revija can be installed. For existing sites that already have content, the first method will only involve the installation and activation of the theme. The second option includes a full Drupal 7 installation with the same SQL database file used to create the theme demo. Please choose which installation method works best for you and follow the instructions. We do highly recommend you to perform the full installation, especially if you plan on using the Commerce functionality.
Download Drupal: https://drupal.org/portfolio/drupal to install default Drupal.
Video: Installing Drupal 7Option 1:
The following steps are designed for people that have experience in installing Drupal and importing databases manually. If you do not feel comfortable with performing these steps by yourself, contact your server administrator for help. NOTE this option is for a completely new Drupal install. Do not import the provided SQL file into an existing Drupal database or you will lose all of your data!
The following steps are designed for people that have experience in installing Drupal and importing databases manually. If you do not feel comfortable performing these steps by yourself, contact your server administrator for help. NOTE this option is for a completely new Drupal install. Do not import the provided SQL file into an existing Drupal database or you will lose all of your data!
Step 1: Run url http://yourdomain.com/ and Choose Revija (Install profile for Revija themes)
You can find all of the modules used in the demo in the modules.zip archive in the root of the folder you downloaded from ThemeForest. Not all modules are required to use the theme, but below is a list of modules you will need to utilize various elements of the theme
Copy all folders under "/Theme Package/modules/*" to your existing drupal site "/sites/all/modules/*"
Copy all folder under "/Theme Package/libraries/*" to your existing drupal site "/sites/all/libraries/*", if you dont have "/sites/all/libraries" on your existing site, you need to create one.
Visit yourdomain.com/admin/modules to activate all modules needed to install (select the following checkboxes to ENABLE (or Choose ON) those modules and click Save configuration).
Activate modules in Drupal core: Blog and PHP filter.
Set permissions for module Search (Visit yourdomain.com/admin/people/permissions#module-search and select all checkboxes of "Use search").
Remove tag <br> auto insert in Block static: Visit yourdomain.com/admin/config/content/formats/full_html and uncheck Convert line breaks into HTML (i.e. <br> and <p>)
Visit yourdomain.com/admin/appearance/settings/revija to configure your theme's settings. You can select Page layout, Header layout, Footer layout, Add your own custom CSS, Add your own custom logo, etc.
Visit yourdomain.com/admin/appearance/settings/revija select Tab Design You can select settings theme layout for Revija.
Revija has a total of 9 Vocabulary Taxonomies: Blog Categories, Blog Tags, Portfolio Categories, Portfolio Tags, Product Attributes, Product Categories,...
Visit yourdomain.com/admin/structure/taxonomy/add to add taxonomy Blog Categories.
Visit yourdomain.com/admin/structure/taxonomy/blog_categories/add to Add term for Blog Categories.
Visit yourdomain.com/admin/structure/taxonomy/add to add taxonomy Blog Tags.
Visit yourdomain.com/admin/structure/taxonomy/tags/add to Add term for Blog Tags.
Visit yourdomain.com/admin/structure/taxonomy/add to add taxonomy Portfolio Category.
Visit yourdomain.com/admin/structure/taxonomy/portfolio_categories/add to Add term for Portfolio Categories.
Visit yourdomain.com/admin/structure/taxonomy/add to add taxonomy Portfolio Tags.
Visit yourdomain.com/admin/structure/taxonomy/portfolio_tags/add to Add term for Portfolio Tags.
Visit yourdomain.com/admin/structure/taxonomy/add to add taxonomy Product Categories.
Visit yourdomain.com/admin/structure/taxonomy/terms/add to Add term for Product Categories.
Visit yourdomain.com/admin/structure/taxonomy/add to add taxonomy Product Attributes.
Visit yourdomain.com/admin/structure/taxonomy/product_attributes/add to Add term for Product Attributes.
Similar for others taxonomy
Visit yourdomain.com/admin/structure/types/manage/art-portfolio/fields to add fields for content type Portfolio (check Add existing field)
Visit yourdomain.com/admin/structure/types/manage/blog/fields to add fields for content type Blog (check Add existing field)
Create a content type named Product Display (check Add existing field)
Visit yourdomain.com/admin/config/search/path/patterns to configure URL aliases of Portfolio and Blog.
Visit yourdomain.com/node/add/blog to create a node blog.
Visit yourdomain.com/node/add/portfolio to create a node portfolio.
Visit yourdomain.com/node/add/product-display to create a node for Product Display.
Visit yourdomain.com/node/add/event to create a node for Event.
Revija features 26 View Blocks and View Pages created from the content types. You can create the View by importing code in the folder "files_export_views".
Visit yourdomain.com/admin/structure/views/import to create a view by importing code from (/files_export_views/blog_block.txt).
Click clone in top right corner of View
Change Machine Name for new clone Views
Click information to open pop up. This show all templates file of new Clone View
Open source code, clone file template of old view (by old machine name) and rename to new view
Example: Original View
New Clone View:
Click Save, then clear All Caches
Visit yourdomain.com/admin/structure/pages and select page to edit
The front page seen on the Revija demo consists of various block regions. Some are generated by Views, and some are custom blocks with special markup. You can find all of the markup used on the demo front page inside the html_block and content_page_demo folder in the root of the theme folder.
Visit yourdomain.com/admin/structure/block to disable all Blocks in Region Help default (return "No blocks in this region") and click button Save blocks
Revija features 34 block regions where you can add your own custom content. Visit yourdomain.com/admin/structure/block to add your own content to the defined block regions. Press "Add Block" to create a new custom block, or select an existing block from the Disabled list below the defined block regions.
All HTML files to create Block Static in folder html_block
Revija features 5 header regions: Top Bar, Advertising Header, Menu, Search Form, Shopping Cart You can use the "demonstrate block regions" link on yourdomain.com/admin/structure/block to see exactly where these are located, but the names are fairly self explanatory. If you would like to mimic the social icon region seen above the menu on the demo you can use the following markup in a block:
Revija has a total of 8 content block regions: Advertising Node Content, Before Content, Content, After Content, Spotlight, Review Overview, Sidebar Right, Sidebar Left Like the Header regions described above these regions are fairly self explanation. One thing to note is that the before content regions are called outside of the main content wrap so you can use completely full width content (like the Slider) or use your own custom wrappers. Those regions are there to do whatever you like with and are not restricted by any additional markup.
Finally there are 9 footer block regions: Footer Box 1, Footer Box 2, Footer Box 3, Footer Box 4, Footer Box 5, Footer Box 6, Footer Top, Footer Bottom and Footer Copyright.
Visit yourdomain.com/admin/structure/block/manage/system/main-menu/configure select Region Setting of Revija to be Menu Region to show menu.
Revija has a block region called Menu which can be used to add any menu block you like. The demo simply uses the default Main Menu block but you can create a custom menu block if you like.
Note: make sure to check the "show as expanded" box on all parent items with children to ensure the dropdown menu works correctly.
Revija supports 6 types of Home Page display:
Example: Home Page Default
Visit yourdomain.com/admin/structure/pages/import to create a panel page by importing code from (/files_export_panels/files_export_panels.txt).
You can drag and drop Blocks in Layout designer to change position of Blocks.
You can apply the same steps to other Home Versions
Revija supports 2 types of Projects display.
Portfolio Page - Example: http://velikorodnov.com/drupal/revija/portfolio_1column_with_sidebar
This is the standard Portfolio style which utilizes the "Portfolio" View. If you are not using the full demo or did not use the Custom Content module you can use the code in /files_export_views/portfolios.txt to import this View. Then simply place the "View Page" width path is yourdomain.com/portfolio-two-columns .
Add Menu: Visit yourdomain.com/admin/structure/menu/manage/main-menu/add to add a Menu named Portfolio 2 columns under parent menu Portfolio.
Template single Portfolio is file "sites\all\modules\art_module\art_portfolio\theme\node--portfolio.tpl.php".
Blog Page - Example: http://velikorodnov.com/drupal/revija/blog_category2
This is the standard Blog style which utilizes the "Blog Style Page" View. If you are not using the full demo or did not use the Custom Content module you can use the code in /files_export_views/blog.txt to import this View. Then simply place the "View Page" width path is yourdomain.com/blog.
Add Menu: Visit yourdomain.com/admin/structure/menu/manage/main-menu/add to add a Menu named Blog List under parent menu Blog.
Revija supports only 1 type of Content.
Template single Shop is file "sites\all\themes\revija\templates\node\node--blog.tpl.php".
Revija supports Drupal Commerce.
Revija supports the Drupal Commerce module, a powerful eCommerce framework for building online stores. Drupal Commerce has a complete set of documentation which we highly recommend reading if you have never used DC before. We will go over some of the basics and highlight the aspects of the theme that enhance DC and how you can use them on your site. If you do plan on using Drupal Commerce with your installation of Revija we also highly recommend you install the full demo content as it will provide you a completely functional configuration of Drupal Commerce to begin working with.
- You need to download and install Drupal Commerce module. Click here to follow this article. - Active module Commerce: Visit http://yoursite.com/admin/modules and active Commerce.
Create the taxonomy of Product Content Type: Product Attributes, Product Categories, Product Manufacturer, Product Tags. Follow this article http://arrowtheme.com/userguide/revija/#toc9
Create the fields of Product Content Type. Follow this article http://arrowtheme.com/userguide/revija/#toc10
When the Commerce module is activated you can visit /admin/commerce to begin configuring Drupal Commerce. We will not be going over every options page, but we will outline the creation of Product Types and explain how that relates to the "Product Display" content type. Visit /admin/commerce/products/types to begin creating your own Product Types. Below is an example of what the fields look like on a Revija demo product type:
Product Types have some default fields like Product SKU which are required for Commerce products to function correctly, but you can create as many additional fields as you need for your products.
As described earlier in the Content Types section of the documentation, Revija uses a content type called Product Display which acts as a bridge between Drupal and Commerce products. The "Product Reference" field allows you to create your product(s) at the same time of the node creation. Below is a step by step guide for using this content type to create a Drupal Commerce product node in Revija:
Shop page is a view page /admin/structure/views/view/shop/edit
This is the standard Shop style which utilizes the "Shop" View. If you are not using the full demo or did not use the Custom Content module you can use the code in /files_export_views/shop.txt to import this View. Then simply place the "View Page" width path is yourdomain.com/shop .
Template single Shop is file "sites\all\themes\revija\templates\node\node--product_display.tpl.php".
To make use of the Wishlist functionality that can be seen on the Revija demo you will need to install the Flag module. After that, you need to visit /admin/structure/flags/import to import the following code:
$flags = array(); // Exported flag: "Shop". $flags['shop'] = array( 'entity_type' => 'node', 'title' => 'Shop', 'global' => '0', 'types' => array( 0 => 'product_display', ), 'flag_short' => 'Add to Wishlist', 'flag_long' => '', 'flag_message' => '', 'unflag_short' => 'Remove Wishlist', 'unflag_long' => '', 'unflag_message' => '', 'unflag_denied_text' => '', 'link_type' => 'toggle', 'weight' => 0, 'show_in_links' => array( 'full' => 'full', 'teaser' => 'teaser', 'rss' => 0, 'search_index' => 0, 'search_result' => 0, 'art_portfolio' => 0, 'token' => 0, ), 'show_as_field' => 1, 'show_on_form' => 0, 'access_author' => '', 'show_contextual_link' => 0, 'i18n' => 0, 'api_version' => 3, ); return $flags;
Then if you don't already have it you can use the code in /files_export_views/wishlist-block.txt to create a View to display a block of the Wishlist items.
Contact page create by webform page (yourdomain.com/node/11/edit?destination=admin/content)
Edit Contact Form : Visit yourdomain.com/admin/content, edit Contact Form (type Webform), select tab WEBFORM
Add field Contact Form :
Q: When I tried to import file sql into this “mySite” DB, mySql pops error message saying #1062 – Duplicate entry for key ‘PRIMARY’
A: Please create a new db (empty db) and import file sql. If you import db to one available, it will be error.
Q: How to remove the Breadcrumbs, Switcher Control or Social Widget?
A: Please go to yourdomain.com/admin/appearance/settings/revija, in tab General, uncheck checkbox and Save.
Q: How can we choose different homepage versions for our homepage?
A: Please go to yourdomain.com/admin/config/system/site-information, change link in Default front page field. Example: “index-layout-2”.
Q: How to change the fonts style for the theme?
A: Please open file:
\sites\all\themes\revija\css\style.cssImport new font after line 22 (font Roboto is default). Example:
@import url(http://fonts.googleapis.com/css?family=NameOfNewFont:300,700,500,300italic);Then search and replace all font-family by NameOfNewFont in all file css.
Q: How to hidden notice?
A: Please open file
\sites\all\themes\revija\index.phpand put code in top of file
error_reporting(0); ini_set('display_errors', FALSE); ini_set('display_startup_errors', FALSE);
How to fix this error?
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1041532 bytes) in /path-to-website/includes/database.mysql-common.inc on line 41
A: Please open file
\sites\all\themes\revija\index.phpand put code in top of file
Q: How to config slider for each homepage?
A: Please go to yourdomain.com/admin/structure/block/, then config block "ReVolution Slider Block"
Thank you very much for purchasing the Revija Multipurpose Drupal 7 theme. Once again if you have any issues or feedback please contact via the ThemeForest author page. Enjoy using Revija!
© 2015 Arrowtheme.