close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Wibiya toolbar

Thread began 1/12/2011 2:04 pm by kim420431 | Last modified 1/12/2011 7:51 pm by neilo | 2402 views | 3 replies |

kim420431

Wibiya toolbar

So I was wondering if someone could give me some advice about something that's actually pretty important to me going forward.

I use a toolbar available for free on the internet call Wibiya. Can be found here:

www.wibiya.com/

It has a plugin for the toolbar that provides instant translation. The other night I went ahead and set up an account for my store so I could get the stub code needed to include the toolbar on the store site (PS4) and after I did that realized that I have no idea how to integrate it into the PS4 store. I didn't think about the fact that the HTML code on PS4 is being rendered on the fly by your PHP code. I would have no idea where to insert the code to turn on the toolbar.

This is something I would really like to be able to accomplish. I want to be able to translate the shop on the fly to different languages. The toolbar instant translator does a pretty good job at translation. My wife is native Russian and she's verified the translations as useable. So my question is whether you think this would be possible to add to PS4 store functionality and if so where or how would I insert the code offered by Wibiya to turn on the toolbar on the store? They instruct the user to embed their generated code between the head tags on the site but I don't know how to do that because from what I can see there is no HTML page to insert the code into. It appears that the PHP scripts are rendering the HTML pages on the fly and therefore there's no base HTML code that the Wibiya toolbar code can be inserted into. Any hints on how or if this would be possible?

Thanks

~Kim

Sign in to reply to this post

Jason ByrnesWebAssist

I am not at all familiar with this toolbar, or the code that is used to embed it, you would need to refer to their documentation for details on how it would be embedded, but it should be possible.

when it comes right down to it, once it gets to the browser, a php page is exatly the same as an html page.


the only difference in a php page and an html page is what the server does to deliver the page to the browser.

with an html page, it's just a static page that the server delivers strait up.

a php page, the server first needs to compile, then it sends the complied html to the browser.

but the browser has no visibility to any of that processing that went on before it got delivered.

Sign in to reply to this post

kim420431

A couple more questions

I actually got the toolbar to work by inserting the code between the <head> tags in the index.dwt.php file under webassist/themes/[yourtemplate]/templates/

You can see the toolbar at shop.dreamlight-studio.com

Unfortunately, since this is a template file it doesn't appear to be working on any of the other pages. It only works on the homepage. Is there a place in the code where this can be inserted in a general <head> tag section that's applied to all pages? It appears that I'm applying the code to just the index page and not the template code. In theory, it needs to be applied to the templates for the pages and then every page generated will show the toolbar.

I wish there was a better piece of documentation about the included files in the PS4 code that served as a roadmap to what is what. I'm guessing that wasn't the intent behind the product but it would go a long way toward helping with what are simple issues and needs that aren't clear because no one really knows how the code is working.

From what I've been able to see all template code is named filename.dwt.php. So I thought I was actually inserting the code into the template but Dreamweaver is telling me that it's not and won't effect anything but that page. I assuming that I will have to add the code to every filename.dwt.php file to make it work. Just don't like making changes when I don't know what I'm doing. That's why it would be nice to know exactly what pages are associated with what sections of the application. Either way I did figure out how to insert it into the home page. Need to find the template code for the other pages generated by the application. Can you give me some idea where most of the pages are kept for the sections of the application?

Thanks for your help!

Guess I'm going to have to bit the bullet and learn PHP!! :)

~Kim

Sign in to reply to this post

neilo

You should be able to just insert the code ( <script src="http://cdn.wibiya.com/Toolbars/dir_0681/Toolbar_681221/Loader_681221.js" type="text/javascript"></script><noscript><a href="http://www.wibiya.com/">Web Toolbar by Wibiya</a></noscript> ) before the closing <head> tag in pages:

/products_detail.php
/products_search.php
/products_results.php
/page.php
/contactus.php
/aboutus.php

I think that should cover all the public-facing pages.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...