Forum OpenACS Development: ETP application

Collapse
Posted by Sandhya Subash on
Hi All,

  I am developing a ETP application that uses Docbook/format.
Is it necessary to use the standard page attributes Title,
Description, Content in order to define a new content type??

Also, say I define 4 content types, can I create separate templates
for each content type or they have to use the same template??

Also, I would like the users to be able to add images to their
content. What are possible ways for doing this??
Is this something which has been implemented already??

I would really appreciate your ideas.

Thanks
Sandhya

Collapse
Posted by Dave Bauer on
You can assign a index and content template each application/content type.

There currently is no system to allow uploaded photos. You might want to look at the new attachments package.

The image upload should be addressed in ETP 2.

Collapse
Posted by Sandhya Subash on
Hi Dave,

You said to use index for each content type. Can you expand on that. Do you mean index a column or .....

Also, how can you create many content types.
For eg Create a new "Chapter" or "Section" or "Subsection"

etp::define_application lets you define only one content_type_object
so how can you many content_items.

Any ideas would be helpful

Thanks

Collapse
Posted by Dave Bauer on
If you want to use compound content_types that contain other types, you will need to use the CR directly and write your own code. ETP does not currently handle this situation.
Collapse
Posted by Sandhya Subash on
Dave,
    Is ETP 2 part of OpenACS 4.6
does ETP 2 handle uploaded images currrently?

Also, how can you produce XML code from a ETP application. I am building a docbook document.

Cheers