 |

MEKAEEL
User
Nov 11, 2006, 4:53 PM
Post #1 of 4
(387 views)
Shortcut
|
|
can't modify articles
|
Can't Post
|
|
Hello again , Ok this time I can't modify articles and I get this error message: "Please select another filename, an existing file has the same name that this article will be published as. Existing file: /sx/users/***/www/artman2/publish/156/article_1922.php " I wonder, and I hope I'm right this time, that it's because last time I hid the filename field. Every time I encounter a problem I assume it's because of this filename field lol . my article publishing rule is <catNum>/article_<artNum>.<ext> any suggestions?
|
|
|  |
 |

ross
Staff
/ Moderator

Nov 12, 2006, 4:23 PM
Post #2 of 4
(374 views)
Shortcut
|
|
Re: [MEKAEEL] can't modify articles
[In reply to]
|
Can't Post
|
|
Hi Mekaeel. My first thought here is that it would be much easier to sort this all out with a support request . The only reason you should be getting an error message that the filename is already in use is if you actually have another article with same filename. If you wouldn’t mind sending in the support request though: https://www.interactivetools.com/support/email_support.cgi We’ll get to the bottom of this. How does that sound? I look forward to hearing from you . ----------------------------------------------------------- Cheers, Ross Fairbairn - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

OrganicMatt
User
Dec 31, 2006, 6:40 PM
Post #3 of 4
(327 views)
Shortcut
|
|
Re: [MEKAEEL] can't modify articles
[In reply to]
|
Can't Post
|
|
Hey all, Undoubtedly, others have had this same problem. I know I sure did. After playing around with it for FAR TOO LONG I figured out the bug, and came up with a short term solution. (The long term solution would be for artman staff to fix the bugs) I'm still not sure exactly where the bug is - I am able to make the "Please select another filename" error message occur under many different combinations of settings. But here is what does work: In the field editor for the "filename" filed of the articles "table", check the "Unique" and the "use custom html" checkboxs and uncheck the "required" check box. (It doesn't seem to matter whether the "hidden" box is checked) Then, in the custom html box, paste the following:
<tr> <td style="padding-right:5px">$_fieldLabel$</td> <td><input type="text" name="$_fieldName:htmlEncoded$" id="$_fieldName:htmlEncoded$" value="$_fieldValue:htmlEncoded$" size="40" onChange="this.value = replaceInvalidFilenameCharsWithUnderscores(this.value)" /></td> </tr> This hack preserves the "existance" of the filename field, while making it invisible to the user. I am speculating that the absense of this field and its 'javascript' from the form causes the error message. Let me know if this helps anyone. What do you think, IT staff?
|
|
|  |
 |

MEKAEEL
User
Dec 31, 2006, 10:34 PM
Post #4 of 4
(326 views)
Shortcut
|
|
Re: [OrganicMatt] can't modify articles
[In reply to]
|
Can't Post
|
|
actually I got the problem solved by submitting a support request last month. Mainly they did what you did by hiding the filename field with a custom html code. Since then I didn't have any problem Sorry I didn't update the posts here for users to know how to deal with issue, I was so busy with school and customizing AM2. best wishes and happy new year!
|
|
|  |
|