php question

I am using Views php in Drupal 6. I need to do an if statement to find if nodehierarchy_parent is equal to the value 0. Then do something. Right now I have it set to if the value contains a 0. My code is below.

<?php
if (strpos($data->nodehierarchy_parent,'0')) {
print 'hello';
}
else print $data->nodehierarchy_parent;
?>

RFP for upgrade from Drupal 6 to Drupal 7, including adding CiviCRM, upgrading Commerce

January 12, 2016

SUBJECT: Request for Proposal for 2016 Website Implementation Phase

Dear Prospective Respondent,

You are invited to submit a proposal for the above subject to the New York-New Jersey Trail Conference (NYNJTC, www.nynjtc.org). The details of our request are contained in the attached Request for Proposal and additional attachments.

For your convenience, the main events in the timeline are detailed below:

Drupal 6 Long Term Support (D6 LTS) vendors announcement

As we announced, Drupal 6 will no longer be supported on Feb 24th, 2016. We asked that companies who wanted to provide long term support for Drupal 6 and met some qualifications, apply to become Drupal 6 Long Term Support team. After reviewing many applications we are pleased to announce the following vendors will be providing long term support, with support from the Security team.

D6 Views display the url redirects of a node

I need to create an inventory of a drupal6 site. I want to display the properties of all nodes. I was able display everything except for the nodes url redirects if it has any. There can be multiple results too. I am using Views with data export to a CSV file.

list all nodes on a site for inventory

I need to make an inventory of a Drupal site with hundreds of pages. I was asked for a spreadsheet that displays all of the nodes on the site and its properties from the list below:

page title
node ID
node url
menu depth
parent node
breadcrumb would be nice

I am trying Views and I have most items displayed except for parent node and breadcrumb. At least I can sort the list by NodeID. Would all of this work better using phpmyadmin and create a SQL query to join all of the data?
Thanks

Lost FTP details -

Hello,

I recently taken on the responsibility for a website and do not know the ftp details which makes any real update impossible. I have done everything I could but there is the previous person who worked on the website is not reachable by any means.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x