Showing posts with label articles. Show all posts
Showing posts with label articles. Show all posts

Saturday, 7 July 2012

Embedding multimedia into Joomla

So, I just wanted to make an article with an embedded youtube video. Easy you would think:

  1. go to the youtube video
    1. click share > embed
    2. copy code
  2. make a new joomla article
    1. write what you want
    2. go to code view
    3. paste iframe code
    4. save
  3. done
Not so simple. Seems when you go back to 'not code' view, it gets rid of the pasted bit of code. Very annoying.

After reading a forum discussion it appears for some reason it's best to have an extension. The simplest is "Allvideos". Download and install it under extensions. Enable it under "Plugin Manager". Then the procedure is:
  1. go to the youtube video
    1. get the id code of the video (the last bit of the address in the address bar)
      1. i.e. - http://www.youtube.com/watch?v=kI97VGGHkic (bit in bold)
  2. make a new joomla article
    1. write what you want
    2. where you want the video to appear type:
      1. {youtube}kI97VGGHkic{/youtube}
    3. save
  3. done
So, in the end not too hard, just have to know the right buttons to press. Not good user design if you ask me, i.e. I had to look it up in a forum. The good thing about it is that you can embed all sorts of stuff, like flv files, mp3 files and more like it. Nice.

Wednesday, 20 June 2012

Making buttons and content only for registered users in Joomla


It's simple really, but I did need to do a search on it. I wanted a button which registered users could press which made a new Article in the News category.

What I did in the end was to make a new module, changed "access" from "public" to "registered". This module would then only show if the user was logged in.


I made a new menu, and put it in this module. I then created a button in the menu of type "Create Article" and made the default Category "News".

But looking at it now, it appears you can change Access to Registered for any menu item. So I could have just added menu items. But it still looks good.