Page 1 of 2

Image Order

Posted: 23 Nov 2015, 21:20
by sulu17
Hi,

I wonder about the image order in all of my galleries... I like to order the images of a category by descending ID, but if I have a look the category site, the ordering doesn`t work... I`ve absolutely no glue why....

Please have a look at yoga-on.com/retreats/fotogalerien

On the homepage yoga-on.com I`ve placed several image module on the righthand side with mosaic effect. Are the images choosen randomly? Otherwise I`ve no glue why the ordering of the six mosaic images is like it is...

Hope you could help me...

Thanks und kind regards
Susanne

Re: Image Order

Posted: 27 Nov 2015, 18:52
by Jan
Hi, in module options you can set the ordering of the images in module - did you set it in module options?

Jan

Re: Image Order

Posted: 02 Dec 2015, 10:09
by sulu17
Hi Jan,

now I just solved the prob with the image ordering. Everywhere I set the ordering to "ID descending", that works fine.

But one prob still exist: if I click on the homepage on one of the mosaic images of the gallery "La Hacienda" I come to the category view (http://www.yoga-on.com/component/phocag ... a-hacienda), but there are two probs:

1. I only see some of the gallery images only on one page without the possibility to go forward and backward in the gallery to see ALL images

2. the gallery loose its focus, that means my header-image choosen for the image gallerys in general is gone and above the gallery "La Hacienda" you can read "Beiträge - La Hacienda" instead of "Fotogalerien - La Hacienda".

What have I done wrong??

Thanks for your support!
Susanne

Re: Image Order

Posted: 02 Dec 2015, 12:04
by sulu17
Perhaps one hint:

If I open the gallery "La Hacienda" over the category overview site, the link to the gallery is: http://www.yoga-on.com/retreats/fotogal ... a-hacienda

If I click on the homepage on one of the images of the Image module "la Hacienda", the link ist like: http://www.yoga-on.com/component/phocag ... a-hacienda

I think that`s the problem, or? But I`ve no glue, how to solve the prob...

Please help.

Thanks
Susanne

Re: Image Order

Posted: 02 Dec 2015, 12:31
by christine
Hi Susanne,

to delete: "Beiträge" ususally it could be solved with an "override":

a) Erstelle ein Override von components/com_content/views/article/tmpl/default.php und lösche dort den rot markierten Teil (in Zeile xx):
<?php if ($this->params->get('show_page_heading', 1)) : ?>
<h1>
<?php echo $this->escape($this->params->get('page_heading')); ?>
</h1>
<?php endif; ?>
b) it can also be already in your template:
template/your template/html/com_content/article/default.php

So, have a look there (YOUR template).

c) Since newer Joomla3, above ,1 [see a)] will not more exists (?).

d) Try following: now in german :wink:

Template > Erweiterungen > Sprachen > Overrides > Neu
rechts in das Feld bei: Inhalt das Wort "Beiträge" (ohne "") eingeben. Dann siehst Du eine Liste.
Klicken auf: "Weitere Ergebnisse" bis: das Wort Beiträge aufscheint.

Ich glaube, es ist der "Schlüssel" "JGLOBAL_ARTICLES"

Links oben das Wort Beiträge entfernen. Speichern.

Also versuch mal: d) :idea:

Grundsätzlich ist: "Fotogalerie" etc. eine h1 (Seitentitel)

Liebe Grüße, Christine

Re: Image Order

Posted: 02 Dec 2015, 12:43
by sulu17
Hallo Christine,

danke für die Zwischeninfo. Ich hab` ein J3-Template im Einsatz.

Dass da "Beiträge" steht, ist grundsätzlich erst einmal das kleinere Übel. Es werden ja zum Einen gar nicht alle Bilder in der Kategorieansicht angezeigt, zum anderen wird die Headergrafik oben nicht mehr angezeigt.....

Warum wird denn der Link nicht identisch aufgelöst? Wie gesagt über die Kategorieübersicht lautet er http://www.yoga-on.com/retreats/fotogal ... a-hacienda, über das Image Module http://www.yoga-on.com/component/phocag ... a-hacienda

Wenn doch der Link über das Image Module derselbe ist wie http://www.yoga-on.com/retreats/fotogal ... a-hacienda, dann tut sicher alles wie gehabt. Oder?

LG,Susanne

Re: Image Order

Posted: 02 Dec 2015, 14:04
by christine
Hallo Susanne,

Wegen der "Beiträge" hatte ich geschrieben, weil es erwähnt wurde.

Wegen Nichtanzeige der Headergrafik, weiß ich leider in Moment nicht. Beim anderen Link, wo die Headergrafik ist, gibt es ein:
<div id="s5_logo_module"> bei der anderen nicht. Überprüfe mal die Zuweisungen der Module.

Deine Links waren verstümmelt, daher korrigiert.

Liebe Grüße, Christine

Re: Image Order

Posted: 02 Dec 2015, 14:53
by Jan
Hi, the link, try to do this:
viewtopic.php?f=13&t=38298#p118819

This can be the reason for different links.

Jan

Re: Image Order

Posted: 02 Dec 2015, 21:46
by sulu17
Hi Jan,

I just put your php-file to the direction you said - unfortunately without success.....

URL shown by clicking on the image module "La Hacienda"
http://www.yoga-on.com/component/phocag ... a-hacienda


http://www.yoga-on.com/retreats/fotogal ... a-hacienda
URL shown, when clicking on the gallery "La Hacienda" of the categories view http://www.yoga-on.com/retreats/fotogal ... a-hacienda

Any other idea? I`m getting totally crazy :cry:

Susanne

PS: my system runs on
Joomla 3.4.5
Phoca Gallery 4.2.1
Image Module 4.2.1
php 5.3.10 --> can this cause the problem??!!

Re: Image Order

Posted: 03 Dec 2015, 09:37
by sulu17
Umzug der Website auf neuen Server mit php 5.5 erfolgt, allerdings ohne Änderung...