Results 1 to 4 of 4

Thread: Filtro su list view

  1. #1
    piccirm2 is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    65

    Default Filtro su list view

    Salve

    sto cercando di capire dove poter aggiingere un filtro modificando la where condition in un modulo (per es meeting)
    Nel meeting.php vedo la funzione create_list_query ma evidentemente non è quella che viene utilizzata perchè modificandola non vedo effetti

    qualcuno sa aiutarmi a capire dove poter aggingere al condizione di filtro ????


    grazie

  2. #2
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: Filtro su list view

    Ciao,
    le query sui meeting stanno proprio dentro meeting.php.
    Però se fai delle modifiche direttamente lì dentro, queste non saranno Upgrade safe, cioè vengono sovrascritte quando aggiorni Sugar ad una successiva release.
    What do you think the cookie monster eats ?

  3. #3
    piccirm2 is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    65

    Default Re: Filtro su list view

    ok grazie
    il problema ? che se anche commento l'intera funzione create_list_query in meeting.php non cambia nulla. ci? starebbe a significare che non ? quello il file giusto ? e poi come faccio a fare le modifiche upgrade safe ?

    ciao
    ________
    buy volcano vaporizer
    Last edited by piccirm2; 2011-01-18 at 10:18 PM.

  4. #4
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: Filtro su list view

    Quote Originally Posted by piccirm2
    ok grazie
    il problema è che se anche commento l'intera funzione create_list_query in meeting.php non cambia nulla. ciò starebbe a significare che non è quello il file giusto ? e poi come faccio a fare le modifiche upgrade safe ?

    ciao
    commentare il codice in quel file non è sicuro nè tantomeno sufficiente.
    Devi svuotare la cache in modo che vengano caricati i cambiamenti.
    Per applicare modifiche sicure, scrivi nei file dentro la cartella custom/modules/<nome-modulo>
    se questa cartella non esiste creala.
    Ti consiglio di dare un'occhiata al wiki prima di procedere con lo sviluppo.
    What do you think the cookie monster eats ?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 4
    Last Post: 2009-10-28, 10:21 AM
  2. Help with List View
    By crsoftware in forum Help
    Replies: 3
    Last Post: 2007-07-31, 06:12 PM
  3. Edit Leads List View, Leads Dissapeared!
    By Kallisti in forum Help
    Replies: 3
    Last Post: 2007-05-04, 11:37 AM
  4. Replies: 0
    Last Post: 2006-06-15, 01:34 PM

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
  •