Log in | Register | Lost password

Bottom
One publication, multiple Categories
  • Posted: 14.06.2008, 03:04
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Looking for a way to have a single publication assigned to multiple categories.. is there any way to do this?

  • Posted: 14.06.2008, 04:24
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    If you don't specifically need to use the Postnuke/Zikula category system, you could use publication relations.

    http://elfisk.dk/modules/pagesetter/docs/manual/PagesetterManual.html#relationsrelation



    edited by: dks, Jun 13, 2008 - 08:24 PM
  • Posted: 14.06.2008, 18:10
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    I am using the Pagesetter categories actually...

    What I am actually trying to do is associate a publication to more than one pagesetter category.

    i.e.

    Categories: 1. Food 2. Nature 3. People (etc)

    Documents: 1. Deer 2. Dogs 3. Cats 4. Hockey Stars (etc)

    I'd like to have the document "Deer" listed when viewing either Category "Food" or Catetgory "Nature"

    The Relationship system may do what I need but not without rebuilding my site. I use a single document type and have them associated to pagesetter categories.. Everything is accessed from a ceatgories block.

    Hope all this makes sense..
  • Posted: 14.06.2008, 23:42
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    I have had a look at relation feature and I must say, it is very well done!! I will be doing the work necessary to use it and it will be worth it!!!

    One snag I have run into tho.. I created Parent and Child Publication types and it all works good.. Only thing is if I Display the Parent Type, the list of child objects is limited to 5.. I have checked "Number of publications to show in list" to 99 in both Publication types but this did not help.. I see nothing in the templates that would cause this...

    What am I missing?



    edited by: Sorak, Jun 14, 2008 - 06:43 PM
  • Posted: 15.06.2008, 05:14
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Found it
    In function.pagesetter_inlinePubList
    I changed

    Code

    $noOfItems = (empty($args['pubcnt']) ? 5 : $args['pubcnt']);

    to

    Code

    $noOfItems = (empty($args['pubcnt']) ? 50 : $args['pubcnt']);


    Works great now! :-D
  • Posted: 01.08.2008, 07:07
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    You could also just specify how many publications to display using the pubcnt argument. HOW you do it depends on how you're displaying your list (inline list, full page, etc)

Template courtesy of Designs By Darren.