Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Article Keywords or Tags in CP Teaser as RT #46

Closed
starflasher opened this issue Sep 19, 2013 · 6 comments
Closed

Use Article Keywords or Tags in CP Teaser as RT #46

starflasher opened this issue Sep 19, 2013 · 6 comments
Assignees

Comments

@starflasher
Copy link

In German, sorry:
Schlüsselwörter, die ich in den Artikelbasisinformationen eingeben kann, als RT im CP Teaser nutzbar machen.

@slackero
Copy link
Owner

slackero commented Oct 1, 2013

was meinst Du damit? Beschreibst Du bitte detaillierter oder packst Screenshot anbei

@ghost ghost assigned slackero Oct 1, 2013
@starflasher
Copy link
Author

In den "Artikel Basisinformation" kann man Schlüsselwörter(Tags) festlegen. Diese wären sehr praktisch z.B. als Sortiermethode von mehreren Teasern. Wunsch wäre, diese Schlüsselwörter(Tags) als Replacementtag im Contentpart Teaser/Artikellink Template verfügbar zu machen, so wie bei News (NEWS_TAGS)

@slackero
Copy link
Owner

slackero commented Oct 4, 2013

Die Schlüsselwörter gibt es doch bereits im Content Part. Oder sollen diese auch im Frontend benutzt werden über entsprechende Templatevariable? Nur zur Anzeige oder für mehr?

@starflasher
Copy link
Author

Genau, Nutzung zur Ausgabe im Frontent. Um z.B. die "Isotope" Sortiermethode für Teaser nutzen zu können. Dort werden die Schlüsselwörter als CSS-Klasse verwendet.

@slackero
Copy link
Owner

slackero commented Sep 9, 2014

CSS-classname1, CSS-classname2, CSS-classnameWhatever

<div class="teaser[CLASS] {CLASS}[/CLASS]">

render result

<div class="teaser classname1 classname2 classnameWhatever">

@slackero slackero closed this as completed Sep 9, 2014
@robinsherwood
Copy link

"Um z.B. die "Isotope" Sortiermethode für Teaser....."
Jay! Great :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants