DialogFlow: 'Add Response' not working in Web Demo - dialogflow-es

As you can see from the image below, putting two separate 'text response' buttons gives me a two line response.
However, I only get either one of the responses (at random) when I use the Web Demo integration. Either 'Hi, welcome!' or 'How may I help?'
Anyone got any ideas why? Thanks!

Not sure where my image link went... anyway read a few Google forums that said this isn't possible. Solved the problem by just pressing space until it went onto a new line.

When you are in Default responses tab, then it gives two options: Text response, custom payload
You should select Google assistant tab before clicking the add response button. Thus You can see all options about responses.

Related

How to redirect to a website in Godot Web

I'm planning on trying to see if it's possible to make a website in Godot(Yes, I know I shouldn't I just want to try just to try). I thinking about and looking over the features I need and I have one problem.
I just need a way for a person to press a button and get redirected to my itch games. I don't care if it creates a new tab or changes the current tab. Thank you for any help.
If you dont export to web you can call
OS.shell_open("url")
Sadly this does not work in an html export. A solution I found for myself is the JavaScript Interface. As the name suggested it allows you to execute Javascript.
So to open a URL you could connect the pressed signal of a button to something like this:
if OS.has_feature('JavaScript'):
JavaScript.eval("""
window.open('https://google.com', '_blank').focus();
""")
This will open a new tab in the active browser.
I also found an article on the godot site, basically asking the same question (https://godotengine.org/qa/46978/how-do-i-open-richtextlabel-bbcode-links-in-an-html5-export). Here they tried to use an RichTextLabel with BBCode.
The solution did not work for me, when I tested it, though.
As pointed in the comments you can try OS.shell_open, for example:
OS.shell_open("https://example.com")
That only works if it is not an HTML export.
Your other alternative is to eval JavaScript, for example this navigates the current tab:
JavaScript.eval("window.location.href='https://example.com'")
Which only works if it is an HTML export.
Since that only works for an HTML export and the other does not work on an HTML export... If you need both you can do this:
if OS.get_name() == "HTML5":
JavaScript.eval("window.location.href='https://example.com'")
else:
OS.shell_open("https://example.com")
See also Close a game in Godot.

Adding a slideshow to a webpage

I need help. Apologies if the information I provide is not sufficient. I'm sort of an all-arounder at this job and this task has been thrown at me.
I need to add a slideshow to a a webpage. I am not even sure what code I need: jQuery, CSS, or HTML.
The homepage of the website has a Nivio slider (can't access the code to this because its owned by a management company we can't afford to pay).
This is what the editing page looks like: screenshot
The website is http://evelyns-kitchen.com
I am looking to add something like the Nivio slider (if I can't actually add a Nivio slider). Smooth transition, clean, dots below photo to represent the image, left/right arrow. Let me know what other information I can provide! Thank you so much.
Use zoho reports www.reports.zoho.com where you can create reports dashboards slideshows and many more

<rich:collapsiblePanel> not working

I'm working on a web app and i have a Panel where I used the tag <rich:collapsiblePanel>. But it isn't working, the arrows are showed on the display, but when I click it nothing happens. I've done exactly as the sample shows but its still not responding. Help me out please. This is the link to the sample I used.
http://showcase.richfaces.org/richfaces/component-sample.jsf?demo=collapsiblePanel&skin=blueSky
and here is the line where i used the tag:
<rich:collapsiblePanel header="Client Search Filter" swithType="client">

Email Newsletter - Layout goes weird in gmail

I created a newsletter for MailChimp. All looks good when I put it in the mailchimp website.
However when I send a test email to myself, some parts of the layout goes wrong in Gmail.
Some content goes too left and other content goes too right. While the header and some parts at the bottom is in the right place. It looks fine on my Phone.
My Newsletter Code: http://pastie.org/private/cwvosox7nzezqif7r3myoq
A picture of the problem i'm getting in Gmail: http://imgur.com/MPJNJq2
Can you please help me fix how its displayed in Gmail?
Thank you!
It looks like the width of your page is bigger than gmail's div ...
Or kleinfreund idea also have a good point.
edit: I just re-read, looks like this is your own html. Your display problems are directly related to the styles being in your head.
The code that you are displaying above has everything in the head, gmail does not recognize anything between the <head></head> tags.
You will need to move all of your css into inline styles

How do I change the title and link colors of a Google Custom Search Element?

The situation:
Take a look at this page and search "photo" on both:
http://dev.womenandlogistics.com/testsearchengine.html
The top search engine refreshes the page and displays results with orange link titles and blue links. The bottom search engine displays tabbed results with blue link titles and blue links.
I found an answer to this on the Google forums; however, I am inexperienced with AJAX so I have no idea what to do this answer. I've read through various Google documentations on custom search engines and web elements regarding this, but I still can't figure it out.
What I've tried so far...
Added a class in the section (class="gsc-result gsc-webResult") and added the corresponding CSS (#gsc-result gsc-webResult) on the page to see if that works, but it didn't.
Viewed the context XML file to see if I can make changes. This only affects the top search box.
What you can do to help
Provide an explanation of what I'm doing wrong
Provide an explanation of where I should be looking
Show me samples of code that illustrates the actual color changes and where it can be found
I really appreciate your help! Thanks!
Here's what I suggest
Go to this link https://www.google.com/cse/ and create account
Create your custom search box
Customize looks as your wish
Copy the code after customizing
Paste in your blog or website where you want the search box to appear
Source: http://www.latestgames2.com/
Try this: http://spryserif.com/testsearchengine.html

Resources