4

Custom view.tpl.php file D7 HELP!!!!

http://drupal.org

HI!
I need support quickly... I change things on the html code outside a view. adding id:s n stuff like that.
I tried to create specific tpl.php files in modules/views/theme/ as:
views.[views-name].tpl.php
view.[views-name].tpl.php
view.id.[views-name].tpl.php

I created a new file with one of this names and copied the views-view.tpl.php and paste it on the new file
and added an id:

<?php if ($rows): ?>
    <div class="view-content">
<div id="slider">
<?php print $rows; ?>
</div>
    </div>

but it doesnt change anything!!!! how can i do this?
and how can I set ids and classes outside the views row in the tpl.php files?
I dont know how i can work with the html code with the views.
Im working with D7 and the documentation isnt friendly at all.

please help me. If you have time please send the answer to giovanni@giovi.me

,
Giovanni

Read »
Created by Dplanet 1 year 11 weeks ago
Category: Modules   Tags:

PSD to Drupal Theme

Drupal Development

Module Development

Get an Estimate

Best published scoops - Modules

Tags for Custom view.tpl.php file D7 HELP!!!!

Recent comments