web matrix and orchard cms editing the "Add Widget" Page - content-management-system

I am very new to the use of Orchard. I installed Web Matrix 3 and added Orchard CMS to it.
My question is :
On the admin Page from which i got access to everything on the new orchard cms site, i go to "widgets" and try to add a new "Html Widget".
it redirects me to an "Add Widget" page with input boxes for title, date and other things, and also an text editor in which i can put anything i want.
I want to be able to put an image there and then be able to drag it around the editor container...so when i save this widget the image will stay on the position that i dragged it to inside the editor.
How and / or Where can i do that?
Thanks in advance!

It depends on what editor you use for the HTML body. Default it uses the TinyMCE editor, which provides an 'Add image' button to insert an image:
When you click this button you can insert an image from the image gallery of your Orchard Media section.

Related

Displaying the wiki content dynamically beside each image

I want to display images of 10 people on my dashboard, when i hover the image dynamically it needs to display a wiki page to the side of each image related to that person, how do i achieve this in tableau?
Here are the steps after you have a dashboard with your people on one of the charts. My example uses the pesticide list from the most recent #makeovermonday.
In your dashboard, drag the web page object in.
Click the option dropdown of that new object and click Add URL Action.
In the popup place the main portion of your wikipedia url in the box and select your people field which will become the dynamic portion of the URL. Mine is pesticides.
Change Run action on to Hover
Now when you hover on your main chart it will update the web page object with the person hovered on. I just hovered on Atrazine in this image
You will probably have to update your people names to make sure they match wikipedia's url.

In Shopify, how do I add mouseover to a non-product page?

I am building my site in shopify. On the "about us" page I have photos of each team member. I would like to be able to click on the photo to show a JPG (which is a postcard of employee title and interesting facts). Is there a way to add a mouseover feature on an image that is not a product? We are using the minimal theme. As point of reference we got this idea from www.scoutbags.com/about-us
On that site they use a hover feature to change the photo and then a click through to the postcard. We are skipping the second photo to try to keep it simple/doable.
Here's info on how to enable lightboxes on your images.
https://docs.shopify.com/themes/customization/colors-images-and-video/add-lightbox-to-images
To enable images on your About Us page, you need to edit page.liquid. Find the div element that contains your page content. To the opening <div> tag, add class="rte".
Make sure you follow the rest of the steps on that tutorial.

Firefox addon SDK - Sidebar or panel with embedded browser

I want to develop a firefox addon sdk to show a sidebar or a panel that contains an embedded browser with a navigation bar.
I have constraint too : Since the page shown in the embedded browser, I want to be able to inspect the dom, to hightlight some specific text and also to be able to select text from and send it to a specific input in sidebar with right menu.
Is there some examples or ideas how can I do this?
P.S : I'm sorry for my bad English ;)
Use sidebar module, create HTML file with a fixed textarea top:0, left:0, width: 100%. Create an iframe that takes up the rest of the sidebar. User enters text into the textarea, then listen for enter keystroke, use regex to see if it's a URL, and set iframe source to the URL if it's a URL or to a Google search if not.
Loading a whole browser into the sidebar seems like overkill, but if you really want to, try to load chrome://browser/content/browser.xul into the sidebar.

How to add a single menu item in wordpress to my plugin

I am trying to create my first wordpress plugin and I want to add a new "menu item" in the wordpress default menu bar. So when I click that menu item, the html form need to be shown by my plugin.
comparing to Joomla, in joomla it has views in "components" so I can easily create a new menu item, and assign a view as I want. In wordpress how do I do that for a plugin?
Please help. Thanks
I recommend that for your form for the front end, make a shortcode that will render your form. Then people can create a page (which gets you your menu item) and put your form on the page, optionally with some text / images above or below the form. This is better than trying to insert a "page" into the menu and somehow getting it where your plugin's users want it to go :)
For the admin side, use the admin menu functions.

Hyperlink to Eclipse editor page

I am trying to write an editor for a particular type of file in Eclipse which has multiple pages, just like the PDE editor.
How do I get a hyperlink in the main Overview page to point at one of the individual pages?
I've got the hyperlink drawn but I don't know how to link it to the actual page so that when a user clicks it, the page view changes.
Any ideas?
Follow this recipe:
Create the main page and all the sub pages
Add links
Add HyperlinkAdapter to the links using link.addHyperlinkListener()
In linkActivated() you can switch the page with formEditor.setActivePage(...)