Media Module Error Message: Referencing to the file... not allowed.

Hi-

I installed Media 7.x-1.x-dev and Drupal 7.0-alpha2.

I can add images using the Media tab of the Content link but when I edit an image and click save I get the message:

"Referencing to the file used in the File field is not allowed."

There's a thread about this message, http://drupal.org/node/441280, that refers to FileField 6.x-3.0 but I can't find anything that refers to Media 7.

Has anyone else run into this issue? Any solutions?

-- Ethan

AMFPHP Caching

We are considering moving our CMS to Drupal. However we need AMFPHP to be able to access data stored in a serialised text
file stored on disk rather than hitting the Database for every query so that we can cache the queries.

I have read that there is a hack that can be performed upon the AMFPHP classes to allow this here:
http://www.5etdemi.com/blog/archives/2005/09/hacking-amfphp-into-submiss...

Drupal 7.0 Alpha 2 released

Update: Drupal 7.0 Alpha 3 is available now!

Our first Drupal 7 alpha version was released just over a month ago. Today, we're proud to announce the release of the second alpha version of Drupal 7.x for your further testing and feedback. The first alpha announcement provided a comprehensive list of improvements made since Drupal 6.x, so in this announcement we'll concentrate on how you can help ensure that Drupal 7 is released as soon as possible and is as rock solid as the previous Drupal releases that you've grown to love!

The most notable change for developers is moving $form['#field'] to $form_state. This makes field forms more resilient to form_alters and debugging became a lot less tedious. Comment body became a field and new fields can be added to comments through the field UI module. And congratulations to the docs team and associated helpers for their outstanding work in enhancing and correcting lots of API documentation this release.

We've also fixed a number of issues since the previous alpha, most importantly one that caused all files to be deleted after six hours. Oops. :P This is a great time to reiterate...

It is important to note that this alpha version should not be used for production sites. We've resolved most errors reported so far, but there are outstanding known issues (including security issues) and most likely some problems that have not been reported as of yet. It is expected that there will be at least one more alpha version followed by a few beta versions and at least one release candidate before Drupal 7.0 is finalized. You can help us reach the final release date sooner by testing this alpha and providing feedback.

Job in Nashville, TN

Griffin Technology designs and builds the accessories people need to get the most out of their digital media players, computers, TVs, home & car stereos. Since our start on a kitchen counter in 1992, we've grown to become one of the largest providers of accessories for personal computing and digital media in the world. Our hallmarks? Brilliant design breakthrough uses of technology, and worldwide distribution through leading big box and specialty retailers.

The Role

We are looking for a PHP developer to help execute our next website and its ongoing development. While the primary focus of this role is to help deliver the technical requirements of the Griffin website, this person will also have the opportunity to work on other web-related projects for internal applications.

Duties

* Customize and develop modules in Drupal and Magento
* Help Web Designer implement templates from HTML/CSS mockups
* Integrate with 3rd party systems/APIs

Qualifications

* Advanced PHP – 3 or more years coding object-oriented PHP
* Zend MVC Framework
* Experience coding for content management systems
* AJAX using JQuery/Prototype
* Strong CSS and XHTML knowledge
* SQL experience
* eCommerce experience
* XML and Webservices experience

Nice to have

* Experience with Magento and/or Drupal

Adsense can't target <meta http-equiv="Refresh"> which is in core Drupal

The other day I read in Adsense Help page that it can't well target pages that use

6. Your page contains a refresh tag.
If the header of your page contains a refresh tag (), this may also lead to your page displaying PSA's. Removing this tag can help ensure that you receive targeted ads.- That's from what ADsense help page reads

[DRUPAL 7] Add Content Type programmatically.

In Drupal 7, I wanna make a content-type student by installing module Student. Here is what my code look like:

Install Process: Works, I installed it, then check the content was created.

function student_install()
{
$type_values = array(
'op' => 'Save content type',
'type' => 'student',
'name' => 'Student',
'orig_type' => '',
'old_type' => '',
'description' => 'Desc',
'help' => 'Exp',
'title_label' => '',
'body_label' => '',
'base' => '',
'custom' => '1',
'locked' => '0',
'modified' => '1'
);

$op = isset($type_values['op']) ? $type_values['op'] : '';

$type = node_type_set_defaults();

$type->type = trim($type_values['type']);
$type->name = trim($type_values['name']);
$type->orig_type = trim($type_values['orig_type']);
$type->old_type = isset($type_values['old_type']) ? $type_values['old_type'] : $type->type;

$type->description = $type_values['description'];
$type->help = $type_values['help'];
$type->title_label = $type_values['title_label'];
$type->body_label = $type_values['body_label'];

// title_label is required in core; has_title will always be true, unless a
// module alters the title field.
$type->has_title = ($type->title_label != '');
$type->has_body = ($type->body_label != '');

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x