[SOLVED] Can the {sitemap} be displayed in 2 columns?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
SusanN
Forum Members
Forum Members
Posts: 192
Joined: Wed Jun 13, 2007 5:57 pm

[SOLVED] Can the {sitemap} be displayed in 2 columns?

Post by SusanN »

Hello,

Is it possible to make the sitemap appear in 2 columns instead of one long column? 
Last edited by SusanN on Tue Jul 22, 2008 5:02 pm, edited 1 time in total.
Pierre M.

Re: Can the {sitemap} be displayed in 2 columns?

Post by Pierre M. »

Hello,

{sitemap} is deprecated. Use {site_mapper} instead.

But may be you should try actually templating a call to {menu}. I mean two calls, one for each column, with adequate parameters.

Pierre M.
viebig

Re: Can the {sitemap} be displayed in 2 columns?

Post by viebig »

Ill figure out a better solution, maybe a new tag, when its ready Ill post it
User avatar
SusanN
Forum Members
Forum Members
Posts: 192
Joined: Wed Jun 13, 2007 5:57 pm

Re: Can the {sitemap} be displayed in 2 columns?

Post by SusanN »

Thanks for your replies.  I didn't realize that {sitemap} was deprecated.  I found it in Extensions > Tags.  I tried {site_mapper} and it didn't work.  Here's the error I received:

string(128) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag 'site_mapper' (Smarty_Compiler.class.php, line 590)"

By the way, this is for version 1.2.5 of CMS MS.

I'm not sure what you mean by calling to {menu}.  I think I understand the concept (in that it would be a listing of all the pages), but I don't understand exactly how to do it. 

Viebig, I look forward to seeing what you come up with.
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

Re: Can the {sitemap} be displayed in 2 columns?

Post by JohnnyB »

Hi,
string(128) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag 'site_mapper' (Smarty_Compiler.class.php, line 590)"
That error is b/c the site_mapper plugin is not included with 1.2.5.  It first appears in the 1.3 release.  I think what it does is allow you to create a custom menu template to use as the sitemap.
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Can the {sitemap} be displayed in 2 columns?

Post by Dr.CSS »

What is the structure of your pages and which part do you want to split?...

(optional) start_page="home" - Starts the menu displaying at the given start_page and showing that element and it's children only. Takes a page alias.
User avatar
SusanN
Forum Members
Forum Members
Posts: 192
Joined: Wed Jun 13, 2007 5:57 pm

Re: Can the {sitemap} be displayed in 2 columns?

Post by SusanN »

Hmm...maybe I should go ahead and upgrade.

The sitemap is here:  e cb abb ert.com/sitemap

Right now, it's not too out of control, but soon we will be adding lots and lots of subpages to each of the subpages you see listed.  It's going to get very long, so I thought it would be great if I could display it in columns rather than one long line.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Can the {sitemap} be displayed in 2 columns?

Post by Dr.CSS »

I'm sorry I should have told you that option is from the menu manager help, there may be some parameter that you can use to help split the listing of your pages using the menu tag...
User avatar
SusanN
Forum Members
Forum Members
Posts: 192
Joined: Wed Jun 13, 2007 5:57 pm

Re: Can the {sitemap} be displayed in 2 columns?

Post by SusanN »

Okay, tell me if I'm doing this the right way.

e cba bert.com/test

And right now, here's what I have for that page:

{menu template='sitemap-menu' start_page='storm-sanitary'}

{menu template='sitemap-menu' start_page='interceptors'}

So, am I correct in posting a "new" menu template for each category?
Pierre M.

Re: Can the {sitemap} be displayed in 2 columns?

Post by Pierre M. »

SusanN wrote: {menu template='sitemap-menu' start_page='storm-sanitary'}

{menu template='sitemap-menu' start_page='interceptors'}
Yes, well done, this is what I was thinking about, each in a separate div to make columns. Each may have its own template (option).

Pierre M.
User avatar
SusanN
Forum Members
Forum Members
Posts: 192
Joined: Wed Jun 13, 2007 5:57 pm

Re: Can the {sitemap} be displayed in 2 columns?

Post by SusanN »

Alright, cool!  Thanks for all the help and ideas, guys!
Post Reply

Return to “CMSMS Core”