I was thinking about creating new module, but this funcionality can be easily implemented in this one.
Proposal:
New textfield on /admin/config/system/site-information to specify delimiter. For example "!".
Then one can set site name(or slogan) to something like "My! super! site!." and get this as result:
<span class="part01 odd">My</span><span class="part02 even"> super</span><span class="part03 odd"> site</span><span class="part04 even">.</span>
and theme it simply with css.
The main advantage behind this is that site name and slogan are easily exportable using features and strongarm. It's more friendly to less experienced site builders than custom block with HTML filter (or even php filter) and all the code inside block body.
Do you like this idea or should I create dedicated module?
Comments
Comment #1
jpoesen commentedThis is a very specific use case that doesn't fit with the overall goal of blockify.
A custom solution (one-off module, custom block, etc) is probably best.
J.