Accessing 'to date' in CCK Date field
I am building an on-line classroom utilizing CCK Date field to indicate start and end date. The date field has a start and to date. I have a view which identifies all of the users with a sign-up for any class starting in the next day (now to now +1 day) and performs an operation. What I need is a similar view which will use the 'to date' in the CCK Date field to perform another operation. So, the question is, how can I access the 'to date' in a view?
Read moreSamma cck-fält, olika outputs
Satt och pillade på en lösning då jag har samma cck-fält men de ska visa sig olika beroende på var på sidan man är.
Mitt exempel. På startsidan finns en nod med ett text-fält med förvalda värden. Där är det möjligt att välja flera val. Men på en annan sida så finns samma fält men endast ett alternativ ska vara valbart.
Så man får tyvärr skapa en ny tpl som heter precis som noden. Som i mitt fall page-node-32.tpl.php. Där la jag till skapandet av noden manuellt:
<?php print $create_list_form; ?>
men modifiera den med str_replace så att det blev:
Read moreCCK suffix
Finns det någon som har ett tips på hur man i ett CCK-fält automatiskt lägger till ett prefix eller suffix?
Exempel: Ett fält där man anger längd och då läggs mm till i värdet?
Read moreCity and country fields as autocomplete in user profile for a social networking site
Hi,
I am trying to have auto complete for countries, cities fields in user profile. But I am not able to find a proper way to do it.
I tried address module, but it doesn't have auto complete option. Even tried Location module, but its too heavy and redundant for my purpose. I tried hierarchical_select module, but it doesn't provide a CCK field type...
any suggestions?
Thank you.
Read moreStyra vilka CCK-fält som visas i skapa nodvy med annat CCK-fält/Taxonomi
Hej. Jag bygger på en liten idé som kan ses som en inställningsdatabas.
Låt oss säga att den är för borrmaskiner.
I min skapa nodvy har jag i princip bara en massa CCK-fält förutom titelfältet.
Användaren kan ange vilken borrtyp han borrat med, hastighet, material, diameter osv.
geoportal idea
I have a bunch of georeferenced data (published as web services) that I would like to display in a Flex web mapping application which is embedded onto a Drupal page.
If I create a custom content type (geospatial data) which captures some metadata about each georeferenced dataset, including the map service url can I then pass the URL (CCK field) into an embedded Flex web mapping application?
Read moreVillkorad visning av bild/flash
Har ställt den här frågan tidigare men lyckas inte få till det riktigt... Tacksam för hjälp!
Read moreDrupal 7 Migration
Hey all,
I started working on a Drupal 6 site a bit ago and have the install done, with a theme selected and installed, and am considering migrating to Drupal 7 before I delve farther into developing the site. The only module I have installed other than core is SWF Tools.
Has anyone heard of Drupal 7 migrations going smoothly to this point? Even if modules and themes are not 7 specific, have they been unstable on 7? Will they even work?
Read moreCheck for value in filefield
Is there a way to check if a file or files have been uploaded in a content type? I'm trying to determined if a picture has been uploaded.
I have tried to check if a filefield contains a value, but I am getting an error message that my argument #2 is not an array in the cck content.rules.Inc file.
Any hints? How can I do that with php?
Read moreIntuitive interface for CCK & Views
Hi
I am final year computer science engg. student. I have been using drupal from 1 year. I have designed about 15-20 websites in drupal and have really felt how tiresome it is to create & configure with cck & views. It was gruesome for me for a project, where i had to create some 20 custom content types with 12 views. It was student management system. All tasks were repetitive and gruesome.
Read more



