• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: please help me with the menu
PostPosted: Mon Apr 23, 2012 6:58 pm 
Offline
Forum Members
Forum Members

Joined: Sat Mar 03, 2012 9:45 pm
Posts: 13
Sorry for my bad English ....
I need to write the output is menu

Code:
<div id="accordion">
  <h3><a href="#">sectionheader 1</a></h3>
  <ul>
    <li><a href="{$node->url}">haschildren 1-1</a></li>
    <li><a href="{$node->url}">haschildren 1-2</a></li>
    <li><a href="{$node->url}">haschildren 1-3</a></li>
  </ul>
  <h3><a href="#">sectionheader 2</a></h3>
  <ul>
    <li><a href="{$node->url}">haschildren 2-1</a></li>
    <li><a href="{$node->url}">haschildren 2-2</a></li>
    <li><a href="{$node->url}">haschildren 2-3</a></li>
  </ul>
  <h3><a href="#">sectionheader 3</a></h3>
  <ul>
    <li><a href="{$node->url}">haschildren 3-1</a></li>
    <li><a href="{$node->url}">haschildren 3-2</a></li>
    <li><a href="{$node->url}">haschildren 3-3</a></li>
  </ul>
  <h3><a href="#">sectionheader 4</a></h3>
  <ul>
    <li><a href="{$node->url}">haschildren 4-1</a></li>
    <li><a href="{$node->url}">haschildren 4-2</a></li>
    <li><a href="{$node->url}">haschildren 4-3</a></li>
  </ul>
</div>


my sturucture is menu here
1 en
1.1 menu_1_en
1.1.1 sectionheader 1
1.1.1.1 haschildren 1-1
1.1.1.1 haschildren 1-2
1.1.1.1 haschildren 1-3
1.1.1.1 haschildren 1-4
1.1.2 sectionheader 2
1.1.2.1 haschildren 2-1
1.1.2.2 haschildren 2-2
1.1.2.3 haschildren 2-3
1.1.2.3 haschildren 2-4

Can you help to write .... I'm just not strong smart .... Thank You


Top
 Profile  
 
 Post subject: Re: please help me with the menu
PostPosted: Mon Apr 23, 2012 8:52 pm 
Offline
Administrator
Administrator
User avatar

Joined: Thu Mar 09, 2006 5:32 am
Posts: 11866
Location: Arizona
Sounds like something you may need to post in the Help Wanted section...

_________________
Extensions » Modules/Tags click the name of the module/tag or Help to the right to get its parameters.
Right click and view source is a great way to see what you have to work with.
Check ver. CMSMS, PHP, server OS, in System Information page.
Default content http://multiintech.com/defaultcontent/
People are Wonderful
Business is Great
Life is Terrific
Ever wonder what happened to the Album module? Well it is alive and well.
http://album.multiintech.com/
Image


Top
 Profile  
 
 Post subject: Re: please help me with the menu
PostPosted: Mon Apr 23, 2012 9:07 pm 
Offline
Forum Members
Forum Members

Joined: Sat Mar 03, 2012 9:45 pm
Posts: 13
Dr.CSS wrote:
Sounds like something you may need to post in the Help Wanted section...

im create accordion menu with menu manger
this explame
http://www.linkexchanger.su/examples_20 ... _menu.html

Im write

Code:
Code:
<div id="accordion">
{if $count > 0}
{foreach from=$nodelist item=node}
{if $node->type == 'sectionheader' }
{$node->menutext} --- sectionheader <br>
{elseif $node->children_exist == true || $node->depth == 4}
{if $node->depth > $node->prevdepth}
start
{elseif  $node->depth < $node->prevdepth}
end
{/if}
<br>{$node->menutext} --- else <br>
{/if}
{/foreach}
{/if}
</div>


but this view
Code:
<div id="accordion">
О КОМПАНИИ --- sectionheader1 <br>
start
<br>О нас --- children1.1 <br>
<br>Принципы --- children1.2 <br>
<br>Партнеры --- children1.3 <br>
<br>Проекты --- children1.4 <br>

УСЛУГИ --- sectionheader2 <br>
start
<br>Таможенное оформление --- children2.1 <br>
<br>Международные перевозки ---children2.2 <br>
<br>Сертификация --- children2.3 <br>
<br>Страхование --- children2.4<br>
<br>Складская логистика --- children2.5 <br>
<br>Консалтинг --- children2.6 <br>

ОН-ЛАЙН ЗАЯВКА --- sectionheader3<br>
start
<br>Международная перевозка --- children3.1 <br>
<br>Таможенное оформление --- children3.2 <br>
<br>Сертификация --- children3.3 <br>
</div>


Where could I go wrong I can not understand.

Thank You


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Arvixe - A CMSMS Partner