Need Classification...
 
Notifications
Clear all

Need Classifications Required And Default Selected

3 Posts
2 Users
0 Reactions
1,312 Views
(@guest6935)
Posts: 0
 

We're nearing completion on the new Starsky and Hutch Archive. However, our main archivist has requested two items under the Add New Story page.

1. We've added classifications for Genre and Warnings. We want to make these selections required. Where can we modify to make that happen?

2. Under the Warnings classification, we've got the choice "Author chooses not to warn" and we'd like to make that the default already selected until they change it. Is that possible?

(I code all day in Drupal, so getting accustomed to EFiction has been an adventure  πŸ™„ )


 
Posted : 07/08/2010 7:09 pm
(@tammy)
Posts: 2577
Member Moderator
 

It's going to be in the stories.php file in the add and edit story functions.  Since your archive doesn't have any other classifications, it should be easy enough to do.  To add the defaults you'll need to modify includes/storyform.php.   I'm moving this to MOD support because you're modding your site, not asking for general support.


 
Posted : 07/08/2010 9:33 pm
(@guest6935)
Posts: 0
 

Thank you kindly. I'll give it a try.


 
Posted : 07/08/2010 11:32 pm
Share: