create event from calendar clicking on date
I`m trying to make a calendar block with clickable dates. this is for a guest house to make reservations.Clicking on date would take to /node/add/my_event/2009-06-05 or /node/add/my_event/?date=05-05-2009 or similar. I want to pass the date as argument to "create content" form. any guest has access to create this type of node, but the default state is "unpublished" so that only administrator can approve (publish) the node. after that the created event would appear in calendar block and have CSS "has-event" definition (e.g. red color).
Read moreView, CCK och panels för att dela innehåll
Hej.
Försöker dela upp en fiktiv Produkt lite grann.
Först av allt Produkt matas in via CCK, har ett extra fält - en produktbild. Nu är det så att jag vill använda panels, för att produktbeskrivningen ska komma till vänster och bilden till höger.
Leker med Views för att göra det, men jag får inte till det. Jag bara vet att det är så enkelt, men jag är inte bästis med varken Views eller Panels (än).
Read moreDynamic customization of views, but also need support for views ajax
Hi,
This is about a problem I have found when trying to write a feature for a module that needs to provide back reference views to nodes based on CCK node reference fields.
What I would like this to work is that the module provides a base default view that is used to provide all back refence views. This view can be modified to add more fields, change the style, add and/or expose filters, and so on. The user can also clone this view and assign the customized clone to any particular back reference relation.
Read moreProblem för Drupal att komma ihåg innehåll i fields/decimal?
Hej,
min första fråga här lyder:
Har en problem med en nod som är skapad, där man har valt 1 val (B) i en lista mellan 2 val (A och B).
Problemet är att inte Drupal kommer ihåg vilket som är valt tidigare vid uppdatering.
Då står det alltid på default value som i detta fall är första valet. (A)
Under "default value" finns möjlighet för PHP, men jag är ingen mästare där direkt.
Så hur gör man alltså för att Drupal ska komma ihåg vilket val man har gjort tidigare, när man ska uppdatera?
MVH Per
Read morePHP Script for XML-RPC calls from outside Drupal
Here is a set of PHP functions I put together for calling Drupal's core XML-RPC methods without using the Services API:
<?php
function assemble_request($method, $args = array(), $dump_request = FALSE){
$request = xmlrpc_encode_request($method,$args);
$context = stream_context_create(array('http' => array(
'method' => "POST",
'header' => "Content-Type: text/xml",
'content' => $request
)));
if($dump_request){
echo '
<
pre>';
echo htmlentities($request);
Package Management
Note: My proposal has evolved to include a detailed schedule, glossary, and long brief about the reasons why my methodology is at least different, if not better than the existing ones. I have moved the content from this single page to the Package Management project page. The project home page links to the SoC Proposal with the schedule.
Old Titles for this project ordered by earliest (from these you can see 3 major aspects of the project):
Automated Drupal Software Appliance Builder
Porting Biblio to CCK
CCK Audio?
Hey everyone!
Trying to sort out a way to work with audio files and CCK. I've got a project I'm helping out with, where users will put audio files in, and it would be nice if they could be played right on the node.
Read moreProposal-Custom Parametric Search Module
Overview: This project aims to provide an easy mean for site developers to create custom parametric search forms and result pages for different content types, much like those of e-commerce sites. The current idea is to create a module for creating search UI depending on CKK and Views. This module will provide flexibility for combining search parameters (operations, priorities, dependences, etc.) and customizability in the look of both search forms and result pages.
Description:
Read moreUsing CCK to populate possible values for an if statment in
I have these huge chunks of html that I need to be able to select in the node settings witch one to use (if any).
I am thinking a cck float point value, and an (if || switch) statement in the contemplate. the question is the best way to store the static html chunks. As a (block || include file || some other way)
any ideas?
Read more





