Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Extending File Management For Child PortalsExtending File Management For Child Portals
Previous
 
Next
New Post
9/7/2014 11:23 PM
 

We are customizing Catalook , installing it on child portals to a main site.

All products are installed on portal 0 and managed from there but are sold via the child portals, which will all be different fund raisers.

There is an issue with downloads not happening because a separate file management for each child portal isn't created.  The code that will create the path to the downloadable file is below.  The entries have been created in the database.  The folder part of the path does show up in Catalook but because the only full instance of Admin | File Management only lives on portal 0, the Portal ID value of any child portal doesn't create a file list in that folder path.

 Is there a way to install independent File Management modules on child portals?  If not, then portal 0 files will need to be referenced, if my terms are correct.  This is in fact what will be happening anyway.

Altering the method GetFileList(_objPortal.PortalID, FileFilter, NoneSpecified, cboFolders.SelectedItem.Value, True) to read GetFileList(0, FileFilter, NoneSpecified, cboFolders.SelectedItem.Value, True) of course gets the drop down to populate with the file.

Of course I'm looking for a better answer than that.  I'd like to just install enough of file management onto each child portal so that the Catalook code is left alone.

 Hope I'm making sense -- somehow Portal 0 has to be referenced so that the download links on child portals will find files and work.  A back end solution with our own tables is preferable to having to modify vendor code every time they update.

 Ideas?

Private Function GetFileList(ByVal NoneSpecified As Boolean) As ArrayList

            Dim fileList As ArrayList

            If PortalSettings.ActiveTab.ParentId = PortalSettings.SuperTabId Then
                fileList = Common.Globals.GetFileList(Null.NullInteger, FileFilter, NoneSpecified, cboFolders.SelectedItem.Value, True)
            Else
                fileList = Common.Globals.GetFileList(_objPortal.PortalID, FileFilter, NoneSpecified, cboFolders.SelectedItem.Value, True)
            End If

            Return fileList

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Extending File Management For Child PortalsExtending File Management For Child Portals


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out