I write simple ajax script but it does not work when i type in box page hang-up and reload everything gone to hide
Here is snapshot of mu ajax code
And i want search value i write search script it return all result
Here is snap
Help me please
These basics are documented in
https://www.opensource-socialnetwork.org/wiki/view/737/how-to-write-a-simple-component-for-ossn
The id tag
in the xml file is used by the installer to create a new subdirectory for your component code. So, referencing this new subdirectory from inside of your component code needs exactly the same name
of course - otherwise it will not find it. And the result is a blank screen.
Thanks to PHP error reporting, we get a meaningful log because of that like:
[29-Nov-2017 00:21:20 Europe/Berlin] PHP WARNING: 2017-11-29 00:21:20 (CET): "requireonce(/var/www/html/components/Helpdisk
/classes/Helpdisk.php): failed to open stream: No such file or directory" in file /var/www/html/components/helpdisk
/ossncom.php(line 12)
And I noticed, you have fixed this already using both capital letters in the beginning now.
Sorry i don't know about need same id as in php file i make update in github so please help me make my life more easy in the development of ossn component thanks
help me
Yep,
I finally got me your stuff from Github
and it already crashed my site
on enabling the component. :)
So question No. 1:
Why does your <id>
in ossn_com.xml
differ
from your define
in ossn_com.php
?
THe page is exists
localhost/ossn/Help
http://localhost/ossn/helpdesk is not anypage
when i type something its handup and then redirect to
i update the code on github see and help me please
Path of file that you seen in localhost/ossn/Help
components\Helpdisk\plugins\default\pages\page.php
Thanks
localhost/ossn/Help isn't the page, what do you see when you visit localhost/ossn/helpdesk ?
GitHub Link https://github.com/Lablnet/HelpDisk
https://ossn.my-mos.com/Helpdisk.zip
I unable to upload in GitHub some reason sorry for that
Currently i am not using ajax means code written but nit use anywhere pages/page.php is non admin file here is two issue ossn_ object search return all result and ajax not work properly replace name attr with id in search input field then enter something in search see
Help me thanks
Please provide full code to https://gist.github.com or https://github.com
Due to the many requests in the past for additonal features and components we have decided to develope a premium version. Features like Hashtags, Videos, Polls, Events, Stories, Link Preview, etc included in it.
$199 (Life Time)