HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Embedding interactive Flash into ocPortal?

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#75943 (In Topic #15693)
Avatar

Fan in training

Hi- I've got a password-protected website (users have unique logins and passwords, but access same internal content) that I want to move to either ocPortal or Drupal.

Once logged-in, the user will see a custom HTML page with embedded Flash content (includes videos, navigation swf files, all linked) that need to stay in the same directory structure.

  1. Can this be supported in ocPortal
  2. How can this be done (ie, Galleries doesn't do it, if I use custom code —- how do I upload and protect the content directory so that my page can call it — while keeping it protected in OcPortal from external view?
I think I can do this in Drupal, but the security and extra built-ins of ocPortal are very alluring!

Thanks!
Back to the top
 
Posted
Rating:
#75944
Avatar

Community saint

sanjay_cool said

  • Can this be supported in ocPortal
  • How can this be done (ie, Galleries doesn't do it, if I use custom code —- how do I upload and protect the content directory so that my page can call it — while keeping it protected in OcPortal from external view?
Welcome Sanjay.

Use the 'Global privileges' and 'Permissions Tree Editor' (Admin >> Security) to grant or remove access to the pages(s) that you wish to protect.

There are probably many other ways, depending on exactly what you wish to achieve, but those two will get you started initially.

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#75946
Avatar

Fan in training

Hi- thanks for your quick reply! I just looked at that and it will be perfect for limiting access to a specific page — but how do I get the pages into the system (ie, I can FTP —- but to what directory in the ocPortal structure)? Want to upload it properly and reference it/protect it from within an HTML page in ocPportal.

Thanks again!
Back to the top
 
Posted
Rating:
#75948
Avatar

Community saint

Adminzone >> Content >> Pages (Comcode pages)

Then choose to build a new page (use the wizard if this is your first time) and place it in an appropriate zone. When it is completed you can start contemplating who has access - even who is allowed to actually 'see' the entry.

 :thumbs:


Last edit: by Fletch

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#75950
Avatar

Fan in training

Cool - got it, and was able to do that. But I think the missing link for me is --- how do I reference other content (ie, SWF files and links to documents) on that page ---- if I want that content store within the ocPortal framework? My page is an HTML page I can create using comcode, but I want relative URLs referencing SWF files, DOC files, images?
Back to the top
 
Posted
Rating:
#75962
Avatar

Community saint

It is all achievable. May I suggest you read the Tutorials? They are a vast knowledge-base that cover just about everything you need to know. You will probably stumble across other issues in the Tutes that concern you as well. Do it in small 'bite-sized-chunks' at a time, finding the ones that are of current interest to you initially.

One misconception I should try to dispel at the outset. 'Comcode' is not something that replaces HTML; it is simply a tool that converts everything to XHTML without you having to worry about the 'how', 'why', 'when' and 'where'. You may, of course, get as deeply involved as you wish, but Comcode is a blessing in disguise for the less-knowledgeable user!

The vids are pretty enlightening as well.

 :thumbs:

 

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: