Piwigo / piwigo-openstreetmap

OpenStreetMap integration for Piwigo
http://piwigo.org/ext/extension_view.php?eid=701
GNU General Public License v3.0
35 stars 35 forks source link

Position of the map in category's description #52

Closed piwigoputti closed 9 years ago

piwigoputti commented 9 years ago

How can the position of the card to be changed? I would have liked to below the categories. The description should remain above the category All thing.

xbgmsharp commented 9 years ago

You want to change the position of the card? What card? Unless you refer to the map. If so which one? Using the map in category's description, you want to be able to set it below or upper?

piwigoputti commented 9 years ago

Thanks for the quick response. Look SnipFile.

piwigoputti commented 9 years ago

Thanks for the quick response. M. Rößmann

xbgmsharp commented 9 years ago

Please confirm what you are looking for? So I can take a look and I might be able to implement the feature.

piwigoputti commented 9 years ago

I have

{if !empty($CONTENT_DESCRIPTION)}

{$CONTENT_DESCRIPTION}

{/if}

moved into the index.tpl the entry to the bottom. Then, however, map and text are shifted downwards. The text should stay on top.

So it is now:

That's how it should be:

xbgmsharp commented 9 years ago

Were you able to make it work by manually editing the file? If so it will same me time. You are probably missing you screenshot as there is no image or text for "So it is now:" and "That's how it should be:" Please show what it is now and what you want. Even better if you can provide the correct template output. Then I can work in it.

piwigoputti commented 9 years ago

Trying again to send the screenshots. So it is: so it is

that s how it should be that s how it should be

xbgmsharp commented 9 years ago

I add a new option to specify the position of the map in category page. Please test and review.

piwigoputti commented 9 years ago

Very good solution. Many Thanks. Also for speed and willingness solution.

piwigoputti commented 9 years ago

My suggestion for translations:

$lang['WIDTH_DESC'] = 'in Pixeln oder auto'; not automatisch

for the new slider:

Vorschaubild -->Beschreibung oben or: Beschr. oben Beschreibung -->Beschreibung unten or: Beschr. unten Letzte Seite -->Kategorie unten or Kateg. unten

xbgmsharp commented 9 years ago

Translation are handle by the PWG team. http://piwigo.org/translate/project.php?project=piwigo_openstreetmap

I try to avoid to create new translation so I used existing one in PWG. Probably not the best idea. I can add new translation word. How would you translate them in English?

piwigoputti commented 9 years ago

my english is google-english .... but PWG use: description (beschreibung), category (kategorie)

xbgmsharp commented 9 years ago

Done via 9f827b21bb9d274c54c24841dc170753e9f1d86a Please test and review.

xbgmsharp commented 9 years ago

Work completed. Closing. Please rate my plugin.