-
- 16 Posts
Hiya All,
I am not even sure where to begin.
I have a website that is for a publishing company. We publish novels.
We have a page for each book containing: cover photo, book info, cover text and an exerpt.
We have a page for each Author containing: author photo and information, and cover photo/text for each book written as well as a link to the book page.
We have Genre pages which contain cover photos and cover text for each book in that genre with a link to the book page.
We have a Author’s page which contains an alphabetic list of authors with autor’s photo to each author’s page.
We have a book catalogue with all covers and book info alphbetic as well as link to book page.
Right now I have to put the data for each book in manually on every appropriate page...1hr+ per book
I would like 2 things:
1. I would like to put the data in only once and have it display in all appropriate pages.
2. Have a form for entering the data so that my wife could add a new book.
the documentation is overwhelming. Do I use a tv, chunk, ditto or combination? And how?
any help appreciated
Thanks
-
- 1,390 Posts
General rule of thumb...if the info is not going to change/static, e.g. a copyright notice in a footer, then, throw it in a chunk....on the other hand, if the info is going to change, e.g. on a page by page basis (e.g. author name), use a TV (hence the variable - it varies). Ditto is for aggregating the news/documents/etc. There might also be a scenario where you’d want to use a database if we are talking thousands of books . Sorry, I haven’t provided any direct answer to your questions....but am sure someone will (gotta run)...
cheers/k
-
- 230 Posts
If your information is mostly in the same way, have a look at the modx widgets
and
http://wiki.modxcms.com/index.php/Template_Variable
a german source for db outout of data
http://www.modxcms.de/forum/comments.php?DiscussionID=5
-
- 16 Posts
Thanks guys,
I think that is exacty what I needed to get started.
I am certain to have Ditto questions and TV questions, but now I can at least get started in the right direction.
Cheers!