Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8801427
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T00:49:51+00:00 2026-06-14T00:49:51+00:00

my content type, plan to have one or more ‘articles’. the following php code,

  • 0

my content type, plan to have one or more ‘articles’.

the following php code, I can get them all:

<?php print render($content['field_articolo_di_riferimento']);?>

and I get the following result:

enter image description here

I would like to remove the title in bold above the links of the articles, so I tried:

<?php 
  $lenght = count($field_articolo_di_riferimento);

  for($i=0; $i<lenght; $i++){
  print render($content['field_articolo_di_riferimento'][$i]);
}
?>

but does not work. It is probably the wrong way I use to count the length of the array.

this is the structure of my content type:

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T00:49:53+00:00Added an answer on June 14, 2026 at 12:49 am

    Instead, why don’t you go to Manage display of your content type. ?q=admin/structure/types/manage/CONTENT_TYPE/display

    And next to your field Articolo di Riferimento for the Label value choose <Hidden>. That should hide the label from the node display.

    This is much similar. Besides the code you use will never affect the label.

    Hope this helps… Muhammad.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a content type called fund. The contents of this is in node-fund.tpl.php
How can I hand code a custom content type, and with all its fields.
We can get content type by calling method: XQPart.getContentType() but I don't know how
header(Content-type: image/gif); readfile($filename); The above can only be used to show gif images. Is
I have an archetype content type that previously was not folderish. Now I have
edit/operacoes.php header('Content-Type: application/json'); include('../../lib/mysql.class.php'); $db = new MySQL(); if($db->Error()) $db->Kill(); //VARIÁVEIS DA FORM $id
I have a content type Task, where we create task for ourself or user
I have a custom content type create in visual studio 2010: custom http://img204.imageshack.us/img204/439/customf.jpg Here
I have a content type including two fields: First name(node title) and Last name(text
I have a content type that references multiple nodes, and I need a way

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.