This code..

<?php
  global $user;
  if (user_access('create prices content', $user)) {
    $output = l(t('Create New Price'), 'node/add/prices');
    print $output;
  }

.. placed in the header section of a View displays a link which goes to the content type node creation form. How do I change it to go to
a page with a custom form to add a new prices node - the path to the form is examples/prices ?

Comments

peterk900’s picture

Sorry - not thinking !
Problem is solved by replacing node/add/prices with the form path examples/prices