Share » Forums » Setup & design » Installed Corporate Template, how do...

Installed Corporate Template, how do i add a gallery to it?

Installed Corporate Template, how do i add a gallery to it?

Thursday 22 April 2004 2:29:27 am - 5 replies

Author Message

James Packham

Thursday 22 April 2004 4:05:59 am

It sounds like you're just starting out in ez publish and to answer your question properly would be quite long winded. I'd recommend you do the building an ez publish site tutorial, that'll help you understand a little better how ez works.

The Corporate "template" is just an example of what you can do with ez, you're much better off designing your own site from scratch and learning as you go along.

Regards,

James

lionel low

Thursday 06 May 2004 12:52:19 am

Followed your advice and did the tutorials. I sorta understand how the whole template thing works. I realized I liked the corporate template look and would just like to add a gallery to it.

So I created classes for both the album and gallery exactly as the gallery template. Then created templates for both album.tpl and gallery.tpl. However nothing shows up when i created the content. Any other suggestions will be helpful. Or confirmation that i am on the right track.

Lionel

Tore Skobba

Thursday 06 May 2004 1:35:39 am

Hi

Have you remembered to set the overrides, i.e your new classes uses the correct templates. Secondly, if you made new classes you must also check the permissions, i.e. can anonymous user view the new classes? By default he can NOT VIEW THEM. Login into admin and go to user, then check anonymous role and add your new classes.

Cheers
Tore

Kai Winnem

Monday 10 May 2004 6:24:51 am

Hi, I have been trying to do exactely the same with limited success. The overrides we need to set, are they these:

[gallery]
Source=node/view/full.tpl
MatchFile=gallery.tpl
Subdir=templates
Match[class]=<class_node>

[album]
Source=node/view/full.tpl
MatchFile=album.tpl
Subdir=templates
Match[class]=<class_node>

??? Thanks!

Kai Winnem

Sunday 16 May 2004 12:01:49 pm

Found them: KERNEL/setup/packages/gallery/files/default/design.gallery/override/templates

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu