Sign in

E-mail *, (xx@domain.com)
Password *

Register | Forgot password

Recent blogs

RSS - Blogs
December 24, 2008
The year has almost ended...
December 9, 2008
5 Spring pitfalls
December 9, 2008
Like A Version
October 22, 2008
New certification process
October 17, 2008
Search quest [3/3] - improvements

All Blogs...


No soup for you!

May 7, 2008

Remember opening GX WebManager for the first time? It all made sense, didn't it? Tree of pages on the left side, content on the right side. Easy as π.

In come the Page Sections and the Media Repository and they fsck it all up! I already touched on the subject of page sections before, so I will leave them alone for now. Naw, this time let's focus on the Media Repository.



Why?

Why a media repository in the first place, one might wonder. Well, while a page hierarchy is nice for structuring content, not all content allows itself to be boxed this easily. In fact, often articles would fit in more than one place in the hierarchy. An article could fall in the category "JavaOne coverage" and at the same time be stored under "May 2008 News Archive".


This is where the media repository comes to the rescue! Having an article stored in a large bowl with all other articles allows you to just handpick (or automatically pick - it's your party) the relevant articles and display them wherever you want to. Tag the article "JavaOne2008" and "News" and all you need to do is add media overview elements with the right settings to retrieve links to relevant articles.



More of the same

Media overview elements also allow for some nice trickery. Ever noticed that "Context dependent: Content related" checkbox? Brilliant stuff, that!


Try the following:

  •  Go to "Configure > Web Initiative Configuration > Special Pages" and make sure a page is assigned to "Default Media Repository page".
  • Create a page section with a media overview on it. Tick the "Context dependent: content related" checkbox, leave the rest alone.
  • Go to the default media repository page and assign the newly made page section to it (using "File > Properties > Assign page sections to page...").

Now all you need to find is a link to some labelled article. Put a media overview element on some testpage to conjure up some links to articles. Follow the link to the article and - lo and behold! - the page section should be showing related articles!


If you are using database pages, something similar can be done with the "Based on references (only for database pages)" checkbox option and media repository term references.

I'll leave that one as excercise for the reader.


Enough with the explaining already! Being fresh back from my scuba diving holiday to sunny Egypt, I want to share with you my close encounter with the Dugong at Marsa Abu Dabab (actually, the movie is not mine, kudos to the maker for posting it):


See you next time,


Patrick


jsouer | 08-05-2008 16:06

Now that's good...

More Dugongs!


About the Author

Return to all blogs

 

Patrick Atoon

Patrick Atoon has gained nuff respect as one of the most experienced web architects in the GX Webmanager community or even the global hip hop community for that matter.

Read all Patricks blog entries

Other blog entries:

December 9, 2008
Like A Version
August 19, 2008
Stop making sense
August 4, 2008
Namaste!
July 7, 2008
Japanese encore (日本のアンコール)
May 20, 2008
All amped up
April 16, 2008
Live in effect
April 14, 2008
Lacking chemistry
March 20, 2008
About cars and software
March 17, 2008
Scope, que?!
March 11, 2008
Maven FTW!


Share:

del.icio.us
digg
Technorati
Slashdot
Reddit
YahooMyWeb
NewsVine
ekudos
© 2008 GX creative online development B.V.

Disclaimer

This website (GXdeveloperweb.com) may discuss or contain opinions, (sample) coding, software or other information that does not include GX official interfaces, instructions or guidelines and therefore is not supported by GX. Changes made based on this information are not supported.  GX will not be held liable for any damages caused by using or misusing the information, software, instructions, code or methods suggested on this website, and anyone using these methods does so at his/her own risk. GX offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this website, including any liability resulting from incompatibility between the content of this website and the materials and services offered by GX. By using this website you will not hold, or seek to hold, GX responsible or liable with respect to the content of this website.