I am having a bit of trouble understanding how to use route groups in Dialogflow CX: from Google's documentation I understand they were made to avoid mapping the same intent routes (if intent is X, go to flow/page Z). From their docs:
you can define the route group once, and add a reference to the group on all relevant pages
Now, my problem is i defined route groups in the manage tab of my agent (Dialogflow "Manage" tab), but they don't seem to work nor to be selectable in each page:
this is my "Onboarding" page for the same flow i defined routes for
Can anybody maybe help clear this up?
Thanks!
I solved the mystery, and will leave what follows for posterity:
Dialogflow is still under development, and some small things might not work as expected.
In the case of route groups, you can activate them only from the page view through the "+" add button.
If you click on route groups or try to modify in any other way it will only make you create a new route group.
So, once you've created a route group in the "Manage" tab, go to the page view in the visual console and click "Add route type", flag Route Groups and finally add the group you've created through the + button.
This is an example of where to add route groups
Related
In Laravel 8: is there any way to tell whether the user (could be logged in, might not be) could access
A named route or
A URL
For, example, is there a way to get Laravel to look at the middleware checks just to see if the user could access pages, without the user going to those pages?
The reason is that I want to have a menu where different users can access different items, however I only want to show the pages they can access. I also like to define everything only once, so I don't want to have permissions in the code for the routes and in the menu definitions. Defining something multiple times usually causes future problems. I'm referring to menus now, but concept applies to any element where permissions must match routes .
How can I add ads route programmatically?
I can add route only by TcAmsRemoteMgr.exe. The code that I only can find is https://github.com/nikvoronin/AdsRemote.
But, it doesnt seem to work.
You can add routes from within the PLC user code too. See this link. Please mark this as the answer if you think it is correct.
I have site that user can submit an article in frontend . I have create menu submit article, but when i click it , it redirect to homepage.
Thank you
The guidelines are here: Joomla : How to create an article from the front end.
Go through below:
Your menu item should not have access to only special members if you are submitting content as registered member. In short, you should maintain the access level of the page.
There can be some other cases, for which you must need to post the screenshot if any error message shown on the screen to debug. As you know there are many settings, custom code, and tweaks that Joomla CMS allows to implement.
To change the redirection when submitting an article I found it useful to do the following:
Associate the form that enables you to create an article from the frontend to a menu, and then edit the corresponding element of the menu, on the options tab, select the redirection after submission category to where you want it to redirect and that's it. Hope it helps anyone!
We are trying to setup a simple BTB site to support our retailers (somewhere they can download product text/images and corporate branding). We are using Joomla 1.5.2 and Virtuemart 1.1.9
We want it to be completely secure (unregistered viewers - and competition - just see simple intro page, and login with option to register). Not any content at all.
And we also also want to use VM registration for registering new users.
I set up the secure access for categories/products using Joomla menu items pointed to virtuemart categories, and set the menu item access to "registered". Worked perfect, user not logged in, don't see anything but splash page. Logged in, all of the product categories were available via the menu items.
But we just realized this messes up user registration. We want to use Virtuemarts user reg so we don't have to gather all of that data (address info, etc.) and come back and enter by hand.
Apparantly, with the virtuemart menu items set to "registered" access, the user gets redirected to joomla's registration page(which doesn't gather the data we need into Virtuemart). I've pasted a valid VM registration url everywhere I could find in the backend login files (com_user and mod_user), but no luck (didn't think that would work, im a beginner).
Anyone know if there is a workaround? Or a better way to do this?
Thank you.
I can you tell with absolute certainty that you'll need to make a minor adjustment in the VM code if you want to do this. The hurdle is that VM uses the same menu Item ID as it's default throughout the script, so even if you create a different menu item for the registration, it's always going to fall back to the first one that you had.
The only way around this is a small hack in the VM function that always forces this to happen. Put the below code at the very beginning of function getShopItemid() located in ps_session.php somewhere around line 459. Leave all the existing code in place, but this needs to run before that does.
/*Hack For multiple VM menu itemids, if there is a page specified, find THAT Itemid */
global $page;
if($_REQUEST['Itemid']) {
$_REQUEST['shopItemid'] = $_REQUEST['Itemid'];
} elseif($page) {
$db_hack = new ps_DB;
$q = "SELECT id FROM #__menu WHERE link='index.php?option=com_virtuemart' AND published=1 AND params like '%page=".$page."%'";
$db_hack->query( $q );
if( $db_hack->next_record() ) {
$_REQUEST['shopItemid'] = $db_hack->f("id");
}
}
Once this is in place, you'll need to have a Joomla menu item that includes at least this:
option=com_virtuemart&page=shop.registration
With that menu item in the database, the above code will find the menu item for that page, and use that one instead of the default VM method. The Joomla security will trigger as you expect because it has the correct menu item.
I have application that accepts four different types of routes. Keyword link is the link of specific page and keyword user is the user that is the owner of the page.
Custom ActionLink should generate links on page depending on route taken to get there. Those links can be:
http://localhost/SiteEdit/user/link
http://www.domain.com/SiteEdit/user/link
http://user.domain.com/link
http://www.user.com/link
It has to create absolute links, because if relative links are used user can enter the page with http://localhost/SiteEdit/user and the default page will be displayed but if clicked on link it would become http://localhost/SiteEdit/link.
thnx in advance
The following link should help:
http://hanssens.com/2009/asp-net-mvc-subdomain-routing/
Update:
Try this gist: https://gist.github.com/RyannosaurusRex/4145948