The task is to create a Joomla 2.5 component that adds several things to articles:
* a topline
* a sub-headline
* an additional date field called "Event date"
* the possibility to edit these things both from backend and frontend
This component aims at giving more flexibility to articles in Joomla. So far, we will call this component "Newspaper Style Articles". For details, see below.
The idea of this component is to give Joomla articles more of a "Newspaper Style" flexibility.
In newspapers, major articles often have not only a main headline, but also a topline (a smaller headline above the main headline), or a sub-headline (a smaller headline beneath the main headline, giving more detailed information).
One more thing is: Joomla articles have in their parameters the Create-date, the Start-publish date field and the Publish-until date field. What is amiss, however, is a separate date field to indicate the date of an event reported in the article (which often differs from the Create date!).
Technically, the component should provide
* A button (plugin) which appears in the editor (backend and frontend), to switch on and off the additional fields provided by the component
* If switched on, in the editor there should appear an option (tick-mark or radio button) to switch on/off the three options "Use topline", "Use sub-headline" and "Use date of event".
* If switched on, the topline and sub-headline options provide in the editor individual form fields, similar to the "title" form field, to enter text for the topline and the sub-headline. No html editing is necessary here, but the text put into the fields must be rendered on display in a <span class="topline"> or <span class="sub-headline> respectively, so that css styling is possible.
* The Topline form field and the Sub-headline form field should appear in the editor (backend and frontend) above and respectively beneath the main headline, to give my users (authors) a feeling of how things will look like when finally published.
* The "Event date" option, if switched on, provides a separate date field in the editor. The format of the date display will be able to be set in the [url removed, login to view] files, as usual. To visitors, the content of "Event date" will be displayed within a <span class="eventdate"> to enable css styling.
* To visitors, the topline must be displayed above the headline. The subline must be displayed beneath the headline. The Event date must be displayed in the same line as the "create date", before the create date. (This relates to the "[url removed, login to view]" in "component/com_content/article/views/tmpl).
* In blog layout parameter settings, where the "ordering" is being set, there should appear two more options: "order by event date, most recent first" and "order by event date, oldest first". Moreover, there must appear a "Show Date of Event" option in the parameter settings of whatever menu type.
* There is no need the additional headlines to be displayed in blog-layouts. In blog layouts, just the regular main headline will be used. The topline and the sub-headline will be displayed only in regular article view.
* Articles with "Newspaper Style Article" component enabled for them will appear on the site (= to the visitor) with the element tick-marked for them in addition to the regular elements. Elements from the component that are not switched on for the individual article must not appear on display, so to not interfere with the other elements of the content. (Meaning: There should not appear empty table rows or so which could affect the layout of the page and make, for example the distance between the headline and the article text to large or so.)
* The complete package should be able to be installed using the Joomla extension manager, as usual. (Meaning: there should be an xml file to give the appropriate advice to the system.)
This is a complex project. The bidder is invited to comment on the feasability of the various elements of the task and to suggest alternative solutions.
Question: Will it be possible to make the "Order by event date" options available also in third party blog layout solutions, especially various news-modules? Or would this need individual programming for each module? (Example: I often use "Raxo Allmode" on my sites... )
If you have any questions, don't hesitate to contact me.