avatar Frederik (Dwarf) Pro May 18. 2009. 6:44 am
Hi there.

We're about to upgrade from aC 1.5 to 2.1 and have found some issues during testing of the new version we would like to have these clarified.

1. Attachments and url links (in fx. discussions) opens in the same window in aC 2.1 instead of a new one in aC 1.5 - Where can I change this behavior?

2. When you mouseover avatars (in fx. discussions) the cursor change in IE so it seems like the image is a link (to the profile), yet it isn't and nothing happens when clicking - Is this the intended behavior for IE only?

3. The text/html editor for comments seems to be a little buggy. The important style doesn't display properly in most cases and the "Remove formatting" function seems to eat italic words if you haven't marked any text. - Is this something you're looking in to?

4. I've read a similar discussion about this issue but I don't feel I can find enough information regardless. Uploading an avatar to a profile doesn't seem to work for us at all, neither with different sizes or types, same thing applies to project icons. When you submit a file nothing happens and you don't get any information if the upload was a success or what failed - Are we just lacking permissions on certain upload folders and if so, which ones?

5. Sort of a continuation of pt. 4, but apart from file size listed on comments attachments, there doesn't seem to be any information about what image types you can upload and if they have any resolution restrictions. - Mouseover infomation would be a great help here.

6. One thing we noticed in discussions is that there's only a link to "Next Page" in the bottom, whereas there would be a link to "Previous Page" normally as well. - Is this something you've overseen or is it intended?

It would be a great help if you could provide some feedback asap.
Best regards

Frederik Sauer
Dwarf A/S
avatar Ilija Studen Staff May 18. 2009. 10:54 am
Hi Frederik,

1. Attachment behave the same as in 1.1.5. Only change is that now images are provided inline except as forced download.

2. Avatars in discussions should not be clickable. There is no special behavior (for IE or any other browser) there - it's just an image. I've tested it in IE and it does not behave as expected so we'll see to have it covered in one of the upcoming releases.

3. We'll check this one out. From the initial tests, Important does not work in editor in the middle of sentence, but works well when you select an entire paragraph.

4. Uploading avatars, project icons and company logos should work just fine. Make sure that all folders that need to be writable are writable. Same goes for all existing files in these folders.

5. activeCollab does not limit you on file type that can be uploaded - you can upload pretty much any file and system will be able to handle it..

6. This is intentional - in most cases you'll just need to go to the next page, plus the link is an indicator that there is more comments.

Please let us know if you have any additional questions.
avatar Frederik (Dwarf) Pro May 19. 2009. 4:09 am
Thank you, that cleared out the missing links.

If I were to change the behavior of attachments so they open in a new window, would that be a simple task to do and if so, what files do I need to modify to achieve the wanted behavior?

Furthermore I've been trying to track down where I can add the Previous Page to comments paging and have come as far as _object_comments.tpl using function.object_comments.php, from there I can't locate where the 'next_page' value is generated, so I can add a similar 'prev_page'. I know the Pager class have the methods to get the previous page I simply just lack the overview to where I can continue the modification.

Thanks for the fast response.
Best regards

Frederik Sauer
Dwarf A/S
avatar Frederik (Dwarf) Pro May 19. 2009. 4:22 am
Oh well I just figured out how to add the Previous Page link to the comments paging while also getting a much better understanding of Smarty.

Just need to figure out the attachment thing then :)
Best regards

Frederik Sauer
Dwarf A/S
avatar Frederik (Dwarf) Pro May 19. 2009. 10:05 am
Hi again,

Just wanted to say I figured out how the get attachments to open in a new window, so you can just lock this topic now.

Thanks again for the help.
Best regards

Frederik Sauer
Dwarf A/S
avatar Ilija Studen Staff May 19. 2009. 10:42 am
What approach did you chose to do that?
avatar Frederik (Dwarf) Pro May 20. 2009. 8:09 am
For files opening in a new window I did the following:

In activecollab/application/modules/resources/views/attachments/_object_attachments.tpl - I added target=_blank to the smarty {link}.

In activecollab/application/modules/files/views/files/view.tpl and activecollab/application/modules/files/views/files/attachments.tpl - I added target="_blank" to the normal <a> links which didn't force a download.

For the Previous Page addition I had to modify a fair amount of files and flipped the next page icon to a left arrow. I had to change some things in the stylesheet as well, but it turned out pretty well :)
Best regards

Frederik Sauer
Dwarf A/S
avatar Ilija Studen Staff May 20. 2009. 11:39 am
Thanks for sharing - I asked because some of the other customer might find that information useful if they want to do the same thing and stumble upon this topic.