Page 1 of 3 123 LastLast
Results 1 to 15 of 36

Thread: Displaying Subcats

  1. #1
    Join Date
    Oct 2007
    Location
    UK Essex
    Posts
    591

    Exclamation Displaying Subcats

    Hi

    I would like to display subcategorys using the <%$category%> command for a site im working on. Previously when browsing through many template files I recall seeing somthing like <%$category|whateversubcatis%> to display this.

    Im running indexu deluxe 1.0

    Please tell me this is possible and is a simple call

    Thanks

  2. #2
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Where you do want to display the subcats? On what page or block do you want them to appear?

  3. #3
    Join Date
    Oct 2007
    Location
    UK Essex
    Posts
    591

    Default

    on the index.html page


  4. #4
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Subcats already appear on the index page, what exactly are you trying to do?

    Yes they are limited but that can be changed easily.

  5. #5
    Join Date
    Oct 2007
    Location
    UK Essex
    Posts
    591

    Default

    Ok I want to display the contents of 2 cats within their own <div> 's.

    I think a picture is in need here



    individual and collective are subcategorys of the "main category", these are hidden as the titles are not relvant to the customer, also they will probally be the only 2 sub cats of the main cat


    a:\ individual
    b:\collective

    in there own divs, both at the same time on the index.html page
    Attached Images Attached Images
    Last edited by echo@; 07-25-2008 at 03:21 PM. Reason: modified technical drawing

  6. #6
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Could this post be what you're referring to?

    http://www.nicecoder.com/community/s...ead.php?t=3589

    I know of no easy way to do it, I tried a number of other ways and either it didn't work or I received errors.

  7. #7
    Join Date
    Oct 2007
    Location
    UK Essex
    Posts
    591

    Default

    I did search this thread but im not sure about what it actually does or what dody ment.

    I hoped the solution would be a simple call like <%$category|whateversubcatis%>.

    thanks for having a go at it bruce , im sure if i trawl the templates and fourm ill find an answer

  8. #8
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    I tried <%$category|whateversubcatis%>, <%$category|catnumber%>, <%$category|catpath%>, <%$category=='catnumber'%> and a few others all to no avail. Perhaps I'm missing something as well.

  9. #9
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    You know... This would be an EXCELLENT question in a live chat for the programmers... I just remembered about this. What ever happened with that Bruce?
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  10. #10
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    No one bothered to submit any questions or even ask about it

  11. #11
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    Quote Originally Posted by Bruceper View Post
    No one bothered to submit any questions or even ask about it
    well, the four of us could get together and play a round of golf...!


    .
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  12. #12
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    Quote Originally Posted by esm View Post
    well, the four of us could get together and play a round of golf...!


    .

    WAHOOO!!!!!!!! I get to drive the cart and I better be spotted about 75 strokes!
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  13. #13
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    Quote Originally Posted by FSGDAG View Post
    WAHOOO!!!!!!!! I get to drive the cart and I better be spotted about 75 strokes!
    Hey, I almost shoot that...as long as I lay off the beer...


    .
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  14. #14
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    Quote Originally Posted by esm View Post
    Hey, I almost shoot that...as long as I lay off the beer...


    .
    Thats exactly why I need the spot

    But I'll be sure to make them install a keg on the back of the golf cart!!!
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  15. #15
    Join Date
    Oct 2007
    Location
    UK Essex
    Posts
    591

    Default

    UHMMM... this wasnt the kind of answer i was expecting.

    Theres a time and a place for this sort of banter , you two just have to take it to the next level.... .......

    talk about thread hijack

Similar Threads

  1. Replies: 3
    Last Post: 12-09-2007, 06:30 PM
  2. Making multiple SubCats
    By spin in forum v5.x
    Replies: 3
    Last Post: 08-12-2007, 05:51 PM
  3. Sort Subcats on index
    By persut in forum v5.x
    Replies: 1
    Last Post: 03-17-2004, 08:40 AM
  4. Replies: 5
    Last Post: 05-22-2003, 03:16 AM
  5. Replies: 0
    Last Post: 05-05-2003, 05:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •