Hi. I need help figuring out how to only get the pages tagged the same listed on the choosen page. Another option is only listing the pages within the same folder but I haven´t been able to figure that out either.
I have pages tagged @"tag" so that I can display only the same tagged pages (not entries) when choosing a certain page.
I have searched how to do this all day and still haven´t found a way to do this. I have found a lot of different types of doing it if I specify the tag but then it will not work for me.
If I click on the page.php tagged @fun I need the other pages that are tagged the same to be listed on that page in the sidebar.
Could anybody help me in the right direction with some examples or so as how to do this?
Thanks in advance.
Carina
Reported on Movable Type 4.2

Check out this page. It might solve your problem.
http://forums.movabletype.org/2008/09/how-to-test-if-a-container-tag.html
Hi Toni and thanks.
I did not get that working from the link but I got a lead as to how to get that working.
This is what I ended up with. I created a new widget, Conditonal page listing and then added this into it:
In each widget I added a list of of pages I wanted to be listed. I could ahve done this more automatic but the pages listed need to be in a certain order that cannot be sorted by MT.
Actually, Carina, what I think you need is a sort of "related pages" chunk of code, something that pulls all pages that share one or more of the tags as the current page. If that is correct, please see [this][1], in the Wiki, a template-tag recipe. It works for entries _and_ pages. What this does is it pulls all entries/pages with the same tags _except the current page_. You can then order the list any way you like, by title, author, date or whatever.
[1]: http://wiki.movabletype.org/Related_Entries
Carina, put 4 or more spaces before each line of your code and it shows. Like so:
Related Pages
Hi Guatam.
Thanks for your reply. I had already checked out the Related Entries but could not figure out how to sort the way it should be presented. It is not in any alphabetical or so order, it is by own specifics. Perhaps there is a way to add some sort of number that will not be shown so that the order will be as requested.
Do you know of any way to do that?
Thanks also on how to add code to the forum.