• 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  [ 4 posts ] 
Author Message
 Post subject: Responsive site with Foundation
PostPosted: Wed May 29, 2013 1:07 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Fri Jan 11, 2008 6:56 pm
Posts: 37
Location: Wirral, UK
http://fylde-coast-epc-centre.co.uk/

Fylde Coast EPC Centre features a responsive design built using the "Foundation" framework.

Pretty much a standard installation with only a few mods.

Modules: News, Formbuilder, Archiver

Disclaimer: I would like to point out that the animated gif on the home page was at the insistence of the customer despite advice against it ::)


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Responsive site with Foundation
PostPosted: Sun Jul 21, 2013 1:37 am 
Offline
Power Poster
Power Poster

Joined: Mon Mar 14, 2011 1:16 am
Posts: 265
Location: Brisbane, Australia
Looks great and works really well. Just a question about your primary nav -- I'm using Foundation as my basis for all CMSMS websites but I've had a few minor issues with generating the responsive menu and having submenus. Any chance you could share your Menu Manager template so I can compare it to mine?


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Responsive site with Foundation
PostPosted: Thu Jul 25, 2013 9:41 am 
Offline
Forum Members
Forum Members
User avatar

Joined: Fri Jan 11, 2008 6:56 pm
Posts: 37
Location: Wirral, UK
Sorry Gocreative, but the site features only single level navigation so the menu template is pretty basic.

I hope you've solved it by now though and maybe if you have you could share your solution?

T


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Responsive site with Foundation
PostPosted: Thu Jul 25, 2013 10:28 pm 
Offline
Power Poster
Power Poster

Joined: Mon Mar 14, 2011 1:16 am
Posts: 265
Location: Brisbane, Australia
This is what I'm using. It works for multiple levels but there is an issue when the last item in the root menu has a dropdown. This causes the height of the entire menu bar to double for some reason, and I couldn't figure out a way around that.

\$1:
{assign var='number_of_levels' value=10000}
{if $number_of_levels}
    {assign var='number_of_levels' value=$menuparams.number_of_levels}
{/if}

{if $count > 0}

{foreach from=$nodelist item=node}

   {if $node->depth < $node->prevdepth}
      </ul></li>
   {/if}
   
   {if $node->children_exist == true or $node->parent == true}
      <li class="has-dropdown">
         <a href="{if $node->url!=''}{$node->url}{else}#{/if}">{$node->menutext}</a>
         <ul class="dropdown">
   {else}
      {if $node->type == 'sectionheader'}
             <li><a href="#">{$node->menutext}</a></li>
       {elseif $node->type == 'separator'}
             {*<li class="divider"></li>*}
        {elseif $node->type == 'pagelink'}
             <li class="hide-for-medium-down"><a href="{if $node->url!=''}{$node->url}{else}#{/if}">{$node->menutext}</a></li>
        {else}
             <li><a href="{if $node->url!=''}{$node->url}{else}#{/if}">{$node->menutext}</a></li>
        {/if}
   {/if}
   
{/foreach}

{/if}


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 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
A2 Hosting