victorjonsson / Arlima

Article List Manager - Wordpress plugin suitable for online newspapers that's in need of a fully customizable front page
28 stars 16 forks source link

Pufftagg #96

Open ErikXXon opened 9 years ago

ErikXXon commented 9 years ago

What is an "pufftagg"?

victorjonsson commented 9 years ago

Where is the name used?

ErikXXon commented 9 years ago

In the settings for Arlima

pufftagg

victorjonsson commented 9 years ago

ping @aaslun Can you provide us with some info on this :) I know what it is but I'm unsure how to display the "pufftagg" in the template.

aaslun commented 9 years ago

I guess you can say that "pufftagg" (or newsbill tag, as it was translated to) is local newspaper jargon. It is a pre-lead in word or sentence that is often used to frame the "essence" of the article. I don't think that it is used in any of the default Arlima templates so if you want to use it you can extract it in the arlima_template_object-filter under the object's ['options']['newsbillTag'] index.

pufftagg

victorjonsson commented 9 years ago

Okey! In that case you can access it directly in the mustache templates using {{{options.newsbillTag}}}

{{#options.newsbillTag}}
   <a href="{{{url}}}" class="newsbill-tag">
      {{{options.newsbillTag}}}
   </a>
{{/options.newsbillTag}}
ErikXXon commented 9 years ago

Thanks!

ErikXXon commented 9 years ago

If i want to use newsbill tag, but dont want to replace the fontsize control - Is there an option for that?

victorjonsson commented 9 years ago

Yes, you can use the entry-word button in the wysiwyg-editor. It's the first button in the list, and has a symbol like ►Ⅰ. Mark the text and click the button and it will become a link with the class teaser-entryword on front end.