We launched new forums in March 2019—
join us there
.
In a hurry for help with your website?
Get Help Now!
Back to MODX.com
Forums
Docs
Revo Issues
Blog
My Forums
Add-ons
Navigation & Tagging/Taxonomy
Wayfinder
Search
[+wf.id+] not set?
☆ A M B ☆
209 Posts
pbowyer
Reply #1,
18 years, 6 months ago
I’m trying to get a numeric ID on each menu item at the top level, and I think the [+wf.id+] placeholder will help. However, whenever I insert it in my row-level template it doesn’t provide an ID.
Is this a known issue?
MAPLE
DESIGN
MODX development
and
MODX web design
and custom development. Proud to serve UK and International clients!
4,205 Posts
dev_cw
Reply #2,
18 years, 6 months ago
You are looking for docid rather than id.
[+wf.docid+] - the document identifier for the current item
The id is for specifying a unique id for css purposes.
[font=Verdana]Shane Sponagle
|
[wiki] Snippet Call Anatomy
|
MODx Developer Blog
|
[nettuts] Working With a Content Management Framework: MODx
Something is happening here, but you don't know what it is.
Do you, Mr. Jones? - [bob dylan]