This forum is for assistance with theme development.

Profile2 for users and taxonomies

Hi all, i hope you can help me, I explain, I created in "Profile 2" for Drupal7, various types of users and want to list them by their taxonomies. The problem is that I can´t find, at the time of setting the parameters in "views", to list by taxonomy. Does anyone have this same problem with this module? Greetings and thanks in advance.

Make header smaller

Hello,

As you can see on http://bit.ly/12bWo2n the header takes too much space. I mean the black bar on top with the facebook and search bar on it. But I have no clue on how to make it smaller? Can somebody point me in the right direction?

Thanks!

Redirecting user to another login page

Hello,
I would like my site to redirect anyone who wants to log in to another login page in which i use ldap for them to log in. Right now when they log in, it takes them to the generic drupal login page (i believe it is ?q=user). I want them to go to my ldap login which is /login/pc. How do i do this? Thanks!

Themeing with Panels/ PE

I've spent the last week or 2 learning about panels and have created a basic website from a photoshop template.
The process was very straight forward and easy to get it looking right from the start.
I have used the Zen theme for a couple other projects so i used it here as well, however i'm not sure if the zen theme is actually doing anything other than making the site load more data than it needs.

first drupal theme images don´t show up

Hi!
I did a first drupal theme. I don´t have to much knowledge with the codes (html,php), but I read in several places how to do a drupal theme. I did everything, I mean all tpl.php pages, css, screenshot, .info and I have a template that actually works. But there's no layout, there's no color. I have set for example for the menu a long yellow rectangle (sliced in fireworks), in page.tpl.php I've put this code:

<?php if ($main_menu): ?>
      <?php print theme('links', $main_menu); ?>
    <?php endif; ?>

In style.css I've put:

#main-menu {
	clear: both;
	
}

#main-menu-links {
	background-image: url(images/menu.jpg);
	position: relative;
	height: 71px;
	width: 960px;
	font-size: 0.929em;
	margin: 0;
	padding: 0 15px;
}

#main-menu-links li {
	float: left; /* LTR */
	list-style: none;
	padding: 0 1px;
	margin: 0 1px;
}
#main-menu-links a {
  color: #000000;
  float: left; /* LTR */
  height: 2.4em;
  line-height: 2.4em;
  padding: 0 0.8em;
  text-decoration: none;
}

And there's no yellow rectangle.
The same for the logo:

<a href="<?php print $front_page;?>">
      <img src="/<?php print $directory;?>/images/logo.jpeg" alt="<?php print $site_name;?>" height="59" width="159" align="middle"/>
   </a>

I must say that all images are in the folder images in the theme folder.

footer column regions

Hello,

I am in the process of creating footer column regions for my theme. After a few attempts of playing around with code, I think I am heading in the correct direction. However, I am having issues maintaining a vertical arrangement. I would like to have three column regions in my theme. The three columns would of course appear before the footer.

this is what I have so far:

.info file snippet:

regions[ftfirst_column]  = Footer first column
regions[ftsecond_column] = Footer second column
regions[ftthird_column]  = Footer third column
regions[footer]         = Footer

this is the page.tpl.php file snippet:

<div id="footer-piece"><div class="section">
    <?php if ($page['ftfirst_column'] || $page['ftsecond_column'] || $page['ftthird_column']): ?>
      <div id="footer-columns" class="clearfix">
        <?php print render($page['ftfirst_column']); ?>
        <?php print render($page['ftsecond_column']); ?>
        <?php print render($page['ftthird_column']); ?>
      </div> <!-- /#footer-columns -->
    <?php endif; ?>

    <?php if ($page['footer']): ?>
      <div id="footer" class="clearfix">
        <?php print render($page['footer']); ?>
      </div> <!-- /#footer -->
    <?php endif; ?>
  </div></div> <!-- /.section, /#footer-piece -->

Pages

Subscribe with RSS Subscribe to RSS - Theme development