Identi.ca Identi.ca
  • Login
  • Public

    • Public
    • Groups
    • Featured
    • Popular

Conversation

Notices

  1. Peter Anderson Peter Anderson Drupal

    What page.tpl.php filename would I use for overriding the 'node/add/content_type' page/form? !Drupal

    Thursday, 04-Jun-09 05:41:33 UTC from Gwibber
    • yareckon yareckon

      @bwpanda I *think* the edit side (as opposed to display) requires you to use hook_form_alter functions rather than templates in D6 at least

      Thursday, 04-Jun-09 07:12:23 UTC
    • Pierre Buyle Pierre Buyle

      @bwpanda According to Themer Info, you need to use node-add-content_type.tpl.php. But .tpl cannot be used to override the form itself

      Thursday, 04-Jun-09 07:53:00 UTC
    • Christian Christian Drupal

      @bwpanda: For forms see http://www.lullabot.com/articles/modifying-forms-5-and-6. You specify the tpl/function name in hook_theme... !Drupal

      Thursday, 04-Jun-09 10:13:16 UTC
    • Peter Anderson Peter Anderson Pierre Buyle , yareckon , Christian

      @criz @mongolito404 @yareckon: I'm just wanting a tpl.php file I can add drupal_add_js() to so my jquery only loads for that page...

      Thursday, 04-Jun-09 22:56:49 UTC
    • David Lanier David Lanier

      @bwpanda page-node-add-content_type.tpl.php - I love it!

      Friday, 05-Jun-09 02:28:04 UTC

Site notice

  • API
  • Status

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Identi.ca is a microblogging service brought to you by Status.net. It runs the StatusNet microblogging software, version 1.1.0-alpha1, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Identi.ca content and data are available under the Creative Commons Attribution 3.0 license.

Switch to mobile site layout.

Built in Montreal