Results 1 to 3 of 3

Thread: Customising EditView.tpl

  1. #1
    matt.stannard is offline Sugar Community Member
    Join Date
    Apr 2010
    Posts
    57

    Default Customising EditView.tpl

    Hi there,

    I wanted to add some customised HTML and AJAX to the edit view of a custom module.

    I found the file EditView.tpl in /cache/modules/MODULENAME/EditView.tpl

    I've put my code in there, it all works fine but I want to now put it where it needs to go to ensure it doesn't get lost, can anyone help me?

    M
    --
    Sugar Version 5.2.0l (Build 5843)
    --
    Matt Stannard
    IT Strategist
    mattstannard.com

  2. #2
    Join Date
    Aug 2010
    Posts
    14

    Default Re: Customising EditView.tpl

    should be upgrade safe if you put your file there:

    custom/modules/MODULENAME/EditView.tpl

  3. #3
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: Customising EditView.tpl

    Edit custom/modules/MODULENAME/metadata/editviewdefs.php and put your ajax in there (copy from modules/MODULENAME/metadata if that file does not exist yet). For the HTML you may need to override and create a custom/modules/MODULENAME/views/view.edit.php depending on what you're trying to accomplish.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Customising popupdefs.php
    By mjeminemlee in forum Developer Help
    Replies: 0
    Last Post: 2010-06-22, 03:46 AM
  2. Customising Vardef
    By cryptex in forum Developer Help
    Replies: 0
    Last Post: 2010-02-25, 10:19 AM
  3. Customising problems
    By shanki in forum Help
    Replies: 0
    Last Post: 2007-11-27, 09:54 AM
  4. Customising Forms
    By RJO in forum Help
    Replies: 4
    Last Post: 2007-10-12, 01:42 PM
  5. Customising Sugar.... again
    By Deland02 in forum Help
    Replies: 4
    Last Post: 2007-03-09, 05:36 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •