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

  • SEARCH
  • Home
  • 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 1079485
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T21:52:38+00:00 2026-05-16T21:52:38+00:00

Hi i m working on content template module in drupal,but there is problem in

  • 0

Hi i m working on content template module in drupal,but there is problem in showing view of ranking field with below coding

<td width="10%" align="left"><font color="#669900"><b>Address:</b></font></td>
<td colspan="3"><?php print $node->field_perm_add_line1[0]['view'] ?>,<?php print $node->field_perm_add_line2[0]['view'] ?></td>
<td align="left"><font color="#669900"><b>Website:</b></font></td>
<td align="left"><?php print $node->field_website[0]['view'] ?></td>
<td width="8%" align="left"><font color="#669900"><b>Phone:</b></font></td>
<td width="42%" align="left"><?php print $node->field_phone1[0]['view'] ?><?php echo ","; print $node->field_phone2[0]['view'] ?></td>
<td align="left"><font color="#669900"><b>Email:</b></font></td>
<td align="left"><?php print $node->field_alt_email[0]['view'] ?></td>
<td align="left"><font color="#669900"><b>Fax:</b></font></td>
<td align="left"><?php print $node->field_fax[0]['view'] ?></td>
<td align="left"><font color="#669900"><b>Rankings:</b></font></td>
<td colspan="3"><?php print $node->field_university_rankings[0]['view'] ?></td>
<td align="left" colspan="4"><font color="#669900"><b>Description:</b></font></td>
<td style="background-color:#fff; align="left" colspan="4"><?php print $node->field_description[0]['view'] ?></td>

but for the ranking field i have designed a view which has argument title so i can’t get it how to add it please help……….
Thanks in advance Pranoti

  • 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-05-16T21:52:38+00:00Added an answer on May 16, 2026 at 9:52 pm

    You could start with a

     var_dump($node->field_university_rankings[0]);
    

    To find out how this is structured. I doubt that your code,

     $node->field_university_rankings[0]['"check_plain($node->title)"']
    

    is correct. Since Drupal would hardly use the stripped version of a title as key in an array.
    Once var_dump() tells you the exact key of that array, use that.

    I assume you will find that you will see something like

    $node->field_university_rankings[0]['value']; //=> a full, or lartial $node-object.
    $node->field_university_rankings[0]['view']; //=> a string with the title of that node, in  a link.
    

    The exact output of ‘view’ is created with display settings that go with the field. You should try to configure it in such a way, that the ‘view’ already outputs the correct string.

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

Sidebar

Related Questions

Hello I am working on this design, but there seems to be a problem
I am working on web content filtering where there is 10000 of words coming
I am drawing content to a UITableViewCell and it is working well, but I'm
I'm using Zend_View to template text email content. However, I've come across one problem
Why is the jquery selector not working? View Views.Now = Backbone.View.extend({ template:mytemplate, initialize:function ()
I am working on call-template, where the source looks like this. Source: <Content> <first>
I am currently working on Drupal site using Joomlart template JD Fashion.I have inserted
working on a content provider and I'm having an issue with it. When I
I am working on a content management application in which the data being stored
I am working on a content management system for updates where the administrator can

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.