Probleme mit Artikelsortierung / problems with article sort.

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
rws
Posts: 9
Joined: Thu 22. Sep 2005, 18:24
Contact:

Probleme mit Artikelsortierung / problems with article sort.

Post by rws »

Hallo zusammen,

wir nutzen phpwcms sehr intensiv. Nun haben wir ein Glossar realisiert mit phpwcms - aber so richtig glücklich sind wir damit nicht unbedingt.

Wir haben folgende Einstellungen:

Im Adminbereich ist die Sortierung folgendermaßen eingestellt.

Image

In der Artikelzentrale werden diese dann auch korrekt geordnet:

Image

Im Frontend allerdings ist dies nicht der Fall

Image

Wisst ihr woran das liegen könnte?

Gruß rws.

#############################################

Dear all,

we're using phpwcms very often. We have developed a glossary with phpwcms - but it won't work correctly.

We have set the following properties:

Within the admin section we have set the sorting as follows:
(Article title Ascending)

Image

Within the article center it appears correctly:
Image

But in the front end it won't appear as set in the admin section.

Image

Have you an idea why this happen?

Bye rws.
User avatar
Heiko H.
Posts: 868
Joined: Thu 27. Oct 2005, 11:41
Location: Dresden
Contact:

Post by Heiko H. »

Hallo,

guckst Du dort:

/config/phpwcms/conf.template_default.inc.php
$template_default["article_order"] = 0; // 0 = manual, 2 = creation date, 4 = start date -> + 0 = ASC, + 1 = DESC


Grüße Heiko...
rws
Posts: 9
Joined: Thu 22. Sep 2005, 18:24
Contact:

Post by rws »

Hallo Heiko,

vielen Dank, aber was soll ich dort eintragen wenn die Sortierung alphabetisch aufsteigend erfolgen soll?

Gruß rws

#################

Hi Heiko,

thank you for your reply, but what should I insert to effect the same as already inserted in the admin center here: alphabetical ascending
User avatar
Klappstuhl28
Posts: 833
Joined: Fri 4. Mar 2005, 01:58
Location: Hamburg
Contact:

Post by Klappstuhl28 »

funktioniert manual nicht, wenn du die Artikel dann
per Hand alphabetisch sortierst? Pfeil auf Pfeil ab?
Lars

Don't say you don't have enough time. You have exactly the same number of hours per day that were given to Helen Keller, Pasteur, Michaelangelo, Mother Teresa, Leonardo da Vinci, Thomas Jefferson, and Albert Einstein. - H. Jackson Brown -
User avatar
Heiko H.
Posts: 868
Joined: Thu 27. Oct 2005, 11:41
Location: Dresden
Contact:

Post by Heiko H. »

Hallo,

ja, ist mir auch grad erst aufgefallen, Du scheinst ein Artikelmenü zu verwenden, da kann ich Klappstuhl nur Recht geben.

$template_default["article_order"] auf "0" und Sortierung auf manuell (Pfeil auf/ab) stellen und die alphabetische Sortierung zu Fuß herstellen. :?


Ciao Heiko...
gent
Posts: 163
Joined: Tue 16. Dec 2003, 13:51
Location: Berlin

Post by gent »

ich habe das selbe problem, habe mir allerdings so geholfen:

in der datei /include/inc_front/content/cnt15.article.inc.php
zeile 33 abändern, von:

Code: Select all

"AND article_end>NOW() ORDER BY article_sort, article_tstamp DESC;";
in:

Code: Select all

"AND article_end>NOW() ORDER BY article_title, article_sort, article_tstamp DESC;";
das ganze funktioniert solange gut, wie man keine umlaute im artikeltitel benutzt. leider werden die umlaute in der sortierung an das ende der liste gestellt, und dort auch bund durcheinander.
bsp.:

Ba..
Be..
Bu..
Bü..
Bä..

besser wäre:

Ba..
Bä..
Be..
Bu..
Bü..

wenn jemand hier eine idee hat, wie man umlaute richtig sortiert, wäre ich super dankbar.
Post Reply