Hi,

Is it possible to make sure that when you post a story or something, you can set while posting that story it has to be visible only from then till then??

After the period of time, it does not have to be deleted but just no longer visible on the front page. It can then still be searched for using the search module or by viewing the page where all categorized links can be viewed.

Maybe there is a module for this or something?

Another question:

On the site there will be a lot of attachments posted. Is it possible to make sure that when someone searches the site and enters a word he remembers from one of the attachments, that not only the site will be searched but also the contents of the attachments?

So then everything that is published on the site containing that word will be shown on search result page.

Comments

Luca O’s picture

http://drupal.org/project/scheduler is exactly what you need.

for the second question, i saw a module to search in attachments (.txt .pdf ecc), but i can't remember the name, sorry.

jeetn’s picture

Thanks!!

Knowing it exists is also something useful ;)

Maybe someone else remembers the name?? :)

jeetn’s picture

The scheduler is good but not exactly what I need...

I want that the story I published to be unpublished at that time to be removed from front page, but not from the site itself.

So now the scheduler deletes the entire story which is not what I want...

Is there a solution to solve this?

Luca O’s picture

You can easily edit the scheduler module

Line 233, scheduler.module
From: $n->status = 1;
To: $n->promote = 1;

Line 262, scheduler.module
From: $n->status = 0;
To: $n->promote = 0;

Not tested, but it should works.

jeetn’s picture

Really thanks m8!

Works like a charm :)

Luca O’s picture

You're welcome :P

eric-alexander schaefer’s picture

So now the scheduler deletes the entire story which is not what I want...

scheduler does NOT delete the node, it just sets it back to "unpublished".