Great module, thank you!

I seem to be having a issue where whenever someone posts a message on their wall it promotes that "Drupal Wall" content type page to the front page by default. The content type itself is set to be published but not promoted to front page. At the moment I am having to go into each page/post and un-tick the option to stop it showing up.

Strange seeing as the only content type that should be view able on the front page is Articles...

If anyone can tell me I'm being a fool plus tell me something I have overlooked that would be great.

---------

Quick extra question, has anyone managed to get a news feed for this going on a single page, similar to a facebook feed.

Thanks in advance

Roe

Comments

Roe’s picture

Issue summary: View changes
Toxic Agenda’s picture

I am having this issue also, if I can work it out I shall return to help out.

fleck74’s picture

Hello,
I think the module has to be change around this point but you can use the rules modules.

So install and enable rules module : https://drupal.org/project/rules

Config => Process => Rules
Add new rules
set a name and choose Node : Before saving content.
Save

On actions choose the unpromote node and set node in the selector.

That all.

Good day :D

fleck74’s picture

Hummm I don't know how I can do a patch but this is the way to keep options of the content type for all drupal_wall :

File : drupal_wall.page.inc
Line 200 to 203 :
//$new_node->comment = 2;
//$new_node->status = 1;
//$new_node->promote = 1;
//$new_node->revision = 0;

you have just to comment these four lines.

For the dev' :
at the line 139, node_object_prepare($new_node); create the object with default parameters for these options.

Maybe some simple test before modify in the core of the module.

Bye.

fleck74’s picture

Status: Active » Patch (to be ported)
Roe’s picture

Thanks Fleck, I didn't think to use Rules to sort this out, all better now as far as keeping it off the front page!

Roe

vineet.osscube’s picture

Version: 7.x-1.0 » 7.x-1.3
Assigned: Unassigned » vineet.osscube
Status: Patch (to be ported) » Closed (fixed)

Hi Roe,

As per our analysis and also including your requirement, we have fixed it in release it as stable module version 7.x-1.3. Now Node status, promote to the front page, revision maintenance and Drupal default comment active/deactive will be controlled by Drupal itself.

Thanks
OSSCube