Posts: 5
Threads: 1
Joined: Nov 2015
Hallo,
Ich stehe gerade leider irgendwie absolut auf dem Schlauch.
In welcher Datei kann ich die Anordnung/ das Layout der Newsposts mit dem News Manager 3.2.1 bearbeiten/anpassen.
Danke
Posts: 3,491
Threads: 106
Joined: Mar 2010
News Manager Einstellungen -> Beutzerdefinierte Einstellungen
showFields ... ( http://www.cyberiada.org/cnb/news-manager-b/#-Posts-layout )
classPost ...
classPostTitle ...
classPostTitleLink ...
...
markupPost ...
markupTitle ...
markupPostDate ...
...
( http://www.cyberiada.org/cnb/news-manager-c/ )
Posts: 5
Threads: 1
Joined: Nov 2015
Danke.(auch für das tolle Script!)
Das ist jetzt aber alles für den "Editor" bei den Einstellungen oder?
Wenn ich jetzt zum Beispiel den Auto neben dem Datum angezeigt bekommen möchte.
Oder Abstände/ Anordnungen ändern will.
In welcher css/php Datei finde ich die Angaben/Parameter nach denen der Newspost dann auf der Seite angezeigt wird.
Danke
Posts: 3,491
Threads: 106
Joined: Mar 2010
(google translation)
Dieses Plugin nutzt verschiedene CSS-Klassen (Titel, Datum, Inhalt, etc), aber Sie müssen Ihre eigenen CSS-Regeln, um einen Stil der Ihren Wünschen gelten schreiben. ( http://www.cyberiada.org/cnb/news-manager-a/ )
Code:
.nm_post { ... }
.nm_post_title { ... }
...
Beispiel:
http://webs.org.es/newsmanagerdemo/news/
Siehe die letzten Zeilen in der CSS-Datei:
http://webs.org.es/newsmanagerdemo/theme/BlueSky/css/main.css
Posts: 5
Threads: 1
Joined: Nov 2015
2015-11-16, 17:50:34
(This post was last modified: 2015-11-16, 19:23:06 by Relg.)
Thank You.
Sorry to bother you, but i am not so used to CSS.
Can you please give me an example what i would need to change in which file so for example the author is shown next to the date.
Thank You
Posts: 3,491
Threads: 106
Joined: Mar 2010
Without using CSS, this may work for most themes:
Enable Custom settings and enter this below:
Code:
markupPostDate span
markupPostAuthor span
(of course you also need to have
showAuthor 1 there, and NMSAVEAUTHOR enabled in gsconfig)
Posts: 5
Threads: 1
Joined: Nov 2015
(2015-11-17, 03:46:27)Carlos Wrote: Without using CSS, this may work for most themes:
Enable Custom settings and enter this below:
Code:
markupPostDate span
markupPostAuthor span
(of course you also need to have showAuthor 1 there, and NMSAVEAUTHOR enabled in gsconfig)
That works. Thanks alot!
But anyways, i am still looking for a file where i can change the layout manually.
Or is this not possible?
For example if i want to put the Content into tables or align it .
Posts: 3,491
Threads: 106
Joined: Mar 2010
Right now it's not possible, unless you edit inc/site.php - but you'll have to edit it again when you upgrade the plugin.
Custom post rendering is in the roadmap, but I cannot tell you when it will be implemented.
Further questions or comments in English about NM, please let's continue in the
support thread.
Posts: 5
Threads: 1
Joined: Nov 2015
Thank you very much for your efforts!
Yes, i saw the english Thread, but i assumed there would be some german Support in this section.
For further questions, i will switch