Template with horizontal menu and different "cover photos" for each page
Template with horizontal menu and different "cover photos" for each page
I'm looking for a CMSimple template that looks like this:
Any ideas?
It has to be responsive though.Any ideas?
You do not have the required permissions to view the files attached to this post.
Re: Template with horizontal menu and different "cover photos" for each page
Ich nutze folgendes:
1. Im "template" Folder erstelle ich z.B.: 2. im template.htm definiere ich z.B.:
3. Auf den Seiten stelle ich unter dem Überschrifft:
4. Im stylesheet dann:
usw.
Z.B. here
1. Im "template" Folder erstelle ich z.B.: 2. im template.htm definiere ich z.B.:
Code: Select all
<div id="header" class="banner <?php if($banner == ''){echo 'banner1';}else{ echo $banner;}?>">
Code: Select all
<h1>Page 1</h1>
<div>#CMSimple $banner="banner1";#</div>
...
<h1>Page 2</h1>
<div>#CMSimple $banner="banner2";#</div>
...
<h1>Page 2.1</h1>
<div>#CMSimple $banner="banner3";#</div>
...
<h1>Page 2.1.1</h1>
<div>#CMSimple $banner="banner4";#</div>
Code: Select all
.banner1{
background-image: url(images/banner/banner1.jpg);
}
.banner2{
background-image: url(images/banner/banner2.jpg) ;
}
.banner3{
background-image: url(images/banner/banner3.jpg) ;
}
.banner4{
background-image: url(images/banner/banner4.jpg) ;
}
...
Z.B. here
You do not have the required permissions to view the files attached to this post.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: Template with horizontal menu and different "cover photos" for each page
Ich denke das Plugin "morepagedata" sollte sowas gut erledigen.
Ursprung:
http://svasti.de/?Start/Morepagedata
aktuell:
https://github.com/cmsimple-xh/morepagedata/releases
letzte Besprechung:
https://cmsimpleforum.com/viewtopic.php ... repagedata
Ursprung:
http://svasti.de/?Start/Morepagedata
aktuell:
https://github.com/cmsimple-xh/morepagedata/releases
letzte Besprechung:
https://cmsimpleforum.com/viewtopic.php ... repagedata
Re: Template with horizontal menu and different "cover photos" for each page
Ich weiß nicht, ob diese Lösung noch praktikabel ist, mir hat es zumindest seinerzeit wirklich geholfen und es hat funktioniert.
Re: Template with horizontal menu and different "cover photos" for each page
Gerts, Tatas und cmbs Vorschläge sind alle gut praktikabel - solange du die Seiten selbst verwaltest.rothom wrote:Ich weiß nicht, ob diese Lösung noch praktikabel ist, mir hat es zumindest seinerzeit wirklich geholfen und es hat funktioniert.
Übergibst du das System an einen unbedarften User, wird er sicher Probleme mit dem Scripting haben.
In diesem Fall (mit morepagedata) hast du als Vorbereiter etwas mehr Aufwand, der End-Anwender hat es dann aber "sehr einfach" (simple).
Re: Template with horizontal menu and different "cover photos" for each page
Ich stimme yu. Aber nach meiner Erfahrung, es ist nicht unbedingt schlecht, wenn auch der Enduser einer Webseite wenigstens bisschen versteht, wie die Webseite funktioniert. Für den Zweck habe ich jeden deutlich gewarnt NIE etwa zwischen #CMSimple...# oder {{{...}}}. Auch habe ich mal hier diskutiert von der Möglichkeit, die Scripts im Editor farbig eintragen zu können, oder sogar mit Warnung, z.B.:
EDIT:
Doch gefunden. It just doesn't seem to work for me with v1.6.10 now.
https://cmsimpleforum.com/viewtopic.php ... =highlight
Und es wurde wohl auch irgendwo gelösst. Nur jetzt kann ich es nicht mehr finden.<h1>Title</h1>
DON'T TOUCH!!! {{{function();}}}
DON'T TOUCH!!! #cmsimple $header_image="images/headers/header_1.jpg";#
Page content
EDIT:
Doch gefunden. It just doesn't seem to work for me with v1.6.10 now.
https://cmsimpleforum.com/viewtopic.php ... =highlight
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: Template with horizontal menu and different "cover photos" for each page
Well I'm looking for a template that already exists and that has those features.
Re: Template with horizontal menu and different "cover photos" for each page
Try this: http://cmsimple.sk/userfiles/downloads/ ... banner.zip
Horizontal navigation can you copy/paste/adjust from another ready made templates.
From my ones e.g.: http://cmsimple.sk/rr/?Templaty/Gal%C3%A9ria (there are various templates with HN) there.
Horizontal navigation can you copy/paste/adjust from another ready made templates.
From my ones e.g.: http://cmsimple.sk/rr/?Templaty/Gal%C3%A9ria (there are various templates with HN) there.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: Template with horizontal menu and different "cover photos" for each page
I'm trying morepagedata now. The background image for the header is defined in the CSS file.
Where do I put the morepagedata code? And what code?
Code: Select all
.art-header
{
margin:0 auto;
position:relative;
height: 340px;
background-image: url('images/bg.jpg');
background-position: center top;
background-repeat: no-repeat;
}
Re: Template with horizontal menu and different "cover photos" for each page
See Morepagedata's help file, particularly https://github.com/cmsimple-xh/morepage ... m#L89-L107.wbs wrote:Where do I put the morepagedata code? And what code?
Christoph M. Becker – Plugins for CMSimple_XH