February 14, 2019 at 7:15 am #20084
In my homepage i removed popular and featured courses. Instead of that I want to display my courses which is showing in My profile tab. Like the below screenshot
Please help me how to do this.February 14, 2019 at 10:24 am #20090
My courses are coming from profile page.html -> id(mycourses)
sevices->user.ts->getProfileTab() : use for api hit
Header: Authorization: uFwru^4k1)bFD0tjmVcK()[email protected])wjI6M#February 21, 2019 at 1:30 pm #20461
You can use this function to get profile tabs http://prntscr.com/mo61u9
User id you can get from authorization token and profile tab is ‘course’
After getting data you can do whatever you want.
For Api hit you can use postman app : https://www.getpostman.com/February 27, 2019 at 10:45 am #20887
You can find to click that link , refer this : http://prntscr.com/mqrz08
function getProfileTab ‘s return _value using as profile page to show data ..
from hereFebruary 27, 2019 at 10:46 am #20888
You have to see code from profile.html and profile.ts
which they are using service function of user.ts -> getprofiletab()February 27, 2019 at 12:10 pm #20905February 27, 2019 at 12:26 pm #20919
I have one last doubt.
where to replace from user.ts (Header: Authorization)February 27, 2019 at 12:35 pm #20926
You do not have to add any authorization key , It works only when user is logged_in
Refer this : http://prntscr.com/mqtpu8
You have just to use this code after login .
After login this function will work, for specific user ,
It will detect user_id at server side by using ‘Authorization’ header key which we have send from this function
as api hit.March 6, 2019 at 8:11 am #21428
Well these errors are related to typescript version conflict .
To resolve please try : https://wplms.io/forums/topic/app-install-documentation/#post-20450
- You must be logged in to reply to this topic.