This forum is for less technical discussions about the Drupal project, not for support questions.

File system seting problem

I was setting up the "file system seting", when I saved it, then the error message occur.
I have no idea what did I set wrong. Now I cant upload images and videos, I think this is not the modules problem but just cant upload, because when I use the direct URL link its work.

Firstly, the "files" folder are somehow automaticaly created under drupal/files/image/temp, and the permissions I set writable, readable and accessable for all group of users.

Yahoo Site Explorer with Drupal

I just wanted to mention that I have just added my site to Yahoo's beta Site Explorer. This new tool allows admins some of the basic functions of Google's Sitemap application.

I already had the URL List module activated in Drupal which is accepted by Yahoo's new program.

The tricky part is the Yahoo Authentication test. You must be able to verify the site by placing a txt file on the domain name. www.example.com/yahoo_authkey_#######.txt

How do I select the nid for top level book page in an organic group?

I'm building a custom og home page theme using the template.php file method and I want to use the php snippet that emulates the hierarchical book menu.

The problem is that the snippet takes an argument for the top book page:

ex) $book_top_page = 159;

I need a way to pull the nid for the top book page from all the book pages associated with the group being viewed.

Can anyone suggest a method for getting this nid?

Seeking another ecommerce system like Drupal

Hi,everybody!
Now i am doing my exercise at my school.
And i must make an ecommerce site.
So here,
I wonder is there any open source like Drupal also supports Ecommerce?
Help me!
Thanks!

Copy node title and artist name...

Hey guys, I need to somehow integrate my code for Amazon Web Services into my node template. Basically I need to know how I can automatically pick up the node title (which is an album name) and artist name and place them in my AWS script to automatically display an album cover.

I have contemplate module installed. The code that gathers and displays the artist name is as follows:

<div class="field field-type-text field-field-artist-name">
  <h3 class="field-label">Artist Name</h3>
  <div class="field-items">
    <?php foreach ((array)$field_artist_name as $item) { ?>
      <div class="field-item"><?php print $item['view'] ?></div>
    <?php } ?>
  </div>
</div> 

The album name (node title) is:

<?php print $title ?>

The code I need to somehow import these items into is as follows. The place I need to input the data is in line 3 and 4:

<?
$accesskey = ('############');
$artist = urlencode('enter_artist_name_here');
$album = urlencode('enter_album_name_here');
$images = file_get_contents('http://webservices.amazon.com/onca/xml?Service=AWSECommerceService&AWSAccessKeyId='.$accesskey.'&Operation=ItemSearch&SearchIndex=Music&ResponseGroup=Images&Artist='.$artist.'&Title='.$album.'');

include('xml.php');
$data = XML_unserialize($images);

$error = $data[ItemSearchResponse][Items][Request][Errors][Error][Message];
$smallimage = $data[ItemSearchResponse][Items][Item][0][SmallImage][URL];

Contemplate problem

Hey, I recently tried to edit a template with contemplate and adding some php script to the page. However now it's all gone wrong and I cannot acces the template modification page. Here is a link to the type of thing I am presented with:
http://allcdreviews.com/node/4

As you can see, nothing is really there. How can I set this right? I tried uninstalling the module (in the administer>>modules page) but that didn't work. Could I just change it in the database through myphpadmin?

Pages

Subscribe with RSS Subscribe to RSS - General discussion