Very simple template for XH 1.7

General questions about CMSimple
lck
Posts: 1789
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: Very simple template for XH 1.7

Post by lck » Fri Jul 19, 2019 10:31 am

Hugorm wrote:
Thu Jul 18, 2019 8:41 pm
Looks very nice and seems understandable.
Ok.
lck wrote:
Thu Jul 18, 2019 7:46 pm
So that we understand each other correctly. Are these external pages or should the internal CMSimple_XH pages be?
What about this point?
Hugorm wrote:
Thu Jul 18, 2019 8:41 pm
How could I make a local copy on my XAMPP in order to try with my own images?
(template - stylesheet etc.)
Once the above point has been clarified, I can try to create a template for it in the next few days.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

Hugorm
Posts: 112
Joined: Thu May 22, 2008 6:45 pm
Location: Denmark

Re: Very simple template for XH 1.7

Post by Hugorm » Fri Jul 19, 2019 10:45 am

I think only internal pages written in text (html). I'm not sure if there may be an image, but still from internal source. the abillity to go back to 'home' (start of site) is wanted.

Tata has made a model for me which I have to try out.

Your model I also would like to try out locally, therefore I need something like a 'templ_tables'.zip I can use as template in my XH 1.7 setup locally on a XAMPP.

Tata
Posts: 3037
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Very simple template for XH 1.7

Post by Tata » Fri Jul 19, 2019 1:35 pm

Anyway, a sitemap of your project would help a lot.
E.g.:
Intro page (the page with the navigation)
Page 1 (linked to the link in "cell 1/1)
Page 2 (linked to the link in "cell 1/2)
Page 3 (linked to the link in "cell 1/3)
--- Page 3-1 (linked to the link in "page 3)
--- Page 3-2 (linked to the link in "page 3)
--- Page 3-3 (linked to the link in "page 3)
...
Page 13 (linked to the link in "cell 4/1)
...
Page 20 (linked to the link in "cell 5/4)
Otherwz we can only hardly assume how would you like the page look like and how shall it function.
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.

lck
Posts: 1789
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: Very simple template for XH 1.7

Post by lck » Mon Jul 22, 2019 2:17 pm

Hugorm wrote:
Fri Jul 19, 2019 10:45 am
Tata has made a model for me which I have to try out.

Your model I also would like to try out locally, therefore I need something like a 'templ_tables'.zip I can use as template in my XH 1.7 setup locally on a XAMPP.
Also brauchst du doch ein Template oder reicht dir das reine html und das CSS?
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

Hugorm
Posts: 112
Joined: Thu May 22, 2008 6:45 pm
Location: Denmark

Re: Very simple template for XH 1.7

Post by Hugorm » Tue Jul 23, 2019 4:27 pm

Sorry for not being farster in my reply, but I'm working with the solution with div's.
I find it a bit difficult as the rows have to have different hight and some images is covering two coloums. Stil I have to change the size of the hoovered/selected areas.
Ick wrote: Also brauchst du doch ein Template oder reicht dir das reine html und das CSS?
Das weiss Ich nicht ganz, aber Ich mögte gerne das editor und habe probleme die HTML und CSS in selben fil zusammen zu setzen

lck
Posts: 1789
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: Very simple template for XH 1.7

Post by lck » Tue Jul 23, 2019 7:29 pm

Hugorm wrote:
Tue Jul 23, 2019 4:27 pm
Das weiss Ich nicht ganz, aber Ich mögte gerne das editor und habe probleme die HTML und CSS in selben fil zusammen zu setzen
:? i'm still not quite sure how it should look and work in the end.
I'll make a list for it now. Well, that's how it should be:
1) Fullscreen menu (100% width and height)
a) 20 links divided into 4 columns and 5 rows
b) Column 1 + 2 + 4 each 15% wide, column 3 then 55% wide
c) Height row 20% (100% : 5 rows)

2) Questions about it:
a) Should the fullscreen menu be a CMSimple_XH menu and call internal CMSimple_XH pages or are these links to the pages inserted manually via XH editor (TinyMCE)?
b) Colspan wouldn't be a problem, as you can see here: https://codepen.io/lck/full/bXGZWZ
c) Should individual cells also be 2 rows high? Like a Masonry layout https://www.google.com/search?tbm=isch& ... nry+layout
d) Are the cells then fixed? Or does the width and height always change?
e) Where should the called pages appear? Under the full screen menu or as popup with close button? Or in a new window?
f) Should the fullscreen menu have a header with page name, logo or the like?
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

lck
Posts: 1789
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: Very simple template for XH 1.7

Post by lck » Fri Jul 26, 2019 3:49 pm

The discussion was continued via PM.
Here is a corresponding draft op_fullscreenmenu.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

Hugorm
Posts: 112
Joined: Thu May 22, 2008 6:45 pm
Location: Denmark

Re: Very simple template for XH 1.7

Post by Hugorm » Wed Oct 30, 2019 5:51 pm

I very much like the lck-version, but want to have pictures instead of text on the intro screen.
I've promissed to publish where I got to. So, on www.bf-medlem.dk you can see a danish-only version for a short period of time.
The result is messy and a mishmash of plugins and copy-steal.
Two important things I'looking for:
- It is only nessasary to read the intro screen(to see the important statement).
- The navigation on the intro-screen should be done with pictures ie. Title is a picture. Pictures should be placed in language file.
On one thing I've given up. Preventing to see the page if no accept of cookies. I've tried to make a semitransparent page as the cookie accept page with no success.

lck
Posts: 1789
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: Very simple template for XH 1.7

Post by lck » Thu Oct 31, 2019 1:59 pm

Hugorm wrote:
Wed Oct 30, 2019 5:51 pm
The navigation on the intro-screen should be done with pictures ie. Title is a picture.
The Toxic_XH plugin can do this. Direct download.
Hugorm wrote:
Wed Oct 30, 2019 5:51 pm
On one thing I've given up. Preventing to see the page if no accept of cookies.
See an example here and there.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

lck
Posts: 1789
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: Very simple template for XH 1.7

Post by lck » Fri Nov 01, 2019 12:40 pm

Hugorm wrote:
Wed Oct 30, 2019 5:51 pm
On one thing I've given up. Preventing to see the page if no accept of cookies. I've tried to make a semitransparent page as the cookie accept page with no success.
Or, another possibility.
1.) stylesheet.css at the end, insert:

Code: Select all

#privacy {
	background-color: rgba(0, 0, 0, 0.9);
	border: 0px solid red;
	box-sizing: border-box;
	height: 100%;
	padding: 0;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	z-index: 9999 !important;
}

#privacy p {
	color: #BDBDBD;
	font-size: 20px;
	line-height: normal;
	padding: 10% 10% 0;
	text-align: center;
}

#privacy p + p {
	padding: 3% 10% 0 10%;
}

#privacy a {
	color: #FDD835;
}

.privacy_buttons button:nth-of-type(1) {
	display: none;
}

.privacy_buttons button {
	background: #FDD835;
	border: 0px solid white;
	border-radius: 4px;
	color: #222;
	display: block;
	font-size: 20px;
	font-weight: 700;
	margin: 0 auto;
	padding: 10px;
	text-align: center;
	width: 260px;
}
2.) Backend under Plugins > Privacy > Language > Message, insert:
<p>Jeg vil gerne placere cookies på din computer for at kunne yde den bedste service. For at se mere om cookies, se <a href="?Privacy_notice&print" target="_blank">privacy notice</a>.<br>Jeg forsøger at slette alle mine cookies, når siden forlades</p>
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

Post Reply