CCK

Events happening in the community are now at Drupal community events on www.drupal.org.
michaelsilverman's picture

Synchronizing Date content types with personal calendars

Have a website that is using the Date and Calendar modules. Need to allow user to upload these events into their personal calendars (or a Google calendar). Can export initial events via the Views ICAL display type but subsequent uploads create duplicate calendar entries. Anyone have a method to synch calendars?

Read more
druplicate's picture

How to use Flag to trigger opening a custom CCK form for editing?

This seems like a very common task yet I can't seem to do it.

I want to have flag button on a page that an anonymous visitor can click to open a custom CCK form to enter email, and a short note, to be sent to an email address and have the form saved in the DB as a node so I can look at it later with Views. I also want the NID of the page that was flagged to be passed to the form. (I am using the dev version of Flag that allows anonymous flagging)

Webform can do this I believe but does not save items as nodes, so it's limited to what the module gives you.

Read more
sonngoc's picture

Cần giúp đỡ để xây dựng website

Chào các bạn,

Mình mới bắt đầu tìm hiểu về Drupal mấy ngày nay do yêu cầu công việc. Hiện giờ website mình cần làm là một website về quản lý dữ liệu, hệ thống của mình có khoảng 20 tables. Mình cần viết một trang Admin để thêm, bớt, xóa, sửa thông tin trong 20 tables đó.

Qua tìm hiểu thì mình thấy CCK module có thể cho thêm vào các kiểu content tùy ý, nhưng cũng chưa biết phải bắt đầu với website của mình như thế nào.

Liệu:
- Mình sử dụng Drupal để phát triển website như trên có được ko?
- Sử dụng CCK có giúp mình đạt được kết quả như mong muốn ko?

Mong các bạn chỉ dẫn.

Read more
nonprofit's picture

Creating a Rules-driven admin dashboard

Hello,

I am somewhat new to Rules and am amazed by what it can do. I've got a situation where I believe Rules is the best tool, (I have also considered http://drupal.org/project/computed_field and http://drupal.org/project/views_calc). Any insight you have would be greatly appreciated.

Read more
tky's picture

CCK field for vote and annual-ranking

Hi, everyone:
Recently I need to add some features to a book review website which is built and maintained by myself.
One idea is that every book as a node could be voted by user and the result be shown in an view page, according to the duration(like 2007 vote, 2008 vote.....).

Another idea is that every book node is able to record an annual ranking result from other communities or websites, such that it could show the ranking and time in each node and a view page.

Read more
markus.lar's picture

Fält som visas baserat på val av typ

Hej!

Jag har för mig att jag tidigare sett någon diskussion om detta, men kan inte hitta tillbaka till det hela.

Jag vill skapa en innehållstyp. Den ska innehålla ett visst antal parametrar. Däremot finns det vissa variationer som gör att alla fält inte är applicerbara på alla olika "undertyper". Val skall alltså komma fram / försvinna beroende på tidigare val. Jag vet också att det i framtiden kommer att komma nya undertyper.

Read more
firstamendrulez's picture

HELP: Hiding fields (in my case, images) that are empty when using CCK

I'm making an article/story content type with CCK and I have it looking the way I want it to but a dilemma has arisen: how do you hide fields that are styled with CSS when no data is entered. In my specific situation, an article contains all the fields needed (headline, byline, text) but no image is imputed.

I have images styled so that they float to the left and the text will wrap around (similar to the way it would in usatoday.com). But if no image is uploaded, the styling is still visible and leaves an awkward space where it would have been. See the screen shots below.

Read more
danny englander's picture

Best practices for event registration?

I am converting a WordPress site to Drupal and we currently have an event registration form where you can signup / RSVP for an event. Anyone can go to the form and signup, you don't need to get invited or register on the site. I have looked at the Drupal Signup and CCK Signup modules but neither seems to do exactly what I need. With Signup, it seemed difficult to add custom fields and with CCK Signup, there was some question as to whether or not anonymous users could signup but documentation is lacking for the latter.

Read more
adamevertsson's picture

Blir galen

För fritidset vi håller på och gör en sida åt ska det finnas en lista som håller ordning på städschemat över lokalen. För att de inte ska kunna strula till det valde vi att göra en ny innehållstyp som heter Städvecka. Titelfältet får innehålla namnet på personen som ska städa och sedan lades det till ett heltalsfält med tillåtna värden 1-53. Än så länge inga problem... information gick att lägga till och så...

Men när det var dags att göra en View så börjar det strula. Jag gjorde en Block-view där jag valde följande:
Fält:
Innehåll: week
Nod: Titel

Filter:
Nod:Typ = Städvecka

Read more
peteralex's picture

JSON server - problem att få "node.save" att fungera med cck-fält

Hej!

Testar att använda Drupal som backend server där jag sparar information via jQuery Ajax anrop mot JSON servern.
Jag har problem att få 'node.save' att fungera med cck fält och undrar om någon av er som lyckats bättre.
Följande node objekt fungerar:

 {"type":"mytype","title":"My Title","uid":1,"name":"admin"}

Men försöker jag lägga till ett cck fält så får jag problem. Exempelvis följande node objekt lyckas ej sparas:

{"type":"mytype","title":"My Title","uid":1,"name":"admin","field_author":"[{\"value\":\"Sigge\"}]" }

eller:

Read more
Subscribe with RSS Syndicate content