10446 Posts in 2223 Topics by 1719 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 875 Views |
-
Photo galery first content then images

28 March 2009 at 12:24pm
Hello,
i would love to show the content from the cms first on the galery page instead of the image or file like it is now.
Can someone point me in the right direction where i can change this ?http://zeeppompje.nl/foto-s/ First it will show the image / file and then the content, but i want to turn this around.
-
Re: Photo galery first content then images

10 April 2009 at 2:40am
Go to gallery/templates/Layout and open GalleryPage.ss
Change it from...
<% end_if %>
<h2>$Title</h2>
<% include GalleryPageContent %>
$Content
$Form
$PageCommentsTo...
<% end_if %>
<h2>$Title</h2>
$Content
<% include GalleryPageContent %>
$Form
$PageComments -
Re: Photo galery first content then images

10 April 2009 at 3:16am Last edited: 10 April 2009 3:18am
You should never modify the template that comes with a module. Override it in your themes or mysite directory. Leave the module code untouched so that you can cleanly update the code as new versions come out. Especially if you're on SVN -- you'll run into conflicts that way.
None of the templates that come with modules are intended to be the final implementation. You're expected to override them with your own styles and markup. Just recreate ImageGalleryPage.ss and ImageGalleryPage_album.ss in your theme folder and you should be fine.
| 875 Views | ||
|
Page:
1
|
Go to Top |

