This is a discussion on "Help With Adding Sub-categories to Sub-categories" within the Other Programming Languages section. This forum, and the thread "Help With Adding Sub-categories to Sub-categories are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Help With Adding Sub-categories to Sub-categories
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Help With Adding Sub-categories to Sub-categories
I have a classifieds section on my site and can only add sub-categories to the main categories, is it possible for me to add sub-categories to sub-categories, if so, whats the code and where do I add the code?
Im a bit of a web newbie at the moment but am picking things up quite quickly, but if you could explain it in very easy to read format that wud be good. The category files for the site are here: http://files-upload.com/files/614283/admin_category.pl http://files-upload.com/files/614284...subcategory.pl Any help appreciated, thanks. |
|
|
|
#2
|
|||
|
|||
|
Re: Help With Adding Sub-categories to Sub-categories
I'm not sure what you are attempting. Do you mean your navigation bar? If that is the case, take a look at this tutorial...
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
Last edited by Stuart; Nov 12th, 2007 at 15:37. |
|
#3
|
|||
|
|||
|
Re: Help With Adding Sub-categories to Sub-categories
Erm, basically I can only add sub-cataegories to the main category, so on the main page you have the list of categories (like you do on ebay, i.e. automotive) and then the sub-categories (i.e. cars, commercial, motorbikes, etc). Im trying to add sub-categories to the sub-categories, i.e. Automotive -> Cars -> Aston Martin, Audi, etc.
At the moment I cant seem to add the Car makes so was wondering what the code was to add them. Its currently set out like this:
Last edited by karinne; Nov 13th, 2007 at 14:00. Reason: Please use vBcode when adding code to your post |
|
#4
|
|||
|
|||
|
Re: Help With Adding Sub-categories to Sub-categories
OK, I am not sure what you mean since the link you gave me returns an error message ("You can't download that file!"). Maybe you could post your code? About what you posted above, what language is that? PHP? Javascript? Could you clarify, please?
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
#5
|
|||
|
|||
|
Re: Help With Adding Sub-categories to Sub-categories
Ok, my previous post shows how the categories are coded in the auction page, I believe its PHP (sorry, still a bit of a newbie), I cant post the classifieds code coz theres a page of it and i dont know which bit i need to post, so ive tried uploading it to a different site:
http://www.mediafire.com/?995gxwu1lxb http://www.mediafire.com/?1vfzbzzm1ii Hopefully they should work this time! thanks. |
|
#6
|
|||
|
|||
|
Re: Help With Adding Sub-categories to Sub-categories
OK the download works, but there's another problem: I don't have the software to open a .pl file. Sorry! Which brings up another point :: if this is php, why is it a .pl file? And lastly, since you are asking for php advice, could you move this thread to the php forum? You will find more help there. Again sorry I can't help you, I just don't have a PL Program...
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
#7
|
||||
|
||||
|
Re: Help With Adding Sub-categories to Sub-categories
Isn't .pl pearl?
__________________
Marc Staff Manager - Webforumz.com Want to be a moderator? PM me. |
|
#8
|
|||
|
|||
|
Re: Help With Adding Sub-categories to Sub-categories
Yes, you're right! .pl is a perl script... But I still don't have the software. Unless it works with Dreamweaver...
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
#9
|
|||
|
|||
|
Re: Help With Adding Sub-categories to Sub-categories
Oh yes its a perl script, sorry, brains a bit of a mess with all this coding stuff.
By software what do u mean? I use smartFTP client to upload, download and edit the files. cheers. |
|
#10
|
||||
|
||||
|
Re: Help With Adding Sub-categories to Sub-categories
You should be able to open it in a text editor... I am not sure about Dreamweaver!
__________________
Marc Staff Manager - Webforumz.com Want to be a moderator? PM me. |
|
#11
|
|||
|
|||
|
Re: Help With Adding Sub-categories to Sub-categories
Im open them with notepad, does the job.
|
|
#12
|
|||
|
|||
|
Re: Help With Adding Sub-categories to Sub-categories
Ah yes, now it works. Let me see, this will take me a bit to look through... Where is the problem? What line number(s)? This is a long script...
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
Last edited by Stuart; Nov 12th, 2007 at 21:26. |
|
#13
|
|||
|
|||
|
Re: Help With Adding Sub-categories to Sub-categories
Ok thanks swagner.
|
|
#14
|
|||
|
|||
|
Re: Help With Adding Sub-categories to Sub-categories
I still havent got this sorted, if theres anyone that can help id really appreciate it as my websites going to be a bit naff with just the main category and the sub-categories, as it is for example i will have to have loads of categories i dont want on the main page.
cheers |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Drupal categories on home page | geyids | PHP Forum | 5 | Aug 18th, 2008 14:19 |
| Sub Categories | Arizona | Classic ASP | 0 | Sep 9th, 2006 14:32 |
| Improper Terming of Categories | gwx03 | Webforumz Suggestions and Feedback | 5 | Feb 21st, 2004 08:52 |