Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2009-07-21 21:12:49

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Go to Category section from wherever

I think I understood you correctly in my previous post. If you look again at the TXP Tip I referred to, you may notice the “Add some jQuery magic” at the bottom of the article, which outlines a method of toggling the status of the categories.

This page features the same method but this time for an FAQ section.

Take a look and let us know if this is what you want…

Offline

#38 2009-07-23 15:43:12

alarius
Member
Registered: 2009-05-28
Posts: 45

Re: Go to Category section from wherever

hi everyone!
well, I tried what you suggest; I copied and pasted exactly the same code of that faq tip into my leftside container on the page template, and the javascript code on the head tag.
I obtained the right behaviour of the menu but in the wrong way:
now I see the first parent category (and it’s not a link) and below it there are it’s subcategories articles (are links) and if I click on one of it, it appears the article (or disappears on the next click) but it’s on the left menu anytime!!
what I need is to have the behaviour I descripted in my #34, so :
1 – the left menu with only the categories (links),
2 – selecting one category appears (or disappear) the subcategory list of that category in the same left side menu
3 – selecting one of the subcategory it appears the list of it’s articles on the central container of the page
4- selecting one article it appears that article on the central container

so, that I need is modify that useful faq code you told me, but I cannot understand in what way I have to do it.

Offline

#39 2009-07-23 20:23:47

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Go to Category section from wherever

Care to share a link to your page to take a look?

Offline

#40 2009-07-24 11:49:31

alarius
Member
Registered: 2009-05-28
Posts: 45

Re: Go to Category section from wherever

it’s not possible, I’m working in local…
do you think there are other ways to obtain what I need?
it’ seems simple, but I can’t get out of it

Offline

#41 2009-07-24 18:46:41

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Go to Category section from wherever

Well just post the code you have now so I can take a look.

Offline

Board footer

Powered by FluxBB