Need some work done? Post a Project Today
=== Introduction ===
For our institutional website, we recently created the “Thematic Page Headlines” extension, short THP, or vi_thematicpageheadlines to support adding newspaper style page headlines such as “International politics”, “Municipal affairs”, “Sports”, “Economy”, etc. to pages, and to assign certain layout features (via css classes)
In the backend, it adds to each page a number of text fields to define
- A wording for the headline
- An html tag pair to enclose it
- A background colour to be assigned to the tag
- A link to be assigned to the wording
Frontend output is created through a marker placed in the html template used for the pages.
=== Task ===
What we need now is additional functionality for this extension:
In the backend, the extension shall provide one more (i.e. additional) text field. This text field will enable us to enter values ad libitum, which then will be imported to a place in the html template we define by putting the marker there (well, quite logically so).
=== Example ===
An example will make clear what this will be used for:
Say, in the html template, there is roughly the following:
And in the backend, we use the new field to enter some fancy styling e.g.
class=”greenline” style=”border: 2 10 10 5”
Then the html output will eventually become
Which will give as the freedom to do a pretty large number of beautiful things.
=== Implementation ===
There are two options to do this:
- Extend the existing extension
- Make a new extension that adds this functionality to the existing extension (but must be installed separately.
We have no preferences here, and are keen to learn what you would recommend.
=== Details ===
A pdf is attached, containing the description as posted above, plus a little bit more background, which however is not really necessary for understanding the project.
Additional Project Description:
02/05/2013 at 3:34 EET
Well, freelancer.com has stupidly removed my html code examples in the project description.
So, better download and read the pdf version where code snippets will be visible.
02/05/2013 at 4:46 EET
Additional Feature Request:
One thing I forgot to include in the project description:
I would also like to add an "extend to subpages" feature to the Thematic Page Headlines extension in form of a tickmark.
With this ticked "yes", values entered in what ever field of the TPH extension would apply also to subpages, unless in the specific subpage another value is provided.
(Bidders who have given their bid prior to this additional feature request may expect an appropriate bonus, in case their bid is chosen)