homepage Welcome to WebmasterWorld Guest from 54.166.62.226
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / WordPress
Forum Library, Charter, Moderators: lorax & rogerd

WordPress Forum

    
[Wordpress + Ajax] View Post on different panel/div/column
wordpress, ajax, viewpost, post, div
mamamiaw



 
Msg#: 4489439 posted 1:51 pm on Aug 29, 2012 (gmt 0)

I have this thing i want to build using wordpress

It's quite simple (at least when i imagine it)

I like to have this (mini) site which contains 3 sections (in 3 different area/box/table)

The first section is the list of Categories, starting from All Categories (which will display all the posts disregard their category) and other category ( in pictures i put it as Category 1 - etc)

If the user clicks, let's say a category or all categories, the second box/table/column will display the list of posts in that category

The list will be tittle only (no excerpt, meta(s) or whatsoever)

And if the user clicks one of the post title, that post will be displayed in 3rd box/table/column

Please refers to this image for visual aid
[s12.postimage.org...]

None of these use dropout, hover or such 'fancy' effects. Just simply plain 'link'

So far i made it this far <snip> On that website, i have this three column layout, consist of : 2 sidebars and 1 content page (1 sidebar is still invisible since i haven't put any widget at all)

On the 1st sidebar i have this widget that list my categories and that connect to second column (so far it's the content column but i think this should/can move), which is a page that list all my articles

Now this is where i got stucked....... I like to view my article (post) in another seperate column...so when the user click any title/link on the second column, it will be displayed on the 3rd column (again please see the image for visual aid)

So, my question is..How to do it?, is there any plugin for this (since the 3rd colum in also side bar so i can put widget there), or is there any other method? Some recommended me AJAX, and honestly i'm quite blind on using it...

I hope i make myself quite clear, and please excuse my lousy English.

Anyway, thank you very very much for reading this

Best regards,

Mamamiaw

[edited by: lorax at 1:56 pm (utc) on Aug 29, 2012]
[edit reason] No links please [/edit]

 

lorax

WebmasterWorld Administrator lorax us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4489439 posted 12:40 pm on Aug 31, 2012 (gmt 0)

Welcome to WebmasterWorld mamamiaw,
You could do this using a combination of a categories plugin and the widget logic plugin. You'd set up the categories to display based on the main cat that was open then use Widget logic [wordpress.org] to show the plugin or not based on the category that was currently being viewed.

The logic would use the is_category [codex.wordpress.org] and in_category [codex.wordpress.org] functions.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WordPress
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved