Hi,
I’m trying to News all my Documents also in Subdirectories.
I’ll try to explain it...:
Document Tree:
* First Directory
--*Subdirectory 1
- Document 1
- Document 2
--*Subdirectory 2
- Document 1
- Document 2
* Second Directory
So, now if i go to the First Directory, then I wan’t to get a kind of ListMenu with links to my Documents.
like this:
Subdirectory 1
- Document 1
- Document 2
Subdirectory 2
- Document 1
- Document 2
Can anybody help me?
Thanks a lot,
Christian
( Sorry for my bad english ;-) )
-
MODX Staff
- 12,272 Posts
Which part are you having difficulty with: Creating the articles in the right place via NewsPublisher or creating a call to DropMenu or Newslisting to display them?
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
I’ve difficulty with creating a Newslisting.I’ve tried it with "[!NewsListing? &summarize=`0`!]", but the output is just Subdirectory 1 + 2.
Thanks
Right now NewsListing cannot handle subdirectories but we are working on it.
No, there are no current workarounds if you plan on using the NewsListing snippet.
will that be possible with dropmenu? Never done it, but there might be a way, by hacking into the snippet.
-
☆ A M B ☆
- 24,524 Posts
Quote from: kritiriti at Dec 13, 2005, 01:04 PM
I tried to use 2 NewsListing ("[!NewsListing?StartID=’1’ &summarize=`0`!]" + "[!NewsListing?StartID=’2’ &summarize=`0`!]"), but that leads to an error...
What error? You should be able to use it all you like with no errors.
-
MODX Staff
- 12,272 Posts
StartID should be startID, I think, though.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me