creating a new page

arendina's picture
arendina
Tue, 12/15/2015 - 13:30
#1
creating a new page

We need to create a normal page, without one-page slider that show only the page content. How can we do this?

phuonght's picture
phuonght
Tue, 12/15/2015 - 22:28

Hi,

Here is instruction to create a page:

- In md_viska/template/page/, copy file page--blog.tpl.php to create new file: page--contentype.tpl.php (for example: page--article.tpl.php)

- in  file page--contentype.tpl.php 

line 18:

replace

<?php include drupal_get_path('theme', 'md_viska') . '/template/header-blog.inc'; ?>

with

<?php include drupal_get_path('theme', 'md_viska') . '/template/header-contentype.inc'; ?>

- from line 55 to line 69 replace with

<div>
<div>
<?php print render($page['content']); ?>
</div>
</div>

- in md_viska/template, copy file header-blog.inc to create new file: header-contentype.inc

- tin file header-contentype.inc, if you would like to remove header slide, please delete code from line 27 to line 66 

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.