fan1127 / zoj

Automatically exported from code.google.com/p/zoj
GNU General Public License v3.0
0 stars 0 forks source link

Content of homepage #28

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Please make the content of homepage editable without redeployment.

I sugguest that it reads a text file with html content from the file 
system, and the path is configurable. But it can also be implemented in 
other ways as long as it is convenient to use and update.

What's more, the links in the left navigation bar are also expected to be 
editable shortly after release, please get ready for that.

Original issue reported on code.google.com by Charizar...@gmail.com on 13 Sep 2008 at 5:25

GoogleCodeExporter commented 8 years ago
The home_content.jsp is enough?
I will try to make this Enhancement, but it is not a bug.

Original comment by cerror...@gmail.com on 17 Sep 2008 at 5:48

GoogleCodeExporter commented 8 years ago
it's not enough.
we want to change the homepage content by simply editing some file on local 
disk. so 
we don't need to redeploy in this case. this file will not submitted to SVN and 
file 
path should be configurable.

Original comment by old...@gmail.com on 18 Sep 2008 at 5:23

GoogleCodeExporter commented 8 years ago
the content of the home page is in /root/home_content.txt, and this path can be 
changed in oj.conf

Original comment by cerror...@gmail.com on 18 Sep 2008 at 4:35

GoogleCodeExporter commented 8 years ago
1) When the configured file is not found, please display an empty page instead 
of 
throwing an exception.

2) Please remove
"<div id="content_title">
    ZOJ News</div>
<div id="content_body">"
and
"</div>"
from home_content.jsp.
They're expected to be present in the home_content.txt to bs more flexible.

Original comment by Charizar...@gmail.com on 26 Sep 2008 at 4:36

GoogleCodeExporter commented 8 years ago

Original comment by cerror...@gmail.com on 1 Dec 2008 at 6:23