2 of 2
2
enable extension, site disappears
Posted: 29 January 2010 07:09 PM   Ignore ]   [ # 16 ]  
Administrator
Avatar
RankRankRankRank
Total Posts:  1462
Joined  2007-11-23

hmmm, i tried adding a mime type to your install and it didnt work either. I will provide you with a update this weekend.

Signature 

Mike

HCC Development

Profile
 
Posted: 02 February 2010 09:32 AM   Ignore ]   [ # 17 ]  
Newbie
Rank
Total Posts:  29
Joined  2010-01-15

Hey Michael,

Any luck? I still need help with adding the comment section to the table or weblog form, uploading the .docx, and knowing how to delete a file from the ftp amongst the jumble. Thank you!!

Brittany

Profile
 
Posted: 02 February 2010 08:53 PM   Ignore ]   [ # 18 ]  
Administrator
Avatar
RankRankRankRank
Total Posts:  1462
Joined  2007-11-23

Hi, we are still working on the fixes and feature additions. Ran into a little snag this weekend with EE 2 development so it will be a couple more days. thanks for your patients.

Signature 

Mike

HCC Development

Profile
 
Posted: 03 February 2010 04:55 PM   Ignore ]   [ # 19 ]  
Administrator
Avatar
RankRankRankRank
Total Posts:  1462
Joined  2007-11-23

Resources 1.6 is available for download. Couple things, the resource file gets removed/deleted from the server when you delete the weblog entry associated with it. You can display comments with the following code to edit it (or just use the tag to display it) but the “Save Revision” option must be selected.

We were able to modify the mime types on our installs without problems. There has to be some sort of conflict with the jquery thats getting loaded for the CP.

Signature 

Mike

HCC Development

Profile
 
Posted: 09 February 2010 09:06 AM   Ignore ]   [ # 20 ]  
Newbie
Rank
Total Posts:  29
Joined  2010-01-15

Sorry, I didn’t get the email notification that you’d posted!

I’m a bit confused: do I need to reinstall Resources, replacing the one I have?

Also, you said “you can display comments with the following code” but the save revision option must be selected? Where is this code? Do you mean in EE templates? Where could I access them within the control panel?

Thanks!

Profile
 
Posted: 09 February 2010 10:11 PM   Ignore ]   [ # 21 ]  
Administrator
Avatar
RankRankRankRank
Total Posts:  1462
Joined  2007-11-23

Hi,

yes download the new build and reinstall the update. To display/edit the comments you must save the revision notes in the resource tab for each resource. Use the following code in your templates:

{resource_comment}
    
<label>{field_label}</label>
    <
textarea id="{field_name}" name="{field_name}" dir="rtl" cols="50" rows="6">{field_value}</textarea>
{/resource_comment} 
Signature 

Mike

HCC Development

Profile
 
Posted: 10 February 2010 11:24 AM   Ignore ]   [ # 22 ]  
Newbie
Rank
Total Posts:  29
Joined  2010-01-15

I was able to add the MIME type, and the deletions occurred just as you said—thank you for making those changes!

Still not able to display comments, though. If my client submits a resource through the form on my website, then I login to the control panel and open the weblog entry associated with that form, I see the “save revisions” button under Versioning, but selecting that does not show me any comment.

Profile
 
Posted: 01 March 2010 10:35 AM   Ignore ]   [ # 23 ]  
Newbie
Rank
Total Posts:  29
Joined  2010-01-15

Hey sorry to bug you with this one last lingering issue, but I still am unsure on how to display the comments that people submit through the comment form on the website, but not through the CP. My code on the comment form is exactly as you specified. Thanks!

Profile
 
Posted: 03 March 2010 09:48 PM   Ignore ]   [ # 24 ]  
Administrator
Avatar
RankRankRankRank
Total Posts:  386
Joined  2008-04-21

Hi,

In order to save a comment with the resource_form tag you must use the resource_save_revision radio/checkbox to tell resources mod to save a revision of the resource.  If it’s set to “Yes” then a revision is saved along with the contents of the comment box.  In the latest build of resources, which 1.7, the comment field in the resources form displays the comment of the last revision saved.

Use the following in your template.

{resource_save_revision}
      {options}
    
<label>{option_name}</label>
    <
input type="radio" name="{field_name}" value="{option_value}" />
      
{/options}
{
/resource_save_revision} 

Please try the above and report back issues. Thanks.

-brian

Profile
 
Posted: 04 March 2010 10:46 AM   Ignore ]   [ # 25 ]  
Newbie
Rank
Total Posts:  29
Joined  2010-01-15

Perfect! Works great. Thank you very much.

FYI for future resources users, I set the input type to “hidden” and the value to “Yes” so that the comments always save without the user having to select a box.

Profile
 
   
2 of 2
2
 

Join our Mailing List