Log in | Register | Lost password

Bottom
tell me the truth :-)
  • Posted: 18.10.2005, 08:34
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    hi!
    this is my third post here... i just want to know is pagesetter could filter by creator. i'm not able to do it...
    i'm trying to use ps as journal module, but i need this function...
    please, i need only "yes" or "no" :-)

    bye!
    marco
  • Posted: 27.10.2005, 11:43
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    yes

    :-)

    -Igor
  • Posted: 27.10.2005, 11:45
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    mmmm, now I saw your other post too, so there's a difference 'author' and 'creator' for you... what exactly are you trying to achiever here?

    maybe a snippet of your coder here?

    - Igor
  • Posted: 27.10.2005, 12:18
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    simply (from Pagesetter Manual):
    Template Variables:

    author
    Name of the author as set in the publication editor.

    creator
    Name of the person who actually created the publication.

    pagesetter uses creator=postnuke username and author=postnuke name, for example i've got
    creator=marcolinux
    author=Marco Cigolotti

    so i need to browse by creator.
    i was tying to build something as
    http://www.pagesetter.org/index.php?module=pagesetter&func=viewpub&tid=4&pid=49
    but with creator.

    maybe just making something like this:
    "> < ! - - [$creator] - - >
    working!

    thanks!
    marco
  • Posted: 29.10.2005, 09:57
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    well there you go,
    you actually have your solution, but you use

    Code

    filter="author:eq:$author"]

    and make sure you have the string "author" in your pub setup.

    -Igor
  • Posted: 31.10.2005, 22:27
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    i'm not sure i can explain.
    i really need only creator filter, i know author works, but i've got a "fixed" pn username with maybe changing user. i use my journal for a certain kind of users that maybe could change in time, but may use same pn username... more complicated to explain than to use :-D

    thanks!
  • Posted: 01.11.2005, 08:01
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    You cannot filter on creator - you will have to do it on creatorID which is the postnuke assigned number of the user.

    Example:

    filter=core.creatorID:eq:2

Template courtesy of Designs By Darren.