When i add a new node .. "From Distribute Site"...

Published Date : on a node form is different which i compare it with edit node..
I'm only save this node one times, but when i edit/save this node again, published date is increase to +7 ...

I am Using with DATE modules and my Drupal set to Local "Asia/Jakarta"...

is this a Bug ?

thx.

Comments

joachim’s picture

Status: Active » Postponed (maintainer needs more info)

I've had similar problems with two sites whose timezones were different. Might that be your case?

PraetorianFX’s picture

Nope.. i'm on the same Server with different domain, 2 domain Site with same DateLocal set value....

But now is running well anyway, after i changed your code a little bit.. :D
on every $.. date_convert($published_date, DATE_DATETIME, DATE_UNIX);
i think the problem on my PHP version or something... DATE_UNIX not work on my win7 os systems.
I change code like this on Distributor module and Retriever Module :

$published_date = $node->published_date;
$published_date = date_convert($published_date, DATE_DATETIME, DATE_UNIX);  

to

$published_date = $node->published_date;
// $published_date = date_convert($published_date, DATE_DATETIME, DATE_UNIX);  
$published_date = strtotime($published_date);

Well... my 1st problem was resolved now..
But now i have a new problem.. how if can we retrieve for MULTIPLE content type node... ?

so i clone your retriever modules to a different name
content_retriever_NewContentType.module
for every Content Type i want to retrive...
Is this good for it ?

I love your module, you ROCK... !

Thank you so much...

joachim’s picture

> content_retriever_NewContentType.module
for every Content Type i want to retrive...
Is this good for it ?

No... just set your content_retriever view to filter more than one content type.

PraetorianFX’s picture

Oww.. i get it...

on your README.TXT

Node type setup (optional)
-----------------------
The views argument for node type does not currently allow multiple values.
This is a regression from the 6.x-1.x branch of this module, which queried the
view multiple times. See http://drupal.org/node/710144 for details.

On 6.x-2.0-beta5, i have to edit / remove option "Argument Node Type" on my VIEWS name "content_distribution" at my Distribution Site...
and now working... for all content type on my distributor site completed retrieved..
even there still have get an error when i setup views on retriever "admin/settings/retriever/view/name"
this error call back null arg.. and may be this connect to this thread... http://drupal.org/node/969874 not patched on 6.x-2.0-beta5..

joachim’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Ah, oops. I'd forgotten about that!

Seeing as your first problem was fixed, let's close this, and use that other issue for the node type problem.