This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Sitemap Module

I am looking for a good sitemap module that can list all the posts neatly , to make it easy for SE to see them.

thx lots

Modifying the event module for school daily notices

Hi everyone,

I'm somewhat a newbie to drupal and PHP but I've been learning fast!

I've been charged with the task of creating an online daily notices system for our school which staff can add to, and after extensive searching on the web I decided upon Drupal with the event module. I've actually got it to the point where it is functioning, but there are a few wrinkles to iron out.

How it works is that notices are submitted via the drupal site and the output is obtained by pointing an RSS to HTML script at the RSS feed (this one here if you're interested: http://www.feedforall.com/free-php-script.htm). This is important because the notices are printed each morning for staff to read out in class, and it needs to be one notice per line or it doesn't fit on one page.

I've successfully added a piece of code to event.module which truncates the $body tag (in order to get each notice on one line), however the next issue is somewhat more complex. The problem is that the RSS feed only displays notices that are in the future, ie if a notice is set to end at 8am, someone reading the notices at 9am will not see it. One solution would be to instruct staff to make sure they set notices to end late in the day, however I would rather get the module to display all notices from the current day.

The function I've been modifying is event_calendar_rss, and at first I thought I would simply be able to modify the $stamp variable, however that appears to only take into account days anyway, and ignores hours and minutes. Thus I believe the line I need to modify is this one:

refresh won't referest

Hi,

I'm developing some modules. I've installed apache on my machine and that has been working just fine, but as I've been refereshing my screen to see my modules I've noticed the browser has quit updating when I refresh!!!.

So I just keep seeing the same 'ol same 'ol. What would cause drupal to do this? Does anyone else have this problem. I have never had this problem with anything before so thought maybe Drupal had some sort of band width saving feature programmed in.

thanks for the help, this is frustrating and weird. :)

Q: Edit path alias

Once somebody creates a node with a unique path alias is it possible to lock that alias so they can never change it again?

I want them to be able to choose what they use when the create the node, and I want them to be able to go back and edit the content. I don't want them to be able to change the path alias once it is created though.

Any ideas?

Thank you!

Gallery2 compatible with Multi-site Drupal Installation

I've perused the forums and am still not totally sure about how to install Gallery2.1 to work correctly with a multi(3)-site installation of drupal....that is 1 installation with three data tables. Do I have to install a multi-site installation of Gallery2.1 to go along with my multi-site drupal installation (if so, can you tell me explicitly what directory to install gallery2.1 into)? - Do you think this is overkill if all I want to do is allow users to post pictures of books up to a "trading post" part of the site - like a book swap?

Q: Buddylist - Confirm Buddy

Is it possible to make it so when you add somebody as a buddy that user has the then confirm to have you as a buddy? I would pretty much want it to work like myspace where you can't just add anyone as a friend. That person has to actually confirm it. Is this possible?

Thanks!

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions