AlphaContent

Presentation:
AlphaContent is a component that allows the creation of directories such as Yahoo from sections and categories on your site Joomla!. It also helps to add items not categorized (Articles static) as a section like weblinks components and contacts. AlphaContent has its own voting system in ajax which can be used to replace the voting system natively.

License: AlphaContent version 4.x is made under license Donationware. All rights reserved.

Installation:
Install the component via the administrative interface to Joomla. During installation, the plugin content is automatically installed and published. If the plugin directory does not have permission in writing, and an error occurs. The component will be reinstalled after amendment rights in the directory Plugins.

Getting Started:

Step 1 - General settings
Via the admin panel, click the component AlphaContent and set the general configuration of the component.

General listing results settings:
This set of parameters determine the main parameters for displaying the listing of results.
-- Home listing can display a list of results to choose between the sections of content, articles static Weblink section, the section contacts or a list of selected items, or to see anything at all.
-- Featured Items ID: specify the ID articles if you have selected the option to manual selection.
-- Num columns: You can view your results list on 1 or 2 columns.
-- Intro style: Possibility between no intro, intro text only (no html tag) or the original intro of the article parsed with all content plugins.
-- Limit chars intro: if you selected intro text, you can limit the number of character to the display.
-- Title linkable: yes or no.
-- Num index: displays a numbering each item before the listing.
-- Icon New: displays an icon "New" in the wake of the title of the article.
-- Number days: enter the number of days during which the icon "New" should appear.
-- Icon hot: displays an icon "Hot" in the wake of the title of the article.
-- Number of hits: indicate the number of hits decisive display of the icon "Hot".
-- Date article: show/hide the date of the article or the modification date.
-- Format date: selection of the display format of the date.
-- Author article: show/hide the author of the article.
-- Section/Category: display the name of the section and the category of the article.
-- Hits: show/hide the number of hits on the article. (Deactivated for the contacts section)
-- Number comments: show/hide the number of comments on the article.
-- Comment system: selected comment system used to display the number of ecommentaires.
-- Print: displays a link "print" in the listing.
-- PDF: displays a link "PDF" in the listing.
-- Email: displays a link to "send" in the listing.
-- Report: Report by email an article to administrator
-- Read More: displays a link "read more" in the listing if the option is enabled intro text and the text is truncated or whether the article has naturally follow.
-- Link map: Displays a link to Google Maps (see below).
-- Number pages total: displays the page on the total of existing pages.
-- Results per page: Select the number of items to be displayed per page.
-- Search box: displays a search box.
-- Search box button: displays a button box after the search box.
-- Default ordering: Select the default order of the results of the listing.
-- Show Image article: show/hide the first or the last image in article content.
-- Image position: selected to the left of the listing, to the right of the listing or alternately.
-- Width image(px): enter the number of pixel for image.

Google Maps Location settings:
This set of parameters allows use of integrated AlphaContent function to display a link to "map" through google Maps API.
-- Zoom Level: Enter a level of zoom to the map.
-- Width map: enter a number pixels to determine the width of the Google Maps.
-- Height map: enter a number pixels to determine the height of the window Google Maps.
-- Map Type Menu: display types of maps available (map, satellite, hybrid) in the window Google Maps.
-- Map Controls Menu: display navigation tools in the window Google Maps.

How to use Google Maps plugin?
To create a link to Google Maps, you must enter the following tag in your article: {ALPHAGMAP=longitude|latitude|marker text}. Latitude and longitude are digital and marker is the message text of your location map (HTML is supported but not the quotation marks). Example for Paris: {ALPHAGMAP=48.85667|2.35099|Paris!}

Ajax Rating System:
This set of parameters may use the ajax voting system integrated with AlphaContent.
-- Use ajax rating system: yes or no.
-- stars : number of "stars" to display.
-- Width: If you choose to alter this width, if you want to use your own image for the vote, you may also consider changing the CSS file (rating.css) in components / com_alphacontent / assets / css / and replace the image of voting in components / com_alphacontent / assets / images / starrating.gif. Default is 16 pixels.

Notes: In case you want to use the voting system outside the framework of the AlphaContent when using it is necessary to edit the parameters of the plug and move to alphacontent "enabled".

Problem with AjaxRating System :
If your website is in localhost or in a directory (not at the root of your domain or sub-domain), the rating bar can work not properly. Just edit the file named rating.js located in <your site>/components/com_alphacontent/assets/js.
Search this lines below (line 67):

var myDomain = '';

if ( document.domain!='localhost' ) {
        myDomain = /(http?:\/\/[^\/]+)/.exec(window.location.href)[1] + '/';
}

and change like this

var myDomain = 'your url'; // example : var myDomain = 'http://www.xxxxxxx.com/xxxxx/' or var myDomain = 'http://localhost/xxxxxx/'
/*
if ( document.domain!='localhost' ) {
        myDomain = /(http?:\/\/[^\/]+)/.exec(window.location.href)[1] + '/';
}
*/

Sharethis Widget:
This set of parameters allows use the widget of Sharethis . You can create your personal widget at http://sharethis.com/publisher?type=stapi#configurator. Just registered before.
-- Use Sharethis widget: Yes or no.
-- Sharethis widget code: Paste your Sharethis widget code in this textarea.

Notes: In case you want to use the Sharethis option outside the framework of the AlphaContent when using it is necessary to edit the parameters of the plug and move to alphacontent "enabled".

Step 2 - Create a menu
Create a menu related AlphaContent component via the admin panel of Joomla. Then edit the parameters specific to this menu.

In Part basic parameter, you find all parameters needed to create the directory.
In Part advanced, you will be able to add functionality to the directory, such as displaying the image of sections and categories, image size and the ability to add an image in sections weblinks, contacts and Articles static. Possibility to showing a RSS link with icon.

You can added a new alphabetical bar below the first : just add <br/> or <br /> seperate by comma ,

example for russian : А,Б,В,Г,Д,Е,Ж,З,И,К,Л,М,Н,О,П,Р,С,Т,У,Ф,Х,Ц,Ч,Ш,Щ,Э,Ю,Я,<br />,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z

-- Related Articles: You can show as a result of the article a number of article with the same keywords that the selected item.
-- Number of items: provide a number of the articles on display at the end of the article.

-- Tags: You can with this option displays a list of tags above article. Each tag displayed can launch a search in articles with the same tag.
-- Number of tag to display: indicate the number of tags to be displayed.

-- Voting system: activate or not the voting system for this directory.
-- Selection of the voting system: You can choose between the native system Joomla or the voting system in Ajax AlphaContent.

In Part component, you find all the basic parameters entered in the administration of the component. Each menu can be configured differently and can publish several different directories.