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

Permission on profile's fields

Hi all,

I'm quite a newbie in Drupal so I think my question will be easy to you all experts. I want to create a strict profile system. After the user registered and submit their profile's information, I review and accept their registration. I want to limit their profile's editing ability to only contact information (e.g address, phone num, email, etc.) and not allowed to mess around with their name, date of birth, gender, etc. They still able to see all of their infor but only edit what I allow them to. How do I do that ?

Please help, thank you very much

Image

Hi there
I have installed the image and image_assist module. I can upload a picture, but when trying to insert it into a page or story it just show the code and not the image. I have tried with already uploaded images and with the "upload new" image function.

Here is what it says:
lkj[img_assist|nid=21|title=lkj|desc=|link=none|align=left|width=100|height=65]

No image is displaying

What am I doing wrong?

CCK content page only shows thumbnail picture

I'm using CCK with the image module and image_attach. When I attach an image it only shows the thumbnail version in the full node view. If I upload a picture to a Story node I get a full image. Anyone have any ideas why this is happening with CCK.

multisite management?

We are building a project where we have a main (national) website
and several sub-websites (regional).Since all sub-sites are derived from the main site (the sub-sites have the
same basic style, have only some of the functionalities of the main site
etc) then it should be possible for example to produce a search page on the
main site, and use a sort of 'instance' of this page on the subsites. The
logic is that whenever I would change the search page, then this change
would automatically be visible on the subsites also. Otherwise I would have

Weather forecast snippet

Weather forecast snippet

I've tried a couple of weather modules, but none of them seems to work properly. That's why I've turned to MSN Weather RSS feeds and used built in Aggregator module for my Corsica weather page. Here is how to do it:

1) Turn the Aggregator module on.

2) Select a RSS feed from MSN Weather and subscribe to it.

3) Enable Cron or at least the Poormanscron module.

4) Put the following PHP snippet in the page, where you want to show the current weather conditions and the 5-day weather forecast:

<?php
// Show Current conditions
$output = '';
$result = db_query("
SELECT a.*
FROM {aggregator_item} a
WHERE (a.fid=1) AND (a.title LIKE '%Current Conditions%')
ORDER BY a.timestamp DESC, iid DESC
LIMIT 1
");
while ($item = db_fetch_object($result)) {
$output .= '

' . check_plain($item->title) . '

';
if ($item->description) {
$output .= '

'. aggregator_filter_xss($item->description) . "

\n";
}
}
print $output;

// Show 5-day weather forecast
$output = '';
$result = db_query("
SELECT a.*
FROM {aggregator_item} a
WHERE (a.fid=1) AND (a.title LIKE '%Forecast%')
ORDER BY a.timestamp DESC, iid DESC
LIMIT 1
");
while ($item = db_fetch_object($result)) {
$output .= '

' . check_plain($item->title) . '

';

Static Content for my Drupal site

I just want my pages to be static content and look more like a front page style, not a news/blog site.

I don't need to show authors, publishing dates, teasers, etc. Just my content that flows around images.

How can I do this? Do I need a certain module(s)? I do have TinyMCE installed.

I started a Joomla site and decided to go with Drupal. With Joomla, I could hide authors, publish & modified dates, etc.

Pages

Subscribe with RSS Subscribe to RSS - General discussion