| Previous topic :: Next topic |
| Author |
Message |
michal
Joined: 11 Feb 2007
Posts: 8
Location: Tczew
|
| Posted: Sun Feb 11, 2007 5:24 pm Post subject: Dodawanie nowego pola - załącznik |
|
|
Witam
W jaki sposób stworzyć nowe pole za pomocą którego będzie można dodawać załączniki. Próbowałem za pomocą Settings->Custom Fields, ale niestety nie ma tam pola takiego typu.
Pozdrawiam
Michał |
|
| Back to top |
|
jagi
Joined: 17 Jan 2006
Posts: 117
Location: Poland
|
| Posted: Mon Feb 12, 2007 8:00 pm Post subject: Re: Dodawanie nowego pola - załącznik |
|
|
zwyczajnie jeszcze tego nie ma , masz taka mozliwość w niektorych modulach w dodatkowej zakladce "wiecej informacji" Dodaj Załacznik ..
mozna oczywiscie to zrobic przez stworzenie nowego typu pola lub modyfikacje bezposrednio w kodzie danego modulu ale to juz dluzsza bajka ... |
|
| Back to top |
|
michal
Joined: 11 Feb 2007
Posts: 8
Location: Tczew
|
| Posted: Tue Feb 13, 2007 2:23 pm Post subject: Re: Dodawanie nowego pola - załącznik |
|
|
jagi wrote: zwyczajnie jeszcze tego nie ma , masz taka mozliwość w niektorych modulach w dodatkowej zakladce "wiecej informacji" Dodaj Załacznik ..
mozna oczywiscie to zrobic przez stworzenie nowego typu pola lub modyfikacje bezposrednio w kodzie danego modulu ale to juz dluzsza bajka ... Też widziałem to w innych modułach, ale w interesującym mnie module Vendors niestety tej funkcjonalności nie ma.
Są jakieś oficjalne tutoriale jak dodać nowe pole lub modyfikować moduł? |
|
| Back to top |
|
Lukas
Joined: 22 Sep 2006
Posts: 406
Location: Czech rep.
|
| Posted: Tue Feb 13, 2007 3:05 pm Post subject: Re: Dodawanie nowego pola - załącznik |
|
|
Hi guys, i dont speak polish but czech lang is little similar.
So, if i understand right for what you are loking i think this:
1. Is it possible create new custom field in module vendors in 5.x series.
2. when you want create new custom field with special characters procedure is:
a) create new custom field via aplication (Settings>Studio>Custom Field Settings)
b) update this (yours new) field directly in database with your requested name
SQL update look like this one:
select * from vtiger_field
- there search for your new custom field 'fieldname'
and then modified this statment for yours request
update vtiger_field set fieldlabel = 'YOURNEWREQUESTEDNAME' where fieldname = 'cf_xxx'
- ('cf_xxx' is your new custom field 'fieldname' ...)
Hope this can help you, maybe im not understand you exactly....
Thanks & regards
LN |
|
| Back to top |
|
jagi
Joined: 17 Jan 2006
Posts: 117
Location: Poland
|
| Posted: Tue Feb 13, 2007 9:14 pm Post subject: Re: Dodawanie nowego pola - załącznik |
|
|
| Lukas - by the way - nice theme Softed ;) I use it. |
|
| Back to top |
|
michal
Joined: 11 Feb 2007
Posts: 8
Location: Tczew
|
| Posted: Tue Feb 13, 2007 11:48 pm Post subject: Re: Dodawanie nowego pola - załącznik |
|
|
1. Is it possible create new custom field in module vendors in 5.x series.
2. when you want create new custom field with special characters procedure is:
...
It works good but not with attachment fields. Finally, I add a new method get_attachment to the class and add new appropriate record to table vtiger_relatedlists.
Thanks for help
Michal |
|
| Back to top |
|
Lukas
Joined: 22 Sep 2006
Posts: 406
Location: Czech rep.
|
| Posted: Wed Feb 14, 2007 12:09 am Post subject: Re: Dodawanie nowego pola - załącznik |
|
|
Ok guys, fine ...
So, thanks & regards
LN |
|
| Back to top |
|
| |