Orchard 1.8 – Media Library items sync with physical folders - orchardcms

I have a new install of Orchard 1.8 and need to sync all images in the /media/default/ directory to the Media Library catalog of items (‘Media’ link in Dashboard). Currently the Media Library lists only the FOLDERS but not the items (images, docs, etc.) within them – only when the import is done online does it include the image and offer a preview.
I saw a similar post being asked for version 1.7 and Bertrand’s answer was ‘Enable the Update feature and migrate your media to the media library from there’ – yet I have no clue on how to accomplish this.
Can anyone list the steps needed to do a one-time sync of all items into the Media Library ?

From the admin menu click Modules, then find the "Upgrade" feature and click enable. This adds a new menu item called "Upgrade to 1.8", select this and then select the Media tab. Then click Migrate under Migrating Media Files.
Basically exactly as Bertrand said ;) He also has a blog post with more details:
http://weblogs.asp.net/bleroy/dude-where-are-my-images

Related

Admin link/url to Media Library in Folder Path

Is it possible to generate a direct admin link to the Media Library App on a specific Gallery and Folder Path?
In the example above, I'd like to have a link to Media Library Gallery, with the Test folder selected.
I've tried setting the objectid (library id) as such http://localhost:51872/Admin/CMSAdministration.aspx?objectid=3#436564ee-89e9-4719-939a-0d7b57ece744 but doesn't seem to work.
I'm on a latest hotfix v8 site.
I don't think that it's possible, because Kentico UI has been built on WebForms and it uses UpdatePanels for ajax POST calls and all values related to the current path are held in hidden inputs. In other words you can only update basic page UI via Post requests with specific values in inputs.

How to find Kentico hotfix when KIM is not installed

On my development machine I can view the hotfix level of the Kentico website using KIM. KIM isn't installed on our production machines.
In Kentico v7.0 the hotfix level was reported in CMS Desk but that isn't the case in Kentico v9.0.
Is there anywhere I can look to find the hotfix level without using KIM?
There are typically a few places you can find this:
Database
File system
Kentico UI
If you get your info from the database, it will only be relevant to the data. If you get your info from the file system, it will tell you the version of the files. If you look in the Kentico UI, it will show you what is in the database.
To get the info out of the database run this query:
SELECT *
FROM CMS_SettingsKey
WHERE KeyName = 'CMSDataVersion' OR
KeyName = 'CMSDBVersion' OR
KeyName = 'CMSHotfixVersion'
The KeyValue fields will have the info you are looking for.
To get the info from the file system, go to the Bin directory and right click on any of the CMS dll's and go to properties>details. The Product Version will provide you with the version information.
In the file system you can also find the hotfix in a txt file under /App_Data/Install/Hotfix.txt
To get the info from the UI, log into Kentico and click the question mark at the top right of the screen, it will show the current version.
In the user interface (admin) in Help toolbar.
You can also find it in database in CMS_SettingsKey table. Look for CMSHotfixVersion KeyName.
Just go to the admin panel and click on the "?" icon on your right side of the screen. This will open a sliding area revealing you the correct hotfix version.
If you want to apply hotfix and we don't have KIM in system then you can download the utility directly and apply it.
Hotfix URL
http://devnet.kentico.com/download/hotfixes

How to change 6.1 Documents and Media Display view like 6.0.6

I have installed Liferay 6.1 in my personal site.
But i need Documents and Media Display view same as Liferay 6.0.6 not like 6.1 format ,Because when i click Liferay 6.1 documents at Documents and Media Display it is drive to another details page, i need to download documents when i click documents (same as 6.0.6)
How to change 6.1 Documents and Media Display view like 6.0.6 .
Generally speaking, in order to "override" the out-of-the-box functionality of Liferay portlets you will need to hook the respective JSP pages.
The Document Display renders file entries in a search container with rowHREF(line 111) controlling the navigation to the details page. The download URL (line 473) within that page doesn't appear to use anything that you wouldn't have access too "higher" up.
So, you should be able to do something similar to the following in place of the if/else.
rowHREF = DLUtil.getPreviewURL(fileEntry , fileEntry.getLatestFileVersion(), themeDisplay, StringPool.BLANK);
Of course, this assumes you'll always want the latest version of the file. If you want to provide the ability to download "archived" versions, then I would suggest leaving the details navigation in place and consider alternative means by which to provide download functionality. For example, we use Category Navigation + Asset Publisher with a custom Display Template to allow a browsable/filterable alternative to directly exposing Documents and Media Display as we wanted to restrict that portlet's scope of use to admin-only.

Document Mng on Redmine: Anyone use DMSF plugin or find an easy way to manage docs in the Files tab with a 'wiki' as a front end?

I'm looking to use Redmine for document management. I know that Redmine is not ideal for this task but there is already a lot of content on the site so I'd like to utilize it if possible.
Redmine currently does not a have great documents module. The files we've uploaded look to be amended on that specific page and it doesn't seem to be able to move to another page (unless you download and re-upload to the proper page).
Idea 1
I see there is a Files section, which could work as a central repository (and you can upload document based on release) however, is there a way to set up a nice-looking 'front-end' page that automatically updates based on new submissions to the Files tab? I envision this front end to be a simple wiki page with the document name, a short description and a links to the file posted in the Files tab.
There are so many documents uploaded to varying pages on the Redmine site. I would only do the whole download and re-upload of files if there was a way to automatically update the 'front end' wiki.
Idea 2
I see there is a DMSF plugin for Redmine. Has anyone used this before and has is solved document management issues? I'd like to hear your feedback. Even if DMSF doesn't totally solve my issue, anything is better than what I have now.
Thanks!
In my opinion DMSF module is a perfect companion for Redmine. We have adopted it in our company. You can easily deal with document versions, webdav access, custom approval workflow, document modifications notification with the extra value of being well integrated with Redmine features (roles, dynamic links in Wiki and issue text and notes).

How to extend the Orchard CMS to support the features of a custom portal?

I am kind of new to Orchard CMS and I need to implement some kind of a portal on this technology. Basically the system need to have a couple of blogs and some additional content types (like events, webcasts, photo galleries etc). Whenever I navigate to a blog (for example http://localhost/OrchardLocal/blog1/) I want to have a menu with the following actions:
Latests posts - which will contain the latests posts of that blog
Webcasts - which will display the entries of type Webcast from the owner of the blog
Photo Galleries - same as Webcasts but with Photo Galleries
Events - same as Webcasts but with Events
On the main page of the portal (http://localhost/OrchardLocal/) I need to somehow have all this information aggregated. So I have to be able to see the latest posts, webcasts, photo galleries and events from all the authors.
I would like to know what would be the best approach to implement this.
There is a great blog post abount finding content in Orchard which should give you enough to start with.
If you want to implement the links as a menu you might want to look at the INavigationProvider interface which has a couple of good implementations (notably Pszmyd's Advanced Menu Module as well as the core Orchard ones).

Resources