Stop Censorship

HomeFeatured Tutorials

Featured Joomla Tutorials

Maps and Graphs


Building a Project Indicator Page with AmCharts Line Graphs

no3DThis is the second article in a series on building indicator pages for your Joomla website. Below are examples of interactive line graphs produced with AmCharts. Please see also our other tutorials on AmCharts in this section.

 

Please note that most graphs are animated like the one you see below. To see the animation of other graphs when they load into the page, you may have to scroll down to the graph and reload the page in the browser. The page will reload and you will see the animation (only for pages with multiple charts).

 

You need to upgrade your Flash Player

1: Auto resizing chart

You need to upgrade your Flash Player

2: Chart with data gaps

You need to upgrade your Flash Player

3: Chart with scroller

You need to upgrade your Flash Player

4: Data in html

You need to upgrade your Flash Player

5: Multiple Charts - Two charts with different settings and data sets

You need to upgrade your Flash Player
You need to upgrade your Flash Player

6: Stacked charts

You need to upgrade your Flash Player

7: Interactive chart with value indicator plugin

You need to upgrade your Flash Player

0: Interactive chart

Current folder: Indidators
Filter file list: 
File name  
histogram
line
 

A few things to remember:

  • The path to the background image, if any, is set in the data file;
  • Some graphs use xml and others txt for data - remember to refer to the right extension in the html;
  • You only need one reference to the swfobject.js on a page;
  • Do not forget to copy all the files from the amline folders such as the fonts and plugins and patterns, the shockwave flash file and export files;
  • Rename each flashcontent file twice for each script;
  • The background image path is set in the settings.xml - make sure you only refer to directory where the file is located../name subdirectory/name.jpg - a full path with http:// etc does not work;
  • The plugin path is set in the settings.xml - make sure you only refer to directory where the file is located../name subdirectory/name.jpg - a full path with http:// etc does not work;
  • The SWFs in graphs' path is set in the data.xml - make sure you only refer to directory where the file is located ../name subdirectory/name.jpg - a full path with http:// etc does not work.
  • Data and setting files are case sensitive. If you use "setting1.xml" in the html but the file on the server is "Setting1.xml", it will not work.
  • And for those interested in the code, here is an example:
  • {spic}
  • <!-- amcolumn script-->
    <script type="text/javascript" src="http://www.test.developmentwork.net/jsmallfib_top/Indidators/line/swfobject.js"></script>
    <div id="flashcontentl0">
    <strong>You need to upgrade your Flash Player</strong>

    </div>

    <script type="text/javascript">
    // <![CDATA[
    var so = new SWFObject("http://www.test.developmentwork.net/jsmallfib_top/Indidators/line/amline.swf", "amcolumn1", "700", "400", "8", "#FFFFFF");
    so.addVariable("path", "http://www.test.developmentwork.net/jsmallfib_top/Indidators/line/");
    so.addVariable("settings_file", encodeURIComponent("http://www.test.developmentwork.net/jsmallfib_top/Indidators/line/amline_settings.xml"));
    so.addVariable("data_file", encodeURIComponent("http://www.test.developmentwork.net/jsmallfib_top/Indidators/line/amline_data.xml"));
    so.addVariable("preloader_color", "#999999");
    so.write("flashcontentl0");
    // ]]>
    </script>
  • {/spic}
  • Typography


    Post-It Notes on Your Joomla Site

    Note-its, developed by N-System, is a great extension to make your site special. We tested it in Explorer 8, Firefox and Chrome. It works out of the box. No conflicts with other extensions, easy to install and to implement. The developer has added more color pins.

    Just a Note


    To see Joomla in action, please visit our personal website.

    You can add as much text as you like.

    The width has been set to 250 and the badge type is Tape and the font is Parne.

    It is an excellent module. In our review in the JED, we give it five stars because it is innovative, builds upon the great work by an original developer and we really like the concept. You can now also include Urls in the note.

    Settings

    Checklist For Setting Up a New Joomla Website


    listsSetting up a Joomla website is not as time consuming as many people think. Based on our experience, we have developed a checklist to install and develop a new website for clients.

    As a minimum, below is the check list we follow whenever we install a new Joomla website. Depending on the functionality of the site, we install additional components, plugins and modules:

    Photography/Galleries

    Making a High Quality Screenshot of Your Website

    To show your Joomla website to others in forums, on twitter, etc., it is useful to make a screen shot of the site. The problem is that if you use "Print Screen" or the "Snipping Tool" that comes with Windows Vista, you only copy what you see on the screen, not the entire website.

    Using a Firefox plugin called "Fireshot", you can easily create a print screen of the entire website. Fireshot also gives you editing and annotation tools and you can save a screen shot in PNG (preferred), GIF, JPEG and BMP.

    Below you see two examples of a screen shot of a Joomla website, one with the Snipping Tool and one with the Fireshot plugin.

    A screen shot using Snipping Tool - you can only capture what you see on the screen

     

     

    A screen shot capturing the entire website using Fireshot

     

     

    The Fireshot plugin is available in the extensions repository of Firefox.




    Search Engine Optimization

    Using Google Adsense in Joomla

    If you are interested in placing advertisements on your Joomla site, we do recommend you use Google's Adsense Tools directly and stay away from extensions that provide adsense capability.

    Step 1: Register with Google Adsense. It is for free and within a day or so you will normally get Google's approval to participate in the plan.

    Step 2: Using Adsense Setup, manage ads and get an ad.

    Step 3: In the custom html module, you insert your Adsense code for the add. Make sure the editor does not strip the code. Choose the position of the module.

    Step 4: If you want, you can change the color of links, the border etc. using the manage my ads. We made it red for this website to keep the colors under control.

     

    Data Recovery


    Using a Subdomain as a Joomla Test Site
     
     

    file-managerYou may have noticed that we are using a subdomain for our site: www.test.developmentwork.net. We initially used it to test extensions.

    Well, these days are over since the site has become a production site. We have set up another subdomain for tests and also have set up a Joomla site on our home computer using WAMP to test extensions and scripts.





    Comments
    Add New Search
    +/-
    Write comment
    Name:
    Email:
     
    Title:
     
    Please input the anti-spam code that you can read in the image.