In footer how to add two footer contents???

General project discussion. NOT for help questions.
Post Reply
rasmita
Forum Members
Forum Members
Posts: 11
Joined: Thu Apr 02, 2009 6:46 am

In footer how to add two footer contents???

Post by rasmita »

Hello,

In Global Content Block section for footer section, can we create two footer contents as one is in right side as per the design and other one is in left site, where links are to be given. I could create the one in the left side for copyright while other I could not create, where it consists of links to various pages . How to make it dynamic also??

For eg: right section in footer consists of these: (about us/ contact us/etc.....)

ITS MY FIRST PROJECT and I am quiet scared upon that I am a newbie to CMSms, can anyone helpme plzzzzz???

Thanx in advance
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: In footer how to add two footer contents???

Post by RonnyK »

rasmita,

you could divide the footer in two blocks, like a div-left and a div-right....

Within both areas you can do what you want, including the call of {menu} with parameters,

Ronny
uniqu3

Re: In footer how to add two footer contents???

Post by uniqu3 »

You could  do it like this:

Code: Select all

<div id="footer">
 <div class="footer-left">{global_content name='footer'}</div>
  <div class="footer-right>{menu number_of_levels='1' start_level='1' template='yourtemplate'}</div>
</div>
Add your CSS.
This would be a sollution to display left and right content, right would have a menu showing the main navigation.
rasmita
Forum Members
Forum Members
Posts: 11
Joined: Thu Apr 02, 2009 6:46 am

Re: In footer how to add two footer contents???

Post by rasmita »

Thank you very much for your suggestions!!

Wihere shall I use minimal template, cssmenu templates, is it necessary to use them???

Will I have to make a separate template to be included in footer rather than index, you may be getting my questions wierd but, I am stuck as I am a newbie.

I need your help, please help me out.
NaN

Re: In footer how to add two footer contents???

Post by NaN »

Hi rasmita,
first this is no developer question but just a "how to" question.
If you have trouble using CMSms please post in the correct boards.

Second, to you question:
rasmita wrote: Wihere shall I use minimal template, cssmenu templates, is it necessary to use them???
Minimal template is just what it says.
The minimum HTML elements needed to just print out a simple list where its entrys are linked with a page content.
Actually always the index.php will be called by these links but with different parameters in the url depending on what page link you clicked.
That parameters (e.g. "page=home") tells the CMS what content to be shown.

If you don't use the template param when calling the menu (e.g. just using {menu} in your page template) a standard template will be used. (it might be the minimal template i guess)

If you want a specific output of the menu you can use another template (e.g. where specific CSS-classes or IDs will be used).
This template will be assigned by using the template parameter when calling your menu: {menu template="your-template"}.
(if using no ".tpl" at the end of the name the CMS searches for a menu template in the database. otherwise it is looking for file at your server)

cssmenu template is such an specific output.
It is designed to work together with a javascript to just show the main level items and expand/collapse the sub level items when mouse is over/out of one item.
(to use it you need to include the javascript in the head of your page template.)

For more information about the parameters that can be used to control the menu-tags output please read the module help of the MenuManager and do some "try and error".

rasmita wrote: Will I have to make a separate template to be included in footer rather than index
Do you mean a menu template?
There is no need to create a separate template.
It depends on your needs.
You even could use the same template you used for the main menu of your page.
In my opinion you just need a simple list that can be styled via CSS.
So the simple-navigation.tpl should be the easiest solution.
(by the way i believe it is the solution for the most common menus)

In your CSS you can style that menu with the IDs of the divs surrounding your menu.
E.g.:

Code: Select all

#footer .footer-right ul {
      ...
}

#footer .footer-right ul li {
      ...
}

#footer .footer-right ul li a {
      ...
}

etc.

I hope that helps you to understand how menu stuff ist working in CMSms.
 
rasmita
Forum Members
Forum Members
Posts: 11
Joined: Thu Apr 02, 2009 6:46 am

Re: In footer how to add two footer contents???

Post by rasmita »

Thank you very much for this information about the menu and I am quiet sorry for posting the questions in wrong topics.

And it seems that the menu section is quiet a head scratching section sometimes, well still I will try to solve it.

Thank You very much!!
rasmita
Forum Members
Forum Members
Posts: 11
Joined: Thu Apr 02, 2009 6:46 am

Re: In footer how to make content dynamic???

Post by rasmita »

Hello,

In footer how to make a content like about us, contact etc dynamic and from where shall we access it in admin.

I am using the simple navigation template for it, which I had used for menu navigation also, but with different name.It had worked.
But I am quiet confused with what code to be used for it and where to add pages for it.

please help me out....
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: In footer how to add two footer contents???

Post by RonnyK »

You could add those footer-menu pages inside a specific parent... Say "Footer", and then call the {menu} in the footer with the parameter to show the children of the specific parent.

Ronny
rasmita
Forum Members
Forum Members
Posts: 11
Joined: Thu Apr 02, 2009 6:46 am

Re: In footer how to add two footer contents???

Post by rasmita »

I added the pages, they all showed up in the navigation menu.... what shall I do now
rasmita
Forum Members
Forum Members
Posts: 11
Joined: Thu Apr 02, 2009 6:46 am

Re: In footer how to add two footer contents???

Post by rasmita »

hi,

This is the static code, I have to do it dynamic
/ Contact | Submit Review |

is there a way to do changes in html of global footer section????
Cant sort it out please help..... ???
Post Reply

Return to “General Discussion”