Forum OpenACS CMS: Need Help In ETP !!!

Collapse
Posted by Ashwin Kumar on
Hi,
I defined a new application in etp-init with below code.
The problem is that if i have subtopic-2(LEVEL 2) inside
subtopic-1(LEVEL-1) the "bh_index" is not getting
called instead default "article-index"
is getting called except for first level.
If those are pages "article-content" is called
instead "bh-content"

This happens for 2 level and 3 level
pages/subtopics and so... except for 1 st level

I dont want to change application for every subtopic
instead top level template-(application) shud
come evrywhere.

wat is problem with my below code ?
wat can i do to acheive this ??
Any help is appreciated !!!

----------------
PICTURE
---------------

Level1 level2

subtopic-1
|
|__ ___ subtopic2
page-1 page2

-------------------------------------------------
code below
-------------------------------------

etp::define_application blah-blah {

index_template packages/edit-this-page/templates/bh_index
index_object_name "subtopic"

content_template packages/edit-this-page/templates/bh_content
content_object_name "page"

allow_subtopics t
allow_extlinks t
allow_symlinks t
}