Plain (not a link) title in html map
2 posts
• Page 1 of 1
Plain (not a link) title in html map
Hi!
I'm currently developing my first plugin for Xmap and I have some questions.
I managed to get categories and items that I wanted, but they all are printed in one unordered list just below name of the menu. I have structure in HTML map like this:
What I want to archive is that I get this structure in HTML without affecting XML map
So basically, I need command from plugin to tell xmap to print title that is not link, an that it's not needed to be included in XML map.
I need this because HTML map is for humans and should be well formated.
I know I can archive this with core hack, but I want to know if it's possible right now, since I really want to avoid core hack.
Thank you for your help.
I'm currently developing my first plugin for Xmap and I have some questions.
I managed to get categories and items that I wanted, but they all are printed in one unordered list just below name of the menu. I have structure in HTML map like this:
- Code: Select all
MAIN MENU
Menu item 1
- category1
- category2
- category3
- item1
- item2
- item3
- item4
- item5
Menu item 2
Menu item 3
What I want to archive is that I get this structure in HTML without affecting XML map
- Code: Select all
MAIN MENU
Menu item 1
Categories
- category1
- category2
- category3
Items
- item1
- item2
- item3
- item4
- item5
Menu item 2
Menu item 3
So basically, I need command from plugin to tell xmap to print title that is not link, an that it's not needed to be included in XML map.
I need this because HTML map is for humans and should be well formated.
I know I can archive this with core hack, but I want to know if it's possible right now, since I really want to avoid core hack.
Thank you for your help.
- bojanpopic
- Fresh Boarder

- Posts: 19
- Joined: Wed Jul 21, 2010 12:04 am
Re: Plain (not a link) title in html map
- Code: Select all
If ($xmap->view == 'html') {
echo ("title");
}
- bojanpopic
- Fresh Boarder

- Posts: 19
- Joined: Wed Jul 21, 2010 12:04 am
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 4 guests