This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Developer » problem with sections: shared...
expandshrink

problem with sections: shared articles in one section are shown using templates from another section

problem with sections: shared articles in one section are shown using templates from another section

Wednesday 02 March 2005 5:14:07 pm - 3 replies

I have 2 sections:

-Public - this section is accessible to everyone.
-Protected - this section is accessible only to registered users.

I made different templates for both sections:
- in Public section users can see only preview of article
- in Protectes section registered users can see full view of article

I put all articles to protected section, and for some articles I added locations to public section.

Problem: shared articles in public section are shown using templates from Protected section

Monday 07 March 2005 11:19:30 am

You should look into creating the template override based on subtree instead of section. That way you can have the same article showing in a different template on the different sections.

--bård

Thursday 31 March 2005 3:02:31 pm

sorry, for my stupid question. But how to make "emplate override based on subtree"?
When i create new template, i can choose only: section or /and node. There is no option to choose subtree....

Tuesday 05 April 2005 5:00:39 pm

Perhaps use the node of the folder, subtree ... to make an override based on subtree

In the same way, is it possible to add automatically locations to object when they are created ?
I create objects in one resctricted section .
I would like people would be able to acces the same objects in another section.

Thanks ...

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from