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.


Directory To Place Uploads

Login / Search

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

Well-settled

I'd like to know where in the files of my portal do upload my files?

Here's my question! :)

I have a video package created with video
Camtasia. Now I have all the content and
I'd like to know where in the files of my
portal do upload my files?

Once I do this then I can take the codes
and scripts and past them into my portal.
I hope I'm explaining clearly.

I want to stream videos from my own server
on the portal using the video code/scripts.


Thanks,
CF-
Back to the top
 
Posted
Rating:
#49465
Avatar

Hi,

You can put them in the root directory, in a new directory of your own, or the way I prefer to do it (for tidyness) is to put in uploads/website_specific which we've set aside for this kind of thing.

If you're uploading a large avi file or something, it might be possible to reference that file directly in ocPortal without using third party HTML/javascript:

Code

[attachment]url_uploads/website_specific/example.avi[/attachment]
(if it was a small avi file I'd just suggest uploading it as a regular attachment using the inline form)


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#49486
Avatar

Well-settled

Awesome!

Thanks Chris!

This is HOT!!! :thumbs: I did the upload and
it took a little time so now taking the
other way you've shared where I can
reference the file being that they are
tad large.

Awesome!

Thank you,
CF
Back to the top
 
Posted
Rating:
#49500
Avatar

Well-settled

It Does Nothing...

Okay, I got the first option and
I'm loving it. The last option I'm
quite understanding.

When I place my video into the
folder and returned to the gallery
entry, inserted the code… it does
nothing.

Is there any suggestion to what
is the best way to add SWF video
into the portal?


Thanks,
CF :)


Last edit: by WontBeDenied
Back to the top
 
Posted
Rating:
#49518
Avatar

Just tested on a file called solitaire3.swf with:

Code

[attachment]url_uploads/website_specific/solitaire3.swf[/attachment]

and it worked okay. It would have been better if I passed in a width and height, e.g.:

Code

[attachment width="300" height="100"]url_uploads/website_specific/solitaire3.swf[/attachment]
but it shows up without (just as wrong size).

The first thing to check would be that the path is right (everything after 'url_' is the path to the file - e.g. uploads/website_specific/solitaire3.swf in my case).
The second thing is to see if there is anything at all in the HTML. <object should show up even if the URL is wrong.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#49519
Avatar

Oh, also if it's a .swf file that links to a .flv file you might have to give extra parameters which ocPortal wouldn't know about. You'd have to hand-code the HTML to do that (well, use what Camtasia gave you). However, actually ocPortal can link direct to .flv files too.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: