You are welcome.
Joshua Parker
Twitter | Facebook | DigitalOcean | tinyCampaignYou need to login in order to like this post: click here
Thanks for all your support…..
You need to login in order to like this post: click here
Yes, you should use phpmyadmin to add your new fields to the specific database tables.
Joshua Parker
Twitter | Facebook | DigitalOcean | tinyCampaignYou need to login in order to like this post: click here
I think i need to add columns to database table, is there anyway that i can do that from application or code?
or do i have to use phpmyadmin.
Please find error log attachment
Attachments:
You must be logged in to view attached files.You need to login in order to like this post: click here
What’s in the error logs?
Joshua Parker
Twitter | Facebook | DigitalOcean | tinyCampaignYou need to login in order to like this post: click here
You mean in “onlineapp-function.php” the other php file in dropin folder. I actually modified that code, before modifying that file, i couldn’t even get application when i click “apply” button. I got 400 not found error.
function online_college_application() { $link = ' <i></i>'._t( 'Apply' ).' '; echo $link; } $app->hook->{'add_action'}('apply_online','online_college_application',5);
Then i modified that quotation marks, now i can see the application with no problem, but when i am trying to apply after filling all the fields,i am getting internal error.
You need to login in order to like this post: click here
There is character error in the link /application/. The last quotation after /application/ isn’t pasted right. Remove it and re-add it. Also make sure there is a space between that last quotation and class.
Joshua Parker
Twitter | Facebook | DigitalOcean | tinyCampaignYou need to login in order to like this post: click here
Hi,
I have modified all 3 files and uploaded to “dropins” folder and “app/views/custom-views” folder.
Now i can see the custom application when i click apply button. That part was succes thanks to you.
But for some reason i can’t apply, i mean when i fill all the fields and hit apply button for some reason i get white page( 500 internal error).
So i am not sure what could be the problem, i think i missed something in code. I have attached all the 3 files. Please find my attachements.
Attachments:
You must be logged in to view attached files.You need to login in order to like this post: click here
Yes, if you added fields to application.php, you must make sure that you add them to the corresponding database table as well as the router located in the dropins folder. If you added new fields to the person table, you need to use $nae->, if you added new fields to the application table, you need to use $appl-> or if you added new fields to the address table, then you need to use $addr->.
Therefore, if you added a nationality field to the application form and the person table, then you will need to add this to your router: $nae->nationality = $_POST[‘nationality’];.
Joshua Parker
Twitter | Facebook | DigitalOcean | tinyCampaignYou need to login in order to like this post: click here
Thanks for the upload, if i add some fields in application.php in custom-views folder, do i need to mention those in dropins folder as well.
suppose if i added a ”nationality” field in application.php , should i mention it in onileapp.router.php like ” $nae->veteran = $_POST[‘veteran’]; “
You need to login in order to like this post: click here
The file that I just uploaded should help you. I just downloaded your zip file and there are two issues. In the application.php file, at the beginning of the application router, app is missing the $ sign ($app). application1.php doesn’t have any issues, and onlinefunction.php won’t be recognized as a php file because the opening php tag is missing (<?php).
Joshua Parker
Twitter | Facebook | DigitalOcean | tinyCampaignYou need to login in order to like this post: click here
This reply has been marked as private.Joshua Parker
Twitter | Facebook | DigitalOcean | tinyCampaignYou need to login in order to like this post: click here
Hi,
I tried to follow your instructions to set custom online application.
When i uploaded these 3 files, my whole website gone down and it’s giving me internal error.
Did i go somewhere wrong??
(application.php and onlinefunction.php were added in dropins folder)
(application1.php was renamed to application.php and is placed in app/views/custom-views)
Thanks & Regards
- This reply was modified 4 years, 8 months ago by
Teja Majety.
Attachments:
You must be logged in to view attached files.You need to login in order to like this post: click here
You have specified in open terms “16/FA”, but on the term screen you have FA. It doesn’t matter how you setup semesters and terms, but there is a format that should be followed.
The format should be two digits (16, 17, 18, etc.) followed by a forward slash (/) followed by two or more digits (FA, FA1, FAM1, FAM2, SP, SP1, SPM2, etc).
So if I was following the suggested format above, and I wanted to create a fall 2016 semester and term, then I would create it like so:
Semester:
- Academic Year: 2016/17 Academic Year
- Semester Code: 16/FA
- Semester: Fall 2016
- Start Date: 2016/09/01
- End Date: 2016/12/17
- Active: Yes
Term:
- Semester: 16/FA Fall 2016
- Term Code: 16/FA
- Term: Fall Term 2016
- Reporting Term: 16/FA (should be the same as the full term)
- Start Date: 2016/09/01 (date should fall within the semester start date if not the same)
- End Date: 2016/12/17 (date should fall within the semester end date if not the same)
- Drop/Add End Date:
- Active: Yes
The registration setting screen is looking for term codes (16/FA, 16/FAM1, FA1). If it can’t find it, then it won’t know what courses to show on the frontend.
FA or SP are example designations for fall and spring terms. FA1, FAM1, SP1, SPM1 are example designations for mini terms which fall within the dates of the full term.
Joshua Parker
Twitter | Facebook | DigitalOcean | tinyCampaignYou need to login in order to like this post: click here
Hi,
I tried to edit the registration settings to view courses in login area, but no matter what i do still i can’t view any courses. Is there anything i am missing.
Like the courses depend on “effective date” because i set the courses start from next month. But the status of courses is set to “active”. or do i need to change any “term” dates from form?
Please find the attachments
Attachments:
You must be logged in to view attached files.You need to login in order to like this post: click here
- This reply was modified 4 years, 8 months ago by
You must be logged in to reply to this topic.