Drupal is up and running but how do I ...?

phpbb .htaccess problem

So guys I have already installed the phpbb module and phpbb2.0.21. Everything is working fine and connection is also setup properly. I renamed the phpbb folder to forum and installed the things under my root folder drupal\. Now installed the phpbb module into /drupal/modules/ Fine till here. To generate automatic redirects for login logout and registration I have copied the phpbb.htaccess to forum directory and renamed it to .htaccess. But redirections are not working.

Poll Question

I am very new to this, meaning Drupal and web design and management period, so please bear with me.

I know how to put the poll module into a block and all that, but how do I put the poll question and answers up? I'm guessing I have to FTP some script right?

Please help... thanks a lot.

File attachment issues

My website is www.technohelpweekly.com

The drupal instal is on Suse 10.1

When I try to upload my podcast mp3 to the site, the upload indicator moves for about 30 seconds and then stops. This problem exists e=ven if I try uploading the file from the webserver's "Home folder" itself (by using localhost)

HOWEVER,

Quantity selectable does not reflect number in inventory

Hi, it appears a user can select any quantity of a product regardless of number of items in inventory. I've seen other people have had this problem but I haven't seen a resolution.

THANKS!

benjamin @@@@@ PUNAcomputer.com

Serialized field in users table

Hi,

I'm working with Drupal so that I can use a users table from another part of our system as a stand-in for Drupal's users table. So far, by creating a view "users" that produces the same columns as the users table, I'm able to have users login based on the user name/password stored in the other system. With some other postgres sql-foo, I'm able to update fields of our user table with information written to the users view. So far so good!

What I'm trying to figure out is the contents of the data column. It looks like some serialized data, and when I searched around, that's what I found (http://drupal.org/node/66080). However, what I need to know is: what's in there? I greped and it look like this is a associative array (this is made harder by the fact I'm new to php.), but I couldn't find what elements were being inserted into the array or thier importance. Can somebody please let me know what's being stored in the array that's then serialized into data? If this is an object (I don't think it is, but again, php isn't my strong suit), can you point me at the classdef?

That leads to the next question: Is is necessary to create some data for this field, based on the data we already have? That is, when a user is created is this field populated with some information that's used later that I would also need to generate in the view, or can I supply an empty value for data and drupal will the populate it with the right things?

CCK, Teasers, and "Read More" Links: So Close, but Yet So Far

I have CCK installed have hacked Contemplate to spit out teasers for nodes that appear on the front page. Now, I'd like to have a "Read More" link, like any other standard content type. Here's what I've done so far:

  1. Inserted this into my template.php file to override the Links area at the bottom of each node:
    function phptemplate_links($links = array(), $delimiter = ' | ') {
      return _phptemplate_callback('links', array('links' => $links, 'delimiter' => $delimiter));
    }
  2. Created my own links.tpl.php file.
  3. Now, I need to edit my node.tpl.php file to determine wether the node is one of Drupal's default nodes that display teasers correctly, or one created by CCK. I've accomplished this with this code:
    <?php if (substr($type, 0, 8) == "content-"): ?>
    	<?php $nodeiscck = TRUE; ?>
    <?php else: ?>
    	<?php $nodeiscck = FALSE; ?>
    <?php endif; ?>

    CCK appents "content-" to the beginning of each node type it creates, so it is easily distiguishable from Drupal's nodes. But now I'm stuck.

How do I write an alternative Links area of CCK nodes? Any attempt to write a custom function in node.tpl.php is met with errors telling me I've already declared it. And with my limited knowledge of PHP, i can't see a way to pass the $nodeiscck variable over to the links.tpl.php file.I've considered alternative ways of doing this, such as forcing the $readmore variable to be set to TRUE when each CCK node is created.

Pages

Subscribe with RSS Subscribe to RSS - Post installation