SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast ankur218's Avatar
    Join Date
    Jul 2012
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Dynamic Dropdown List

    Hello everyone,

    I am building a file uploading/download section for my University. I don't have much knowledge about JavaScript or PHP (very basic, that too only if I see the code at times).

    So I want it to be this way. The students go to the page and there they have about 3-4 drop down lists. First they have to choose which Engineering Department they belong to, then which semester they are in and accordingly the subjects show up, they choose the subjects, press the next or whatever button, they are redirected to a page where all the files are present.

    For example: Say I want to download the notes of Data Structures from 3rd sem. So there are 3 Engineering Courses, CSE, ECE and Mechanical. I choose CSE, when I choose CSE, in the next Drop down, 8 semesters are there in the list, I choose 3rd, all the 3rd sem subjects show up in the next list, I choose DS and then I click next to go to a page or directory where those files are present.

    Refer, BookMyShow site for a clear view of the picture.

    Can someone post a sample code for this please taking the above example. I googled, but didn't find convincing ones since I didn't have vast knowledge about JavaScript.

    Oh yeah, I am using Bootstrap from Twitter to design it. So for the dropdowns also I will use the same.

    Thank You

    Cheers
    ^_^

  2. #2
    SitePoint Wizard bronze trophy
    Join Date
    Jul 2006
    Location
    Augusta, Georgia, United States
    Posts
    4,194
    Mentioned
    17 Post(s)
    Tagged
    4 Thread(s)
    Does the website run on a CMS of any type or is it all static HTML pages?

    What you are referring to requires multiple parts. it isn't just a drop down list but you need a way to manage users, courses, enrollment along with associated file attachments. If the site is a collection of static pages and you do not have a developer on staff your best bet would be to look into CMS options. Ideally a CMS geared toward the business requirements of managing a school curriculum.

    If you don't use a pre-existing CMS than you will need to choose an appropriate programming language and just start learning. Pretty big task for someone with no programming skills…

    At least with a CMS most of the work will have *probably already been done for you. I guess it depends on how picky you are though.
    The only code I hate more than my own is everyone else's.

  3. #3
    SitePoint Enthusiast ankur218's Avatar
    Join Date
    Jul 2012
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's not a CMS. It has only one page with all the drop downs. There are no user logins or anything. Anyone can access it, open to all. Static page only boss.

  4. #4
    SitePoint Enthusiast ankur218's Avatar
    Join Date
    Jul 2012
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hai, I came up with this with some help of my friend. Have a look.

    http://www.mediafire.com/?mdlvb9r68mmv78n

    Now, I want you to help me with this.

    1) When we don't choose all the options correctly, a popup comes up asking us to choose all the options, when we press okay, it however goes to another page giving an error. I don't want it to go to another page. How do I do that?

    2) I want the bootstrap button for the upload and download buttons.

    3) I want to increase the file size to say 50mb. However, say if someone uploads a 40 mb file. 40 mb takes time in India, where will he view the status of upload and how? How do I make them show that like in Mediafire and other upload sites?

    Thank you, cheers.


Bookmarks

Posting Permissions

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