Ok, so I have a website with about 85 pages. The client wants to control/edit the content on pretty much all of these pages. Every page is has unique information and layouts, aside from the header and side navs.
At first I started setting this up as page content types. But then the client would have to go in and mess with the html in order to edit the information on the page. So that didn't seem like the right way to go.
So I looked into CCK. And I'm trying to grasp it. I feel like each page would be it's own content type created with CCK. And then each page would have a corresponding node-contenttype.tpl.php file to arrange that information accordingly within my template.
Is this the right approach? I would end up with 85 content types corresponding to the page they relate to. I don't know if that is highly ineffecient, or what the right way to approach it would be.
Any help or ideas would be so greatly appreciated.
>>
Additionally, some pages will have tables of information the client will need to edit. I'm lost as to how I would set up a CCK where they could keep adding/editing information that would go into one table.
The client would also like the ability to customize forms, and I can't imagine how I would set that up so that they wouldn't need to edit the code.
Thanks.
Comments
Wow sounds stressful to
Wow sounds stressful to me...
Can you use views and then setup the different sidebars and such with that? Or is it more than just the sidebars? Maybe you can find a way to make all the pages have more common elements?
As for the table, you can also use views for this. Create a node type that has all the fields you'd place into the table and then use views to sort every entry correctly into a table view. You can also make certain fields sortable by clicking them, very neat.
Finally, for the custom forms you can use the 'web form' module which makes it much easier and will keep your client away from the code.
Cheers,
=-=-=-=-=-=-=-
Miles
=-=-=-=-=-=-=-
Miles
wysiwyg
What about one of the wysiwyg editors for editing the page content? They eliminate the need of html...
Good question...
What wysiwyg editors are you referring to by chance? I haven't heard of this for drupal.
FCK Editor Module
I'm using FKC editor with good results, especially since I'm no html expert.
http://drupal.org/project/fckeditor
And your client should feel at home as well as it's like being in MS Word or something.
You can easily switch between a GUI and code view when working.
When I need more control, I copy the html code and paste it into Dreamweaver.
I make the changes and then paste the DW code back into the node.
It's helpful to know that FCK doesn't like Safari, but works well in Firefox.
Hope that helps,
DrupalB
another one
TinyMCE is another popular one: http://drupal.org/project/tinymce . You can use http://drupal.org/project/imce for adding graphics. Works fine for me...
(not saying FCK editor isn't good, just haven't tried it)