How Can I Hide Empty Fields in tpl File

I am trying to exclude fields if they are empty, on the portfolio page I am creating with node--portfolio.tpl.php.  I have tried several variations including:

             <?php if (render($content['field_portfolio_video'])): ?>
                     <h5 class="mt-sm mb-xs"><?php print t('Related Videos'); ?></h5>
                     <?php print render($content['field_portfolio_video']); ?>
             <?php endif; ?>

and 

Googlebot for smartphones found an increase in authorization permission errors

By default, Drupal prevents Googlebot for indexing comments URL by disallowing it in robots.txt as follows:

Disallow: /comment/reply/
Disallow: /?q=comment/reply/

But Google Webmasters Tools is reporting this as a problem. It reported a 2,066 blocked URLS on my site. As we all know, if there's something wrong with how Google is crawling our site, Adsense income is also being affected. So, how do you deal with this problem?

How to filter view by taxonomy parent or child ?

I want to create a view which filters on the parent taxonomy, but when a child taxonomy drills down to display only items with this child taxonomy.

Example:

- Jaguar
-- XJ
- Honda
- BMW

I have set up my view to use a contextual filter " Content: Has taxonomy term ID (with depth) " , so that the following works:

/Jaguar

This shows all (Jaguar & XJ)

However the following shows the same result:

/Jaguar/XJ

I want this Url to show only the "XJ" items. How do I go about doing this?

Updating Geofield to allow for google API key

Hello, I have 0 experience with Drupal but was tasked with taking over a client's Drupal site to get their google maps integrated with their Google API key. I will do my best to explain my situation and hope that someone can help!

An example of the site in question is: https://www.fortressproperties.ca/property/details/strathcona-distributi...

You will see "This page can't load google maps correctly."

Drupal backend info:

Drupal Core: 7.33

Drupal eCommerce helps Cátedra to sell more beers

Introbay - Catedra Beer - Drupal Development

Cátedra is a startup developed by members of the University of Murcia and located in the technology park in Fuente Álamo. For the past few years they have been making a great beer that can be found in various bars, shops in Murcia and even online.

When Cátedra Beer arrived to our office they needed a solution to sell their products online.

Cátedra came to us motivated from our positive reputation and our experience as Drupal developers.

Sectors: 
E-Commerce
Retail and Distribution
Small business
Startups

i2p2malumni

 i2P2M

International Institute of Projects and Program Management (i2P2M), is a premier institution dedicated to providing world-class education in Project, Program and Portfolio (P3) management.i2P2M's mission is to equip the project leaders and managers to handle the complexity of tomorrow by acquiring the advanced knowledge conceptual framework and best practices through case studies.

Sectors: 
E-Commerce
Education

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x