Alessio wrote:
Thanks!
I tryed that you had wrote and I'd wrote the {set-block} tags.
EzPubl redirect correctly
Meanwhile, I tried to add these lines in the crontab, I think the second is 
wrong:

* * * * * cd / path/to/ezp4.5/ && php runcronjobs.php frequent admin-q-s

* * * * * cd / path/to/ezp4.5/ && php-q-s runcronjobs.php frequent eng

This (plus your previous mails) seems to indicate that your 
RelatedSiteAccessList parameter in site.ini is wrong.
You normally only run cronjobs in one siteaccess.

Bye
Gaetano

ps: and yes, once per minute is a bit overkill

it works but I'm not sure is the right thing

*From:* Luc Chase <mailto:[email protected]>
*Sent:* Thursday, May 12, 2011 12:12 PM
*To:* Alessio <mailto:[email protected]>
*Cc:* mailing ezpublish <mailto:[email protected]>
*Subject:* Re: [Sdk-public] eZpublish 4.5 - when I approve a new user I can't 
see the user through all the siteaccess

your Member fetch looks fine... all users are normally in Members ( unless 
you've changed the default).

Try these two things....
add some random value to the end of the browser url for that page e.g. ?outoushohohush=new and see if the page is refreshed correctly. This is to check if the problem is with the browser cache.
In any case add this line to the top of your template containing the above 
fetch...
{set-block scope=root variable=cache_ttl}0{/set-block}


--
Luc.

On 12 May 2011 10:50, Alessio <[email protected] <mailto:[email protected]>> 
wrote:

    I don't know if it is a configuration error because when I create a new user from the 
admin interface, it works,but if I create the siteaccess "Eng"or
    "Ita" and I Approve from the admin interface I need to clear the cache 
Content
    I think also I make a mistake in the template page that I show all users in 
"Members"
    The code:
     {foreach fetch_alias( 'children', hash( 'parent_node_id', '12' ) ) as 
$child }

    <h1><a href={$child.url_alias|ezurl}>{attribute_view_gui attribute=$child.data_map.name 
<http://child.data_map.name>}</a></h1>
      {$child.data_map.user_account.content.email}<br /><br />
     {/foreach}
    '12' is 'the node_id' of "Members"

    *From:* Luc Chase <mailto:[email protected]>
    *Sent:* Thursday, May 12, 2011 11:04 AM
    *To:* Alessio <mailto:[email protected]>
    *Cc:* mailing ezpublish <mailto:[email protected]>
    *Subject:* Re: [Sdk-public] eZpublish 4.5 - when I approve a new user I 
can't see the user through all the siteaccess

    sounds like a configuration bug to me.... what about other content.... does 
other content show up OK without clearing cache.... also try adding a new
    Article in a user group to see if this cache issue is specific to the User 
sub-tree.

    --
    Luc.

    On 12 May 2011 09:51, Alessio <[email protected] 
<mailto:[email protected]>> wrote:

        I'm using ezPublish 4.5 and the approval system with cronjob and 
workflow.

        when I approve a new user I can't see the user through all the 
siteaccess that aren't Admin

        after cleaning the content cache I can see them.

        There is another way to view the new approved user without clear the 
cache?

        Thanks


        --
        Sdk-public mailing list
        [email protected] <mailto:[email protected]>
        http://lists.ez.no/mailman/listinfo/sdk-public




-- Luc.
    M. +44.7040-901-582






--
Luc.
M. +44.7040-901-582





--
Gaetano Giunta
Principal Consultant International Business

eZ Systems | Klostergata 30 | 3732 Skien, Norway

phone +33 6 71387821 | mail [email protected]
skype gaetano.giunta | twitter @gggeek

*eZ Conference & Awards 2011*
Register for the eZ Conference & Awards from June 16-17th, 2011 in London here:
http://www.ez.no/conference2011

*New Product Release*
Visit our website for more information about eZ Publish Enterprise 4.5: 
http://www.ez.no
-- 
Sdk-public mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/sdk-public

Reply via email to