Topic Closed
Gabriel
17 Posts
3.3K Downloads
1 Themes

I found some very nice templates on freecsstemplates.org

for example how i can adapt this template to gpEasy ?

Would be nice if you give me a tutorial.

 

I understand HTML perfectly, CSS basicly and php only a lil bit :D


Greetz, Gabriel

10 years ago#3425

Josh S.
2K Posts
306K Downloads
16 Themes
18 Plugins

If you've got the html and css, then you're set. The php is very easy. Essentially, you add something like <?php $page->GetContent(); ?> to the html where you want the main content of the page to appear.

There's a brief theme creation guide in our documentation. The Developer Guide has some additional info about true wysiwyg.

It could probably use some work though, so let me know if you have any questions.

10 years ago#3428

Gabriel
17 Posts
3.3K Downloads
1 Themes

I make the "template.php"

have a look:

http://pastebin.com/zqYfyrn8

Download my full directory here.

Hope it's ok, now i have to write the Addon.ini...

 

Edited: 10 years ago#3432

Gabriel
17 Posts
3.3K Downloads
1 Themes

So i have some problems with the content boxes (search, Simple blog etc.), because they are only displayed when the "content" ends.

So have a look:

Website | template.php | style.css

10 years ago#3433

syndicatefx
42 Posts
56.2K Downloads
6 Themes

Hey Gabriel,

This is happening because you're closing the <div id="page-content"> right after the content, not including the #sidebar div in it. The #page-content has a width of 960px, so the sidebar only appears after it obviously, and you also have a clearing div right after #content div, this is also breaking stuff too.

So heres what you can do:

In template.php delete line 36 and 37 (the clear:both div and the closing #page-content)

Now just add a closing </div> on line 58 right after the end of #sidebar.

You should now have both columns side by side.

10 years ago#3436

Gabriel
17 Posts
3.3K Downloads
1 Themes

Thank you very much...it works!

Now only one more problem: The content is really from border to border.. (look @ website...)I want to have 10px on each side of the content. (But not in the sidebar.)
I tried it with margin-left: and margin right, but this destroys the whole site :(

Again:

Website | template.php | style.css

 

 

 

10 years ago#3439

Josh S.
2K Posts
306K Downloads
16 Themes
18 Plugins

It looks good! One way to get the 10px space in the main content area would be to add padding to the #content css

Note the width value has to be reduced by 20px to maintain the overall sizing.

10 years ago#3441

Gabriel
17 Posts
3.3K Downloads
1 Themes

oh no i understand :)

Thank you very much again...

i think this is the last bug i found:
When i want to edit a page (via WYSIWYG)


   

(right click > Show picture...)

The content you want to edit, gets the background color, but should be white (see 3rd picture)

 

Edited: 10 years ago#3443

Josh S.
2K Posts
306K Downloads
16 Themes
18 Plugins

It depends on the values you have set for the $GP_STYLES variable.. do you have a settings.php file along with your template.php file? If you do and you have this in your settings.php file

$GP_STYLES = array();
$GP_STYLES[] = '#content';

Then you'd just need to add a background color to the css for #content.

#content {
   float: left;
   padding: 0 10px;
   width: 625px;
   background:#fff;
}

 

10 years ago#3445

Gabriel
17 Posts
3.3K Downloads
1 Themes

Yeah! thank you very much!

if someone want the whole theme with an added orange style (i think ist not perfect....)

you can find it here: Gentlebreeze for gpEasy.zip



Maybe i write an addon.ini and share this theme....

Edited: 10 years ago#3485

Josh S.
2K Posts
306K Downloads
16 Themes
18 Plugins

Looks great Gabriel!

10 years ago#3488

Gabriel
17 Posts
3.3K Downloads
1 Themes

Thank you very much, i've never thaught that it would be so good.
and that makes so much fun, so i'm going to make some more themes :P

 

10 years ago#3496


Gabriel
17 Posts
3.3K Downloads
1 Themes

Oh, didn't know that you made this theme already...

10 years ago#3499

Topic Closed

 

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Ennetb├╝rgen (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Websi...

Find out more about our Provider Spotlight

Log In

  Register