Archive for Tutorials

20 Aug 2016

Adding a Favicon To Your Website

No Comments Tips and Tricks, Tutorials

Adding A Favicon To Your Website

The Favicon originated in 1999 with the introduction of Microsoft Internet Explorer 5. The word Favicon stands for ‘Favorite Icon’, and is a small icon assigned to a specific website or web page. If a website uses a Favicon, it’s usually displayed in the browser’s search box to the left of the web address. Web browsers, such as Firefox, display the Favicon in each of browser tab. Some browsers also support the use of Favicons in address bar drop down lists, links bars and drag to desktop features.

Originally, Favicons could only be created in a specific ICO file format. This format allowed for multiple icons in multiple sizes and a with variety of color settings all in one file. Modern day browsers, however, support other file formats in addition to the ICO format. Browsers such as MS Edge, Apple Safari, Chrome and Firefox can use PNG, GIF, and JPEG file formats.

Why Use a Favicon?
A Favicon is a good way to easily find their bookmarked websites as the eye will recognise a graphic icon faster than a line of text. Additionally, some web browsers specifically look for a Favicon when loading a web page. If the Favicon is not present a ‘404 Page Not Found’ type error message may be generated. Fortunately, such ‘404’ messages are found only in error logs and are not displayed back to the visitor. Including a Favicon will stop errors occurring in error logs and may improve your page loading times a little bit.

How to use a Favicon in EverWeb
You can easily add a Favicon to your website in EverWeb.

  1. First select the image that you want to use as your Favicon. This can be in any of the formats mentioned above. It’s best to make the Favicon something that’s easily recognisable – this is especially important in this scenario as the Favicon is very small!
  2. Once you have selected the image you want to use, go in to your EverWeb Project file. Select File-> Edit Publishing Settings to access your Site Publishing Settings.
  3. Scroll down to the Head/Footer Code section of the screen. At the bottom of the section is the word ‘Favicon’ with a ‘Choose…’ button next to it. Click on the ‘Choose…’ button and select the image file that you want to use.
  4. Publish your website to the Internet. EverWeb will convert the file you selected for the Favicon in to an ICO file and upload it to your web server. You’re now finished!

Testing Your Favicon
Once you have published your website to the Internet, you probably want to see the Favicon in action. If you visit your website straight away, you may find that the Favicon is not displayed. If this happens, check to see if the Favicon has uploaded correctly to the web server. For example, go to your home page in your browser. The web address may look something like the example below:

http://www.mywebsitedomain.com/homepage.html

To find if the Favicon has been uploaded properly replace ‘homepage.html’ with ‘favicon.ico’. in this example, the above web address would become

http://www.mywebsitedomain.com/favicon.ico

If the Favicon has uploaded correctly to the web server, you’ll see the small Favicon displayed on screen.

The Favicon may not immediately display due to replication of the file on the Internet, so you may find that visitors to your website see the icon before you do!

05 Aug 2016

From Desktop to Mobile and Back in EverWeb

4 Comments Software, Tips and Tricks, Tutorials, Web Design

When you create a website in EverWeb you should always create pages for desktop/tablet devices and equivalent pages for mobile devices. It’s important to have a mobile presence as our phones are now the primary way in which we access the Internet.

Once you’ve developed your website, you’ll want to make it so that your website visitor will be automatically directed to the correct page style on whichever device they’re using at the time: your mobile website pages when using a mobile phone and the desktop website when using a desktop or tablet device.

Redirecting From Desktop To Mobile Websites

In EverWeb it’s easy to set up this automatic redirection within your Project file.

  1. You first need to tell EverWeb which pages in your Project are specifically for use on a mobile device. To do this, select your mobile page and go to the Page Inspector. Scroll down to the ‘Mobile Settings’ section. If the section is closed, click on the arrow symbol to the left of ‘Mobile Settings’ to expand it.
  2. Check that the drop down box for ‘Mobile Pages’ is set to ‘None’, then tick the box ‘This page is for mobile devices’. That’s all you need to do to set up your mobile page. Repeat this step for all of your ‘mobile’ type pages.
  3. Next, link the corresponding desktop page to the mobile page. For example, you may a ‘Contact’ page for desktop and one for mobile. You need to link the pages together so that when a visitor goes to the Contact page they get the right experience for the device they are using.
  4. in our scenario, to link the desktop page to the mobile page, you would go to the desktop version of the ‘Contact’ page. Scroll down to the Mobile settings section. This time, under ‘Mobile Page’ click on the drop down and choose one of the following options:
    • Select ‘One of My Pages’ if the mobile ‘Contact’ page is in the same Project file as the desktop page. When you select this option, select the page you want in the ‘Page’ dropdown that appears. In our case it is called ‘Mobile Contact Page’.
    • Select ‘External URL’ if the page you are linking to is in a separate Project file. If you are using this option remember to enter the full URL of the ‘Contact’ page you are linking to in the ‘URL’ box.
    • Remember that you should only select ‘None’ for a mobile page, not on a desktop page.

    Your desktop and mobile pages are now linked. Once you have completed this for all pages that have desktop and mobile counterparts, publish your website and test the redirection on different types of device. It’s good practice to test as you can see that the redirection works and that you have linked to the right corresponding page.

    Redirecting Back From Mobile To Desktop Websites

    There may be times where your visitor actually wants to use the desktop website in preference to the mobile website, when they are using a mobile device. It may be that there’s more detailed information available on the desktop website.
    If you have set up your redirection as outlined above, you will always go to the mobile website if on a mobile device. To stop this automatic redirection and force the use of the desktop website on a mobile device take the following steps…

    1. Add a piece of text or a button to your mobile website pages to act as a link to your desktop website e.g. a button labelled as ‘Go to Desktop Website’. You may just want to this only on the ‘Home’ page or on all of your mobile pages. The choice is yours.
    2. Once you have added the linking piece of text or button to your page(s), select it and go to the Hyperlinks Inspector. Enable the Hyperlink and then set the ‘Link To:’ drop down as ‘An External Page’.
    3. In the ‘URL’ box enter the full URL of the desktop web page you want to link to. It’s easier and more accurate if you cut and paste the desktop page’s URL from the browser’s search box in to the URL section in the Hyperlinks Inspector.
    4. Once you have the URL added, go to the end of the URL address and add in ‘?fullsite=true’ e.g. http://mywebsite.com/home-pagre.html?fullsite=true
    5. Once you have completed the Hyperlink, publish your website.
    6. On a mobile phone go to the mobile page with the redirection text or button. Click on the link to test that it redirects you to the desktop website.

    Your website is now complete and will direct your visitors to the mobile website automatically as needed with the option to override if needed!

    If you have a question about this blog article, let us know below! Thanks!

07 Jul 2016

Using Font Awesome with EverWeb

No Comments EverWeb, Software, Tips and Tricks, Tutorials, Web Design, Widgets

You can easily add professional, up to date, icons such as Facebook, Google+, Pinterest and linkedIn to you EverWeb website with the minimum of effort. All you need to start with is Font Awesome, a free collection of over 630 scaleable icons that will probably have an icon for everyone.

About Font Awesome
Font Awesome can be used by everyone, from those new to website building right through to experienced coders. The set of icons is extensive, including product brands such as those mentioned above, accessibility icons, web application icons, file type icons and more. Font Awesome icons are updated regularly. If you use an icon and it’s updated in Font Awesome, your website icon will automatically update without you having to do anything! And, if there’s an icon you want that’s not in Font Awesome yet you can request that it be included.

Font Awesome icons are vector based and so scaleable for your needs. You won’t have to worry about how your icons will look on different displays anymore. It’s already Retina ready!

Setting Up Font Awesome To Use in EverWeb
To use Font Awesome icons in EverWeb, there are a couple of steps you need to take to set up it up for use. The first step is to place some code in the Header section of your EverWeb website Project. The code used points to the source of the icon set so it can be accessed and displayed correctly on your web pages. To get the code…

  1. Go to the Font Awesome website http:www.fontawesome.io
  2. Click on the link to get your own embed code
  3. In your EverWeb website project, go to the Site Publishing Settings.
  4. In the ‘Head/Footer Code’ section, paste the embed code in to the ‘Head Code’ section.

You’re now ready to start using Font Awesome fonts in your website!

What You Can Do With Font Awesome
Font Awesome offers a very flexible way to use icons your website. You can display icons in different sizes, stack them on top of each other (e.g. you can place the Facebook icon in a square), have animated icons etc.

There are a couple of ways you can use Font Awesome icons in EverWeb. In the example below we are going to add a Facebook icon to a website:

Using the HTML Snippet Widget

  1. Drag and drop the HTML Snippet Widget on to your page.
  2. Insert the HTML code you want to use and the Font Awesome icon name as desired. The Font Awesome website has many examples on their Examples Page http://fontawesome.io/examples/
  3. e.g. to add a Facebook icon in a square, enter the following code in to the HTML Snippet Widget. ‘2x’ denotes a doubling of the size of the square.






    fa-facebook on fa-square-o

  4. When you have pasted in the code, click ‘Apply’. If the HTML snippet appears not to have updated, try resizing the selection box a little to force a refresh.

Font Awesome is used with HTML code so if you’re new to HTML or interested in learning, the examples on their website will give you a good start. Here’s how you add a hyperlink to a Facebook page using the HTML Snippet Widget

In the example above replace ‘yourpagename’ with the Facebook page name you want.

football forever 1

In this example, EverWeb’s own HTML Snippet Widget is used to add code to produce the hyperlinked Facebook icon.

Using Widgets From The EverWeb CodeBox
The second method of inserting Font Awesome icons uses Widgets from the EverWebCodeBox. These widgets are produced by third party provider Roddy McKay. Find out more at www.everwebcodebox.com where there are plenty of widgets to purchase that take advantage of Font Awesome. The Touch Share Tab Widget illustrated below is just one example:

Using the Touch Share Tab Widget
The Touch Share Tab Widget takes the trouble out of coding buttons with links, background colors and so on which you have to do if use the HTML Snippet Widget.

  1. First you will need to purchase the widget pack you want to use – in this example the Touch Widgets pack.
  2. once installed, drag the Touch Share Tab Widget from the Widgets Tab on to your web page.
  3. In the Widget Settings, enter the name of the Font Awesome icon in the ‘Icon’ field. For Facebook, it’s just ‘Facebook’ There’s a full list of icons and their names on the Font Awesome website.
  4. For the background color of the Facebook icon use the value Hex # 3B5999 which is the deep blue color used by Facebook. There are plenty of Hex #’s on the Internet for the background colors of most brand icons.
  5. Change the shape of the background from square through to round using the ‘Corner Radius’ option.
  6. Shadow and border colors options are also available to produce the effect you want.
  7. Add the URL Link to your Facebook page and you’re done! Remember to test that the button and link work correctly!
  8. Touch Share Widget

    This example uses the Touch Share Tab Widget from the EverWebCodeBox. There are plenty of customisation options in the Widget so there is no need to code.

    Troubleshooting Font Awesome
    If your Font Awesome icons don’t appear on some or all of your website pages, you may need to replace your embed code with the following…

    The above code explicitly refers to the latest version of Font Awesome (version 4.6.3). When Font Awesome is updated, you’ll need to update this HTML reference to point to the new version.

    Also be aware that if you or your visitors use AdBlock Plus you may find some brand icons are not visible. In this case please refer to the http://fontawesome.io/icons/ page for more information.

    Finally, if you make changes to your Font Aware icons in EverWeb and they don’t appear to update in the Editor Window, just resize the selection box a bit to refresh it!

    Font Awesome and the EverWebCodeBox are great tools to extend your EverWeb websites. Have fun with them!

23 Jun 2016

Analyze Your EverWeb Website with Google Analytics

No Comments EverWeb, Tutorials

Once up and running, you may want to have some analysis and reporting on how your website performs in the real world. Website analysis tools will tell you all you need to know and with all the detail you could ever want. Website analysis tools are useful as they

  • Tell you how many hits your website is getting.
  • Tell you from where is traffic coming to your website from.
  • Show you which periods of the day, week, month or year generate the most traffic.
  • Show you which pages and links are used the most by visitors.
  • Enable you to fine tune your website SEO as you will see which Keywords generate interest and which don’t.
  • Help you track traffic by segment e.g. mobile device visitors, via social media links etc.
  • Helps you check your ‘Bounce rate’ i.e. how many visitors visit only one page of your website then ‘bounce’ away.

Using Google Analytics To Analyze Your Website
The tool of choice when it comes to analyzing website performance is Google Analytics. It’s a free app offering a wide range of tools for analyzing, profiling and reporting your website data. You can set up criteria to report on, create alerts to monitor events, compare data in date ranges and so on. Google Analytics works on a website by website basis so it’s easy to get and manage data from multiple websites. Setting up Google Analytics for use with EverWeb just takes a few steps…

Setting Up Google Analytics
To start using Google Analytics create a Google Account if you don’t already have one. If you already have a Google account, go to https://www.google.com/analytics to create an Analytics account.
Once you have created your Google account that includes Google Analytics, you’ll need to generate a Tracking ID which will be used in your EverWeb project to accumulate analytic data. To get the Tracking ID…

  1. In Google Analytics, click on the Admin menu
  2. Your Account is listed in the left hand pane. To the right is the ‘Property’ pane. Click in the Tab underneath the word ‘Property’.
  3. Select ‘Create New Property’.
  4. On the next screen create the Tracking ID for your website. Under ‘Website name’ enter the name you want to call the Tracking ID e.g. ‘My new website’.
  5. In the Website URL box, enter the website address you want to accumulate data for e.g. ‘www.mynewwebsite.com’.
  6. If you want, enter the type of industry that relates to the website, although it’s not obligatory.
  7. Finally, enter the timezone you want to report from. This will usually be your own timezone unless specifically need to use a different timezone.
  8. Once you’ve completed the above steps, press the ‘Get Tracking ID’ button.
  9. On the next screen you will see your Tracking ID code in the ‘Website tracking’ section. Copy all of the code that’s in the box to the clipboard (see screenshot below). Do not copy the ‘PHP Implementation’ box as it is not needed.
tracking ID

Google Analytics Tracking ID Code

Setting Up Google Analytics in Your EverWeb Project
Now that you have copied the code from Google Analytics, you need to paste it in the right area in EverWeb…

  1. Open the EverWeb Project file that relates to the Tracking ID code you have just copied to the clipboard
  2. Go to the Site Publishing Settings using the File-> Edit Publishing Settings menu, or just click on the website name in the Web Page List on the left of the EverWeb UI.
  3. Paste the code in to the Footer area of the Head/Footer Code section (see screenshot below).
  4. Publish the website to implement the code.
  5. Once you’ve published the website, your data will begin to accumulate in Google Analytics.
  6. To find your accumulated data, go to Google Analytics and login to your account.
  7. You will see your website data available to view from your Google Analytics Home page. Note that you may not see any data in the 24 hours after setting up.
Tracking ID Code in EverWeb

Google Analytics Tracking ID Code pasted in to the Footer section of the Head/Footer Code area of the Site Publishing Settings

Tips on Using Analysis Tools
Analysis tools, such as Google Analytics, can be bewildering in the variety of ways you can track, accumulate and report data for analysis. If you’re starting out with this type of tool remember

  • Keep focused on the data you want to get out of the analysis tool.
  • Remember what your priorities and goals are… SEO? Mobile visitors? etc.
  • Check your analytics regularly so you can make any necessary changes easily and quickly to your website SEO.
  • Track changes you make to your website over a period of time – are they effective?

Analytics are an extremely useful tool for EverWeb website developers when used properly, and in a focused way, to get the data you want from your website.

17 Jun 2016

Using EverWeb in The Cloud

No Comments EverWeb, Software, Tips and Tricks, Tutorials

The growth of Internet Cloud based services has been a boon to many people who now have the flexibility to work either in the office, at home or on the road. Cloud based services also make collaboration easier than ever. EverWeb developers who work in a mobile-centric way, or need to collaborate on website projects with others, can take advantage of Cloud based services. Working where you want has never been easier…

The best way to collaborate or share EverWeb project files is by using Cloud based drives such as Dropbox or iCloud as both offer easy, flexible and cost effective ways to work in anywhere, anytime.

Sharing EverWeb Project Files in The Cloud

  1. If you are going to be using Dropbox it must be installed on all the computers you want to share EverWeb Project files with. If you try to open an EverWeb Project file through www.dropbox.com in a browser window it won’t work properly. Once you’ve installed Dropbox on your computer, the Dropbox folder location is added to your Favourites in OS X’s Finder window (see screenshot below.)
  2. If you’re using other Cloud services, such as Apple’s iCloud Drive, make sure it’s been installed and configured properly, then log in to the service.
  3. After installing and logging in to your Cloud service, the next step is to locate the EverWeb Project file you want to share. When you create an EverWeb Project you give it a name, but this is really only an alias. The actual Project filename is a randomly generated alphanumeric name with a ‘.everweb’ file extension.
  4. To locate the Project file, go to the EverWeb Projects Window where all your Project files are listed. Click on the up/down arrows to the right of your Project’s name.
  5. From the menu select ‘Show On Disk…’
  6. You’ll see the Project file selected in the Finder window. Drag and drop the file to your the Cloud storage location. Typically the location is automatically added as a Favorite to the Finder window in OS X when you install your Cloud based service e.g. ‘Dropbox’, ‘iCould Drive’ etc.
  7. Once you have dragged and dropped the file in it’s new location, go back to EverWeb, close the application and relaunch it (or just close and reopen the Projects Window.) This refreshes the Projects Window and you’ll notice that the Project file you just moved is no longer listed.
  8. To access the Project file you just moved, go to it’s new Cloud location using OS X’s Finder window. Double click on the Project file name and it will open in EverWeb.
EverWeb in the Cloud

When moving EverWeb Project Files into the Cloud, it’s a good idea to first create a folder for it using the Project File’s (alias) name.

Tips on using EverWeb Projects in The Cloud

  1. EverWeb Project filenames are randomly generated when you create a new Project. In EverWeb itself an alias is used, initially ‘NEW WEBSITE’ until you change it. When accessing the Project file from The Cloud, you want an easy way to find the Project file using it’s alias rather than it’s real file name. To do this, create a folder in The Cloud using the Project’s alias name. Drag and drop the Project file in to this folder using the instructions above. This approach makes Project file easier to find especially when you have more than one Project stored in the Cloud. In the screenshot above, our Project alias is ‘Recruitment Co’ so we created a folder with the same name and dropped the Project file there for ease of use.
  2. When sharing a Project file, or when using it yourself on more than one computer, only have it open on one computer at one time. If you move to another computer, close the Project file on the first machine before opening it on the next computer.
  3. If you’re using any third party widgets install them on all the computers you are going to be using. If collaborating with others, check with your third party vendor about licensing and sharing third party widgets!
  4. The Project File may look different on different computers due to differences in screen sizes and resolutions. You may need to expand or contract the Project file window when you open it.
  5. If your Project file uses widgets, you may need to manually refresh the widget if it doesn’t automatically refresh (i.e. looks too large or small) on screen.
  6. Putting your EverWeb Project file in The Cloud allows you to work from almost anywhere as long as you have an Internet connection. Whilst there are some caveats to it’s use, it’s a great way to remain productive when in the office, at home or one the road!

    Got a question or comment about using EverWeb Project files in The Cloud? Let us know below!