saulhoward / haddock-cms

Automatically exported from code.google.com/p/haddock-cms
0 stars 0 forks source link

Setting the SiteTextsHTMLPage class has to be done by hand #100

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. You have created a SiteTextsHTMLPage class (with a name like 
SampleProject_SiteTextsHTMLPage).
2. You want the SiteTexts_PagesHelper to know which class to use to display the 
page.
3. The class name has to be set by hand.

What is the expected output? What do you see instead?

There are two solutions to this problem, and both should be implemented before 
this issue is closed.

The first is to write a CLI script that can set the SiteTextsHTMLPage class.

The second is to get the SiteTexts_PagesHelper to search for a class named 
SampleProject_SiteTextsHTMLPage if 
the CLI script has not been run and there is no SiteTextsHTMLPage set. This 
would be a "convention over 
configuration" approach.

See also

http://code.google.com/p/haddock-cms/issues/detail?id=97

Original issue reported on code.google.com by robert.i...@gmail.com on 4 Oct 2009 at 9:19

GoogleCodeExporter commented 8 years ago
The first solution has been implemented. It is now possible to set and show the 
site texts HTML page class at the 
command line.

Original comment by robert.i...@gmail.com on 8 Feb 2010 at 11:30