Zoals ik al aangaf in mijn vorige post: hier ben ik weer met een probleempje op een nieuwe site. Ik heb een nieuwe / kale install gedaan op hcjb.info. En heb wat zaken overgenomen van hcjbradiogids.nl. Het is een hele poos goed gegaan, totdat plots de contextbox naar beneden schoof en ik geen idee heb, hoe ik die weer naar boven uitgelijnd krijg. De sitebar heeft het ook even gedaan, maar - geen idee wat ik had aangepast - die schoot ook vanzelf weer op z'n plaats. Ook breadcrumbs wil niet helemaal links uitlijnen.
Als ik beide templates en css'en met elkaar vergelijk kan ik echt nergens een verschil zien, dus echt geen idee wat ik zou kunnen proberen aan te passen.
Post wordt te lang, als ik de codes hierin plaats - dus gaan ze als attachment erbij. Moet kunnen toch? hmmm - deze wil niet? template-hcjb.txt?
Code: Select all
[code]{process_pagedata}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="nl" lang="nl">
{* Change lang="nl" to the language of your site *}
{* note: anything inside these are smarty comments, they will not show up in the page source *}
<head>
{if isset($canonical)}<link rel="canonical" href="{$canonical}" />{elseif isset($content_obj)}<link rel="canonical" href="{$content_obj->GetURL()}" />{/if}
<title>{title} | {sitename}</title>
{* The sitename is changed in Site Admin/Global settings. {title} is the name of each page *}
{metadata}
{* Don't remove this! Metadata is entered in Site Admin/Global settings. *}
{cms_stylesheet}
{* This is how all the stylesheets attached to this template are linked to *}
{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}
{* Relational links for interconnections between pages, good for accessibility and Search Engine Optmization *}
<!--[if IE 6]>
<__script__ type="text/javascript" src="modules/MenuManager/CSSMenu.js"></__script>
<![endif]-->
{* The above JavaScript is required for Menu - NCleanBlue-css to work in IE6 *}
{* the literal below and the /literal at the end are needed whenever there are {"curly brackets"} as smarty will think it's something to process and will throw an error *}
{* IE6 png fix *}
{literal}
<!--[if IE 6]>
<__script__ type="text/javascript" src="uploads/NCleanBlue/js/ie6fix.js"></__script>
<__script__ type="text/javascript">
// argument is a CSS selector
DD_belatedPNG.fix('.sbar-top,.sbar-bottom,.main-top,.main-bottom,#version');
</__script>
<style type="text/css">
/* enable background image caching in IE6 */
html {filter:expression(document.execCommand("BackgroundImageCache", false, true));}
</style>
<![endif]-->
{/literal}
</head>
</__body>
<div id="ncleanblue">
<div id="pagewrapper" class="core-wrap-960 core-center">
{* start accessibility skip links *}
<ul class="accessibility">
<li>{anchor anchor='menu_vert' title='Skip to navigation' accesskey='n' text='Skip to navigation'}</li>
<li>{anchor anchor='main' title='Skip to content' accesskey='s' text='Skip to content'}</li>
</ul>
{* end accessibility skip links *}
<hr class="accessibility" />
{* Horizontal ruler that is hidden for visual browsers by CSS *}
{* Start Header, with logo image that links to the default start page *}
<div id="header" class="util-clearfix">
{* logo image that links to the default start page. Logo image is changed in the style sheet "Layout: HCJB" *}
<div id="logo" class="core-float-left">
{cms_selflink dir="start" text="$sitename"}
</div>
{* Start Search, the input "Submit" is using an image, CSS: div#search input.search-button *}
<div id="search" class="core-float-right">
{search search_method="post"}
</div>
{* End Search *}
<span class="util-clearb"> </span>
{* Start Navigation, style sheet "Layout: HCJB", starting at Menu ROOT *}
<h2 class="accessibility util-clearb">Navigation</h2>
{* anything class="accessibility" is hidden for visual browsers by CSS *}
<div class="page-menu util-clearfix">
{menu loadprops=0 template='cssmenu_ulshadow.tpl'}
</div>
<hr class="accessibility util-clearb" />
{* End Navigation *}
</div>
{* End Header *}
{* Start Content (Navigation and Content columns) *}
<div id="content" class="util-clearfix">
{* Start Optional tag CMS Version Information, also is a good example how smarty works, the big star that holds the version number, you may remove it here and the style sheet where it is marked. *}
{* verwijderd <div title="CMS - {cms_version} - {cms_versionname}" id="version">
{capture assign='cms_version'}{cms_version|lower}{/capture}{"/-([a-z]).*/"|preg_replace:"":$cms_version}
</div> *}
{* End Optional tag *}
{* Start Bar *}
<div id="bar" class="util-clearfix">
{* Start Breadcrumbs, a bit of letting you know where your at / right veranderd in left *}
<div class="breadcrumbs core-float-left">
{cms_breadcrumbs root='Home'}
</div>
{* End Breadcrumbs *}
<hr class="accessibility util-clearb" />
</div>
{* End Bar *}
{* Start left side *}
<div id="left" class="core-float-left">
<div class="sbar-top">
<h2 class="sbar-title">Nieuws</h2>
</div>
<div class="sbar-main">
{* Start News *}
<div id="news">
<p>Klik op <a href="http://hcjb.info/index.php?page=nieuws">Nieuws</a> in het bovenmenu voor eerder gepubliceerde items </p>
{news number=3 lang=nl_NL category='Algemeen' detailpage='nieuws'}
</div>
</div>
<img class="screen" src="uploads/HCJB-opmaak/logo-hcjbglobal-nl-kl.png" width="101" height="75" title="Stichting HCJB" alt="Stichting HCJB" />
{* End News *}
</div>
<span class="sbar-bottom"> </span>
</div>
{* End left side *}
{* Start Content Area, right side *}
<div id="main" class="core-float-right">
{* main top, holds top image and print image *}
<div class="main-top">
<div class="print core-float-right">
{print showbutton=true}
</div>
</div>
{* main content *}
<div class="main-main util-clearfix">
<h1 class="title">{title}</h1>
{content}
</div>
{* Start main bottom and relational links *}
<div class="main-bottom">
<div class="right49 core-float-right">
{anchor anchor='main' text='^ Top'}
</div>
<div class="left49 core-float-left">
<span>
{cms_selflink dir="previous" label="Vorige pagina: "}
{* The label parameter doesn't need to be there if you're using English, but is here to show how it's used if you don't want the English text "Previous page" *}
</span>
<span>
{cms_selflink dir="next" label="Volgende pagina: "}
</span>
</div>
{* End relational links *}
<hr class="accessibility" />
</div>
{* End main bottom *}
</div>
{* End Content Area, right side *}
</div>
{* End Content *}
</div>
{* end pagewrapper *}
<span class="util-clearb"> </span>
{* Start Footer *}
<div id="footer-wrapper">
<div id="footer" class="core-wrap-960">
{* edit Global Content Block genaamd "webmaster" *}
<div id="webmaster">
<div class="block core-float-left">
{global_content name='webmaster'}
</div></div>
{* Verwijderen van het menu (eerste laag) in de footer {* first foot menu *}
{* <div class="block core-float-left">
{menu loadprops=0 template='minimal_menu.tpl' number_of_levels='1'}
</div> *}
{* Verwijderen van het menu (tweede laag) in de footer
{* second foot menu if active page has children *}
<div class="block core-float-left">
{menu loadprops=0 template='minimal_menu.tpl' start_level="2"}
</div>
{* edit the footer in the Global Content Block called "footer" *}
<div class="block cms core-float-left">
{global_content name='footer'}
</div>
<span class="util-clearb"> </span>
</div>
</div>
{* End Footer *}
</div>
{* End Div *}
<__body>
</__html>
Benieuwd wie me weer kan helpen.
Ow ja, wilde staartmees een powerup-boost geven, maar hoe ging dat ook alweer?
Groetjes aan alle bekenden.