I need assistance. In Yii2 RBAC module, there is a part in the module when adding routes and removing them whereby it is done via selecting the routes and clicking on the button which moves them to the right, or remove button that moves them to the left via ajax. I have tried to search online but I guess I don't have the right description to help me get better results. I believe there must be an extension for achieving this. Below is the screenshot of what exactly I mean. I want to implement this in some part of my system but I don't know what to simply search on the internet so as to get the clue.
Any clue to what I should look for or an extension that will assist me achieve this is welcome.
You may try for this some of jquery plugins. Maybe this one http://loudev.com/ or https://github.com/crlcu/multiselect
Related
Hi and thanks in advance! Admin on Rest is a great base to start from to quickly build simple REST admins. I have a scenario where I would like to display and edit related records without leaving the parent. e.g Editing the Options of a Multiple Choice Question from the Question Edit View.
I have managed to implement a modal dialog that allows me to create/edit the Options(passed along as a record prop), however I'm stuck at trying to refresh the list of options on the Question View once I have successfully saved the Option.
I'm relatively new to React. Would appreciate a nudge in the right direction.
ReferenceManyField doesn't provide controls for filtering or pagination. However, it's quite straightforward to create some. Start by creating your own component using ReferenceManyField as a base. Store the page, sort, and filter as properties. Add methods that change these properties and re-trigger fetchReferences. Add buttons (pagination, filtering, etc) that trigger these methods.
But if you'r new to React, this won't be easy. I suggest you learn React first.
I'm trying to suss out the Joomla 2.5 Smart Search. I followed some instructions here - http://magazine.joomla.org/issues/issue-feb-2012/item/671-Developing-a-Smart-Search-Plugin - I managed to get my plugin installed and items from my component were being indexed in the smart search component in the administrator section..
But when I go to the front end of my site and type in one of the names of the products, it says no results found. Yet as mentioned before the same product is displaying fine in the admin component smart search, it just won't show up on the front end when I search for it.
I'm not sure what I've done wrong, or if I'm missing something?
Here's my plugin file structure:
/plugins/finder/products/language/en-GB/en-GB.plg_finder_products.ini
/plugins/finder/products/language/en-GB/en-GB.plg_finder_products.sys.ini
/plugins/finder/products/products.php
/plugins/finder/products/products.xml
/plugins/finder/products/script.php
I also added the route.php in my site components helper folder.
Any ideas on what I've done wrong, or if anyone could tell me how to print out the search query itself on the results page, so I can see where things are going wrong? I don't know, any help would be appreciated really :)
Thanks guys
Without some code to look at I can't suggest more than turning on Joomla!'s debug mode and setting the error reporting to it highest level ie.'Development'.
Debug Mode: Site->Global Configuration->System->Debug System->Yes
Error Reporting: Site->Global Configuration->Server->Error Reporting->Development
That way you'll get all the SQL queries in the Joomla! Debug Console and that will help a little.
Does your component use access levels? I've just been looking into smart search plug-ins and found that the reason why nothing was appearing on the front end for my component despite being indexed was because it didn't know what the access levels of that component's articles were.
As my component didn't use access levels, I found that adding "$item->access=1;" to the index() function was a hack that fixed it by conning it into thinking the access levels were public (though just a hack, mind you, and should not be considered the correct solution.)
Anyway, I had the same problem and that was the cause.
I am looking for a way of replicating what the site in the title of this question does. That is, via ajax, changing a part of the page. But, I could not figure out how to change the URL as these things happen.
So, please, help me achieve the effect of url changing on ajax page/change.
Thank you.
(edit ** question rewritten as is appears it was not written well enough, sorry)
What you are looking for is AJAX basically updating only parts of a HTML page. Please google for AJAX tutorials. Here is a simple one
Something like Jquery Tabs also do this.
It seems like you want the URL to change. This is the basic trick to have history for ajax pages
I am trying to wrap my head around how these are all connected. I am trying to add some functionality to my main activity AJAX query if a button is clicked. I see the _inc/ajax.php to edit and have looked through it, but not sure where to edit it to include new options or new loops.
As of now it seems I can find some of the features listed but I am getting stuck on how they get connected up specifically when creating my own new custom loops to be used. I created a update-loop.php and put this in my theme folder in a new directory called 'update' but can't seem to get it loaded up correctly.
All I want is to get the filtering option to filter new blog posts. (if possible new blog posts from a specific category, which looking through the available options and don't see it anywhere). Note I am NOT using wordpress Mu.
Thanks for any help or guidance, I have asked on the buddypress support forums (lost cause) but I never get any feedback or any peep out of any one there.
---------EDITED:
Let me clearly ask at least one question that would be very helpful in my knowledge and future development with buddypress in working using AJAX.
How can I/If possible create my own custom loops and use them within the ajax filtering options on the main activity wall?
Please any help would be greatly appreciated...
I don't know if you custom functionality is (seperate) plugin but take a look at this:
http://codex.wordpress.org/AJAX_in_Plugins
I'm afraid I don't understand what you are asking or what you want to do....
I've searched the internet and couldn't find a free (or not very expensive) solution that offers the following behavior: I would like to set up an online shop where the user can click checkboxes to refine the selection of products, like on asos.com.
As it's not going to be a huge shop, I plan to use Wordpress together with the Shopp Plugin. What I now need is that extra Ajax part to refresh the product list based on the selection the user makes.
Does anyone know a plugin that has this behavior built-in? Or can someone point me to a tutorial or similar? I'm pretty new to Ajax but familiar with jQuery.
Thanks!
not sure if you found something, but I can confirm that Shopp does have filtering - they call it 'Faceted Menus' but that as far as I can see (just tested it) it's not Ajax and reloads the page.