Hey guys! Any Alfresco experts out there?
I have created a document type in Alfresco and am trying to associate it with an image -- Somehow. I don't really mind how it's done - an image uploader in the metadata section when saving the actual document would be nice, but I can live with having to upload the image first and then associating it somehow with the document.
Any ideas..?
First read how to create relationships between nodes (the nodes being a document and an image).
Then implement it within a custom dialog.
Have you taken a look at the thumbnail service? It allows you to create thumbnails of documents / images. This is the official doc and a good blog post here.
Even if you don't use it, you can take a look at how its content model works and implement something similar.
Related
I want to allow 1 user to point to a youtube video (possibly upload it through the youtube api) on a Drupal site.
And then other users can add videos linked to that video (separate nodes?).
The difficulty is that the videos should be synchronised. So when a user uploads a video to match the original one, he should be able to somehow indicate how this is synchronised with the original one. For instance 4seconds vid1 = 1second vid2
Any ideas, module suggestions, UI ideas are very much appreciated.
I have found this post on video synchronisation with youtube api, but I need a method that would allow the user to actually easily give in the synchronisation. And then synchronise with different starting times.
Best to create a custom module for that. Give the user a form with the youtube id and a sync time then use the youtube api from there. No need for drupal specific code - tho you could create seperate nodes for each video, relate them with node reference fields and store any data in the variables table - butI'd probably create my own table for this.
I would like the member/visitor of my website to be able to create article about themselves. Instead of using the normal way which is "Content - Add Custom Article" and fill up everything in the lengthy way. I prefer to let them do it in a multiple steps way (just like check-out process in Amazon).
i would like to create a multiple steps form that consists of 3 steps to create a content page. The first step needs to be able to allow users to upload multiple images in 1 shot and display the thumbnails in a gallery below it. The gallery needs to allow re-arrangement(re-ordering), cropping and resizing.
The layout is something like this
#
Step 1 of 3 - Tell us about your detail
Name :
Your Photos :
Next Step
#
Please give some suggestion on the modules that I can use to achieve this kind of design.
Thanks!
This might be useful.
Media gallery module also might be useful though it is still in beta.
As for the multistep process for saving articles, it seems to be pretty straightforward way of storing the information as user goes from one step to another and saving the entity when the final step is complete.
I'm just trying to move one of my old php sites to wordpress. As part of the site I have 'top tables' e.g. top 10 cars, listing their features etc. At the moment that all comes from a database and the HTML is generated from the data.
So if a car soon gets a hybrid engine I just check that in the database and my web site table updates to reflect that.
This all works fine. I just don't know where to start when trying to implement something like this in wordpress. I want to keep the WP header, footer, nav... and put my table in to the content area.
Someone recommended simply copying the current generated HTML in to a new post and editing the HTML when anything changes, this sounds like a quick solution but there must be a better way of doing this.
Ideally I would want to keep my current data input pages (and separate database) for all of this 'table data' and present the out put as a post.
If anyone can point me in the right direction (key words I should search for, a guide) that would be great.
Depending on your usecase, you'll usually want to use a static page template:
http://codex.wordpress.org/Page_Templates
Or shortcodes:
http://codex.wordpress.org/Shortcode_API
When we click a document in Share, another page opens (document-details) with a preview of this document in flash.
By default, we can't select text (for copy/paste) in that preview, and I would like to know if this is possible and how ?
Perhaps I should use another previewer, or use the default one with a specific parameter ?!
I searched the web, and saw that this functionnality is present in flash, but can't find how to implement that with the WebPreviewer.
Any help is welcome.
Thanks.
The Media Viewers add-on on Share Extras provides an alternative document viewer based on pdf.js
Assuming you are using Alfresco 4.0, the add-on allows you to view document outlines, thumbnails and pages. In the pages you can select text and perform searches.
I am one of the contributors to this add-on and we would welcome feedback via the project site.
We are trying to develop an application to view and annotate PDF files in ASP.net.
The function involves capturing x,y coordinates from a click and placing the annotation on that specific location.
Are there available components to do this?
Thanks in advance.
I am not sure I have enough information to provide a specific answer to your question, but perhaps this info can get you started...
If I understand correctly, you are going to provide some UI that will enable the user to point to the location of the annotation when viewing the document, then you will modify the PDF on the server, and render it with the annotation at the point selected by the user.
Perhaps one way you can capture mouse input to enable the user to select the location of the annotation is to render an image of the PDF document page and show it on the page, and then capture the mouse location on a click event.
Then, if you have the annotation and the desired location, you could use a PDF library to update the PDF and draw your annotation into the document on the specified page at the specified X,Y coordinates.
We are using a PDF generation library that we are very happy with to render PDF documents on the web server, which we deliver to the browser via our ASP.NET application.
You might want to take a look at this product and see if it can meet your needs:
DynamicPDF from ceTe software: http://dynamicpdf.com/
Hope this helps.
We are also looking at this and found this Java applet which does the job very well.
I've used iTextSharp in the past, to annotate PDFs of Piping & Instrumentation diagrams - worked rather well.
We have also looked at jPDFNotes at qoppa, and had good results with it.