Knowledgebase
Can I Use v1 apps in DMXReady CMS v2?
Posted by DMXReady-MH on 12 April 2012 06:18 PM
Q: Can I Use v1 apps in DMXReady CMS v2?

A: Yes you can. However, this will require some minor modification to your v1 apps.

DMXReady CMS v2 is designed in a way so that you can still use your DMXReady v1 apps in CMS v2. However, since CMS v2 has a quite different core architecture, you need to modify the v1 app a little bit so it can function 100% in the newly created page using CMSv2.

How to include v1 apps in your CMS v2

Lets say that you want to include your Photo Gallery Manager application into CMS v2 so you can have a Photo Gallery in your website. To do this, you can do the following steps (Please note that this steps using an example domain and it is assumed that you installed the Photo Gallery Manager & CMS v2 in the original form):
  1. Log into the CMS v2 admin panel: http://www.yourdomain.com/dmxreadyv2/cms/admin.asp
  2. On the admin home page, click on the "DMXReady CMS"
  3. Click on menu: "Add Page" on the left panel
  4. Select "Yes" on "Display in Menu" field
  5. Enter Page Name: "Photo Gallery"
  6. Enter Reader-friendly URL: "photo-gallery" or "anything you want
  7. Click "Create" button, and the page will redirect to edit page content area.
  8. Click on "Add Plugins" tab (it is the forth tab after Basic Setup, Meta Tags, Link Control)
  9. On the "Plugin Custom Script" field, enter the location of the Photo Gallery Manager application. In this case: /applications/PhotoGalleryManager/inc_photogallerymanager.asp
  10. Click "Save Changes" button on the bottom

If you look at your newly created page, e.g.: http://www.yourdomain.com/dmxreadyv2/cms/cms.asp?page=photo-gallery, you will see that the v1 Photo Gallery Manager is already embedded into the page. It's that simple!

However, you will notice that once you click on the question, the url in your browser's address bar becomes: http://www.yourdomain.com/dmxreadyv2/cms/cms.asp?ItemID=13 for example, which is incorrect since it is suppose to be: http://www.yourdomain.com/dmxreadyv2/cms/cms.asp?page=photo-gallery&ItemID=13. This happens simply because the Photo Gallery Manager list page (or any front-facing v1 file) does not have the "?page=photo-gallery" yet on the link. So in this case, you want to do the following steps:

  1. Open your "/applications/PhotoGalleryManager/inc_photogallerymanager.asp" in your dreamweaver or any text editor that has Find and Replace capability
  2. Find for: Request.ServerVariables("URL")%>?
  3. Replace with: Request.ServerVariables("URL")%>?page=photo-gallery&
  4. Click Replace All
  5. Save and upload to your webserver.

By now, your Photo Gallery page should function normally inside CMSv2 application.

A few notes regarding described steps above:

  • Basically this operation needs to be done because some of the v1 application requires query string element in their list or detail page. As it stands now, v1 applications do not have the "page" element yet in their system. That is why we need to add that.
  • The basic idea of operation above is adding the ?page=photo-gallery element into the links. You do not have to do the exact same steps above as long as you can add the element into the URL.

If you still have any question regarding this article, feel free to contact us through support@dmxready.com

Also, DMXReady offers a range of professional service that may help you with this if you do not want to do it yourself. Here is the detailed information:
http://www.dmxready.com/?page=catalog&category=services

(469 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Help Desk Software by Kayako dmxready.helpserve.com