I have a textfield in a component i am using. I want to implement autocompleter for that field. Also the autocompleter should fetch data from an array...I tried the autocompleter with mootools from the below link but it works when tested seperately but when i integrate it with joomla it doesnt work.
http://digitarald.de/project/autocompleter/
Can anyone suggest me what are the options i can go after to fulfill my requirement. ??? or wat could be the cause that its not working.
Using Jquery might result in conflict with mootools so havnt tried that option.....
Thank you for the reply...
Maybe your problem is that Joomla renders response as HTML not JSON. Try to open the URL which you use for autocompletion in browser and see page source.
How to render valid JSON or XML, you can read in Joomla Wiki, sections "Generating JSON output" and "Generating XML output" respectively
Related
i tried to work with marketplace. They said that "Working with the API consists of sending a request and receiving a response. To do this, you can use the console to the right of the method descriptions, the Swagger interface"
Also, the link of "Swagger interface" => https://api-seller.ozon.ru/docs/#/
looks like this:
I`m a little bit confused, because i expected, that this is the library, or smth like this.
Link swagger.json
it`s a page with to json setting(as i think), picture is pretty view of plain text on that page:
so, i have no swagger library, but have this json.
Question:
Can i make from this json Swagger project?
When you click on swagger.json (as you shown in image with red arrow) it will redirect you to another page, this page have json configuration.
Copy this json and open https://editor.swagger.io/ this link, and paste your json.
After that, there is an option on menu 'Generate Client' it give you a various options to generate your client in Angular, C# and so on
The url I want to scrape is https://www.tokopedia.com/juraganlim/info
and I just want to get the number of transaction like in this image (inside box is what I need to take):
I really am confused with ajax because I don't know the url which comes or goes.
When I inspect using Firefox it produces so many links.
Please anyone can give me a clue? Or directly the script?
I'm making an web app that allow user to input form and generate word document. The form is relatively complex and I use a lot of jQuery and jQuery Mobile framework. I try to plugin the demo from opentbs ut it seems like it doesn't do anything when I have:
<script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script>
when I comment it out it looks fine.
Does any one has problem like that?
I also having problem to find the resources of how to modify the template within the docx.
I know here like variable that so I can modify it through php form but is there more detail documentation for it?
I found that there's nothing to do with opentbs it was jQuery that is assuming the post is ajax request therefore I cannot have file download (I am not sure if I am explaining it 100 percent correctly). However, I found the work around: put the script below right before jQuery Mobile script. It works for me.
<script>$(document).bind("mobileinit", function(){$.mobile.ajaxEnabled = false;});</scipet>
or this link in your htnl tag:
<a href="download.php?file=test.txt" rel="external">test.txt<a>
So I am trying to convert a certain type of page view into PDF (and also CSV's but thats another hurdle). The tricky part is that I am using Joomla 3.0 so the ever popular PhocaPDF extension will not work.
So far I have tried using http://docs.joomla.org/Creating_PDF_views, but it ends up throwing errors when referring to JRENDER().
Also I have tried using this extension
http://rootprogress.com/index.php/downloads/root-pdf-content
Which I can get to work but only for the article view. I can tell that this plug-in gets its code using DOMPDF and also grabs the $article from JOOMLA! so I have no idea where it is grabbing the $article variable from (so I can reassign it to my new view).
Has anyone had any success with implementing a PDF generator in Joomla 3.0?
The PDF functionality that used to be there in V1.5 was removed in V1.6, see Changes from 1.5 to 1.6. I don't think anybody put it back in for later versions. You can use a third party component if you really need it.
Joomla 3.3 has the option to print articles, you have just to enable it.
Then if you're browsing with Google Chrome you can easily print the page as PDF.
I have been working on ajax for quite a while. I know about the hashtag and hashbang. Recently I have started using Code Igniter framework. Lets say I am in a page - http://domain.com/media, and there is a link called 'audio'.
When I click on this audio link, I send an ajax request, fetch the contents and display the content dynamically. But in such case the URL still remains the same (i.e.,) http://domain.com/media.
Now, is it possible to change the url to http://domain.com/media/audio when I click on the audio link and I still want to have the ajax functionality. I dont want to do it the usual way of the code-igniter (/controller/method).
Any help would be appreciated. Thanks in advance.
If it is not possible in Code Igniter, is it possible in any other framework?
You can use the pushState to achieve this.
Here's an example of my own site using it for browsing given images; no reloading occurs. I've also added support for each gallery image and it's loaded url, so that you can share the url with anyone without problems. The fallback is that if pushState is not supported, you will simply browse as you always do.