Contentteller

Contentteller Support Forums
Home Forums > Contentteller > General Questions >

Menu Customization

Discussion in 'General Questions' started by cajazzer, Sep 24, 2008.

  1. cajazzer New Member

    Menu Customization

    I just installed Contenteller (great install). I now want to move the main menu to the top of the page like the way your website displays it. I have not yet discovered a way to do this. Also, I get the feeling that there is some very powerful capabilities with this product, but I have not found any concept documentation that explains the relationships between modules, blocks, templates and categories. A little overview would go a long way towards getting new developers up to speed. Thanks for any help.
    cajazzer, Sep 24, 2008
    #1
  2. Philipp Administrator

    cajazzer;275 said:
    I just installed Contenteller (great install). I now want to move the main menu to the top of the page like the way your website displays it. I have not yet discovered a way to do this.
    The blocks are limited to the left or right side of your website. To add a menu on the top of page you need to edit the site_header template directly. The site_header and site_footer templates contain the main HTML output of the website.

    Here an example of a top menu in site_header.

    Replace:
    PHP:
     <h2>{$insert['site_logo_subtext']}</h2>
    with:
    PHP:
     <h2><div style="text-align: center;"><a href="contentteller{$insert['param_ext']}{$insert['param_ct']}news">News</a> &middot;  <a href="contentteller{$insert['param_ext']}{$insert['param_ct']}articles">Articles</a> &middot; <a href="contentteller{$insert['param_ext']}{$insert['param_ct']}files">Files</a> &middot; <a href="contentteller{$insert['param_ext']}{$insert['param_ct']}content">Content</a> &middot; <a href="contentteller{$insert['param_ext']}{$insert['param_ct']}compatdb">CompatDB</a> &middot; <a href="contentteller{$insert['param_ext']}{$insert['param_ct']}links">Links</a></div></h2>
    cajazzer;275 said:
    Also, I get the feeling that there is some very powerful capabilities with this product, but I have not found any concept documentation that explains the relationships between modules, blocks, templates and categories. A little overview would go a long way towards getting new developers up to speed. Thanks for any help.
    modules
    This are the CMS modules such as news (for news/blog websites) or files (for download websites). Each module is fully independent from each other and serves a specific purpose.

    blocks
    Blocks are the side blocks that will show up on the left and right side of your website. Blocks can contain HTML/PHP code. A number of preconfigured blocks are included in Contentteller.

    templates
    The templates contain the HTML output of the website. With the templates it is possible to port any web design to Contentteller. Additionally, Contentteller support multiple template sets, so could even offer multiple designs to your visitors

    categories
    Many modules allow sorting their content by categories. This makes it easier for your visitors to find information. For example, you can categorize downloads by tools or updates etc.
    Philipp, Sep 24, 2008
    #2
  3. cajazzer New Member

    Most Helpful

    Thanks so much for the help
    cajazzer, Sep 25, 2008
    #3
  4. ReviewStud New Member

    Philipp,

    I've been looking at the CT.com index.php code. I'm attempting to add and modify a horizontal menu like what cajazzer is doing, but I can't figure out what is getting the links to line up horizontally.

    Is there anyway you could tell me what is in you <div class="headerlinks"> CSS style? I'm missing some minor (but key) piece of CSS style code and it is driving me nuts.

    Thanks Philipp,

    ReviewStud:cool:
    ReviewStud, Feb 28, 2009
    #4
  5. Philipp Administrator

    Here it is:

    Code:
    .headerlinks ul 
    {
    	margin:0px; 
    	padding-top:10px;
    }
    .headerlinks li
    {
    	float:right;
    	list-style-type:none;
    	width:80px;
    	height:25px;
    	text-align:center;
    	background-color: rgb(109, 127, 143);
    	background-image: url(images/footerbg.gif);
    	border-left:1px solid rgb(255, 255, 255);
    	padding-top:4px;
    }
    .headerlinks a
    {
    	font-family: Verdana, Sans-Serif;
    	font-size:11px;
    	color:rgb(255, 255, 255);
    	font-weight:normal;
    	text-decoration:none;
    }
    .headerlinks a:hover
    {
    	font-family: Verdana, Sans-Serif;
    	font-size:11px;
    	color:rgb(255, 255, 255);
    	font-weight:normal;
    	text-decoration:underline;
    }
    Philipp, Feb 28, 2009
    #5
  6. ReviewStud New Member

    Thanks for the CSS code, but could you look into a "minor" problem on my index page. Either the site_header page I've been updating is corrupt or my site has gremlins (I'll go with the gremlins theory).

    The address is index.

    I've tried to editing the site_header with Dreamweaver and then updating the template, but it doesn't seem to be changing when I refresh in IE. I see the new code, but don't see what is going wrong.

    Thanks Philipp,
    ReviewStud, Mar 6, 2009
    #6
  7. Philipp Administrator

    Look like you copied the HTML code in the site_header template twice.
    Philipp, Mar 7, 2009
    #7
  8. ReviewStud New Member

    Got it. Somehow when I was "updating the template set" it wasn't updating in the Manage Template => Template Set => Site => site_header. Looks like everything is normal now.

    Thank you for the help.

    ReviewStud:cool:
    ReviewStud, Mar 8, 2009
    #8
Tweet
Facebook:
Forgot your password?
Contentteller Support Forums
Home Forums > Contentteller > General Questions >
  • Home
  • Forums

    Forums

    Quick Links
    • Search Forums
    • What's New?
  • Members

    Members

    Quick Links
    • Registered Members
    • Current Visitors
    • Recent Activity
  • Help

    Help

    Quick Links
    • Smilies
    • BB Codes
    • Trophies

Separate names with a comma.

Advanced search...
    Forum software by XenForo™ ©2011 XenForo Ltd.