Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QUESTION Layout News Manager
#1
Hallo,

Ich stehe gerade leider irgendwie absolut auf dem Schlauch. Huh

In welcher Datei kann ich die Anordnung/ das Layout der Newsposts mit dem News Manager 3.2.1  bearbeiten/anpassen.


Danke
Reply
#2
News Manager Einstellungen -> Beutzerdefinierte Einstellungen

showFields ... ( http://www.cyberiada.org/cnb/news-manage...sts-layout )

classPost ...
classPostTitle ...
classPostTitleLink ...
...

markupPost ...
markupTitle ...
markupPostDate ...
...

( http://www.cyberiada.org/cnb/news-manager-c/ )
Reply
#3
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
Reply
#4
(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...s/main.css
Reply
#5
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
Reply
#6
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)
Reply
#7
(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 .
Reply
#8
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.
Reply
#9
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 Smile
Reply




Users browsing this thread: 1 Guest(s)