Results 1 to 11 of 11

Thread: Categories in ADD.php

  1. #1
    Join Date
    Oct 2007
    Location
    Sydney
    Posts
    652

    Default Categories in ADD.php

    Hi,

    Does any one know how I can change this please?

    When one is adding a listing on my website below;
    http://www.weddingsonly.com.au/add.php
    Can see the Categories and below each category is the Sub-categories, the problem with this is that people list their site in Subcategory of the very first Category, NO ONE actually scroll down to the correct state.;

    Like this;
    Australian Capital Territory
    Accessories
    Beauty and Cosmetic
    Bomboniere
    ……

    But on my other test website which is not modified yet and listed below;
    http://www.weddingplus.com.au/add.php
    Can see the Categories and below each category is the Categories + Sub-categories which is the way I like it to be displayed and is very easy to understand;

    Like this;
    Australian Capital Territory
    Australian Capital Territory:. Accessories
    Australian Capital Territory:. Beauty and Cosmetic
    Australian Capital Territory:. Bomboniere
    ……

    Any idea how I can changed my categories to show like this?
    Australian Capital Territory
    Australian Capital Territory:. Accessories
    Australian Capital Territory:. Beauty and Cosmetic
    Australian Capital Territory:. Bomboniere

    I know it is not the database, add_error.html or add_form.html files, I tried them and nothing. I has to be some thing else that I have to change!

    Many thanks in advance
    Mitchell

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

    Default

    Is it the AJAX menu that you turned on?

  3. #3
    Join Date
    Oct 2007
    Location
    Sydney
    Posts
    652

    Default

    Quote Originally Posted by Bruceper View Post
    Is it the AJAX menu that you turned on?
    No Bruce,

    I tried it both "on" and "off" and none of them worked!
    Last edited by Mitchell; 08-20-2008 at 04:11 AM.

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

    Default

    Does it have to do with the main category being hidden for submissions? Perhaps you need to unhide it, but not allow submissions.

  5. #5
    Join Date
    Oct 2007
    Location
    Sydney
    Posts
    652

    Default

    Quote Originally Posted by Bruceper View Post
    Does it have to do with the main category being hidden for submissions? Perhaps you need to unhide it, but not allow submissions.
    It has been unhide and not allow submissions.

    Even my other directory which is running on a different system and database is the same;
    http://www.directoryonly.com.au/add.php

    I tried it every other way and it has to be something in the codes!

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

    Default

    Nothing that I can think of unless I'm losing my mind (which is quite possible). Perhaps you could try using an editor that can compare two files against each other?

  7. #7
    Join Date
    Oct 2007
    Location
    Sydney
    Posts
    652

    Default

    Quote Originally Posted by Bruceper View Post
    Nothing that I can think of unless I'm losing my mind (which is quite possible). Perhaps you could try using an editor that can compare two files against each other?
    It has to be one of the files in the theme, as when I change the theme to Kosmos it is the way I want it but when I change it to my modified theme it is not working but I can not find out which file it is, I have tried the add_error.html and add_form.html but not good. Well I may have to try all other ones, one at a time.

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

    Default

    Quote Originally Posted by Mitchell View Post
    Hi,

    Does any one know how I can change this please?
    in add.php change

    $category = $category_obj->DisplayCategoryListBox($cat);

    to

    $category = $category_obj->DisplayCategoryListBox($cat,false,2);



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

    .

  9. #9
    Join Date
    Oct 2007
    Location
    Sydney
    Posts
    652

    Default

    Quote Originally Posted by esm View Post
    in add.php change

    $category = $category_obj->DisplayCategoryListBox($cat);

    to

    $category = $category_obj->DisplayCategoryListBox($cat,false,2);



    .

    Thanks esm,

    It is kind of working now, but only in the "category", but not additional category 1 and additioanl category 2!

    Have a look here;
    http://www.weddingsonly.com.au/add.php?cat=240

    by the way when I change the theme to Original Kosmos it is working but not when I am using my modified theme. It has to be some code that I have changed!!!?

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

    Default

    Quote Originally Posted by Mitchell View Post
    Thanks esm,

    It is kind of working now, but only in the "category", but not additional category 1 and additioanl category 2!
    change:
    $add_cat1 = $category_obj->DisplayCategoryListBox($add_cat1 ,false,2);


    $add_cat2 = $category_obj->DisplayCategoryListBox($add_cat2,false,2);



    I don't see any way to generate the listing you want other than the above change. but then you are using the SVN version, right?

    Maybe a bug.


    .
    Last edited by esm; 08-20-2008 at 05:45 AM.
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  11. #11
    Join Date
    Oct 2007
    Location
    Sydney
    Posts
    652

    Default

    Quote Originally Posted by esm View Post

    but then you are using the SVN version, right?

    Maybe a bug.


    .
    esm,

    Thank you it is working, and I am using the latest SVN. by the way this is more
    a test site for me.

Similar Threads

  1. Replies: 3
    Last Post: 04-13-2006, 08:49 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
  •