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

Drupal 4.7 is driving me crazy

$form['buddylist_block_title'] = array(
'#type' => 'textfield',
'#title' => t('Block title'),
'#default_value' => t('the default value'),
'#size' => 70,
'#maxlength' => 128,
'#description' => t('This will be the title for the recent buddies post block. If none is specified, the default will be used.'),
);

Now if I do
print form_render($form)
I get.

<div class="form-item" id="css_">
 <label>Block title:</label><br /_">
 <span class="description">(This will be the title for the recent buddies post block. If none is specified, the default will be used.)</span><br /_">
 <input type="text" maxlength="128" class="form-text" name="" id=""  size="70" value="" /_"><br /_">
</div">

Nice and dandy, no complain here.

Now I add another form element to the form array

$form['s_b'] = array(
'#type' => 'button',
'#title' => t('Submit'),
);

After that I again do print form_render($form)

Should not I get the un-rendered form element printed again?
But nothing is get printed. It seems I am getting an empty string from form_render method the second time I call it.
This is driving me crazy.
I was trying to convert buddylist.module to 4.7 and playing with the new form API but I don't get it.

Can some expert please convert the method
buddylist_buddiesgroups_form in buddylist.module so that I know how it is done.

Expire stories on front page

One more issue (drupal 4.7b4)...

As I was transferring my articles from my old site to the new Drupal test site everything was being promoted to the front page. I stopped doing this once I realized what is going on; but I now have three pages of exerpts filling up the main page. Will these stories eventually expire or be pushed off the bottom? Is there a way to set an expiration date or a max number of front page excerpts after which older stories will fall off? Or do I need to manually remove them?

Adam B. Plourde

Multiple users, multiple blogs each

Drupal 4.7 Beta4
New user

I like Drupal. I've been playing now for a few days and I am seriously thinking about taking the beta version onto a live site. I just finished copying everything from my existing site into drupal and things are looking good. Except...

On my existing site I write to Two different blogs. One is the typical personal blog thing, the other is a boat building project that I'm documenting. I figured no problem with the taxonomy, so I imported all entries and seperated them by topic and then built a menu link to the topic taxonomy. I was quite proud of myself. Bet then I realized that if I where to grant rights to any other user to create a personal blog that they could use my topics and completely screw up my organization.

I AM BUMMED!

Is there a way around this? A reasonably simple way, one would think, would be to use the users ID as a required vocabulary term and then combine it with my catagory term. Except this doesn't seem to be possible. Please tell me there is a way to make this happen! Or any other ideas would be great.

I've done a search and I've run across numerous posts complaining about the same blog failings. Mine seem simple. Is there a method to deal with this or plans to deal with it in the near future? If some financial consideration would help this along I would be happy to contribute. My php is substandard

Using Drupal for Hierarchical Site

I have installed and tinkered around with Drupal and many modules for about a month. After trying various strategies, I find myself confounded by the task of using Drupal to create a simple, hierarchical site that has the following arrangement:

+ Categories of content / information that are naturally arranged in a tree-like hierarchy
+ Some basic summary content for every category (i.e., a basic description of the category)
+ News, events and documents related to usually one but sometimes more than one category

My site objective. I want to allow a site user to see a menu of the categories. When a user clicks on a menu / category, I want the user to see the summary information regarding the category and to see links to the sub-categories and possibly a list of the most recent n items posted to the category or any sub-category. I've tried taxonomy_menu, but it doesn't provide the required content. I've also tried Jaza's Category module, and though it is quite nice, it still has some quirks and missing pieces like an equivalent to taxonomy_access.

I've looked at the Views module, but I candidly cannot figure out how to use it. And, I'm not sure it would solve my problem anyway. Maybe it would if I understood it better, but the documentation is sparse at this point.

Is Drupal capable of meeting my need without a lot of coding or twisting of its inherent purpose? If so, can someone help point me in the right direction? I really like the strength of the Drupal community and the variety of modules that folks have developed.

Developing a site before domain has been moved?

Hi again!

I set up an account with a new server and they use Plesk. I have an existing domain that I'd rather not move until I've got a new Drupal site up and running on the new server.

So I set up Drupal using the ip they gave me, but you can't view it unless you use the Plesk preview site function. I get the initial login page, but on submit it goes off to the base domain, which of course is my existing domain somewhere else and returns 'page cannot be displayed.'

Customize $submitted or get the $submitted info some other way

Hi,

I want to change the data that comes back with $submitted or I want to pull that information some other way. Can anyone recommend a way to do that? I'd rather not hack the drupal inc files because I don't want something to get in the way of upgrading easily.

Specifically, I want to show the author, the author's image (when available), and the time of posting (MM/DD/YYYY as opposed to MONTHNAME, DD YYYY).

Thanks!

Pages

Subscribe with RSS Subscribe to RSS - Post installation