Hello to all - From a new user of WonderCMS

Post Reply
costas10
Posts: 2
Joined: Mon Feb 21, 2011 8:42 pm

Hello to all - From a new user of WonderCMS

Post by costas10 »

Hello all, I am probably the older member here and I have the feeling I will be for some times. At 73 I am still active and have a number of websites that I ..... play, in the last few years - Highly recommended for seniors (keep it in mind as you grow older).

I discovered WonderCMS, 3 or 4 days ago and started a new site under http://greece-mylove.com/wcms/ There is not much there yet, I have been playing in my effort to figure things out. Slowly I am discovering little tricks and problems that I will start listing them here, in an effort to exchange experiences and have some fun at the same time.

Initially I had a problem with many of the html tags that I was not able to use. I discovered (from Robert, the developer of this unusual program) that by editing file editText.php in line 25, I could add all kinds of extra tags. So I ended up adding the following (showing the totals below):

Code: Select all

"<p><h1><h2><h3><a><img><u><i><em><strong><b><strike><code><ol><ul><li><div><align><center><middle><table><tbody><tr><td><font><color>"
If you visit my new site under http://greece-mylove.com/wcms/?page=Home you will find some random notes, some of them with ups and downs, showing the learning curve. All in all this program is an amazing little program and I can visualize many uses for it.

In page: "Sample ads" you can see a success story of what was a simple ad in one of my other sites and it is placed inside a table. Since I had difficulty with the tag code in my new site, I am placing the code for the table portion, here in the forum:

Code: Select all

<table align="center" border="1"><tbody><tr><td width="250px" align="center">Picture 1 link here</td>
<td width="300px">Text here.... Text here.... Text here.... Text here.... Text here.... Text here.... </td>
<td width="250px" align="center">Picture 2 link here</td></tr></tbody></table>
My main question at the moment is how to place a picture background in the header area, just under the Title and the slogan. I am sure it can be done somehow.

You will notice in my home page an animated gif with seven pictures, rotating every 30 secs approx. Ideally this picture, or something like it should be covering as a background the area assigned for the tittle and slogan and should repeat in all pages and upon clicking on it, one is to return to the home page. If the rotation is controlled with Java it will be possible to use independent pictures, even jpg that will change upon clicking on them or changing page. A mini version of what is used in Wordpress using the theme "atahualpa" which you can see in action in: http://www.greece-mylove.com/blog_for_all/

Maybe I am asking too much from a tiny CMS, but we are so close, at least I think.....
User avatar
wiz
Posts: 749
Joined: Sat Oct 30, 2010 12:23 am

Re: Hello to all - From a new user of WonderCMS

Post by wiz »

Hey there Costas, thanks for registering.

I'm really glad you're getting into WonderCMS on a daily basis, its the whole point I was going for when making it. (besides the ease of use and to make web site owners life easier).

I checked your website again, and the story, comparisons, cons and pros are simply AMAZING, thank you for taking time to write about it. You sir are the user every CMS owner would want. Thanks again for taking the time to test and write about it.

About the header image, I think its totally possible.

Go to your CSS file, and just add

Code: Select all

background: url("images/header-image.jpg");
to the .top class.

That should solve the problem.

Also, thanks for adding all the tags, I think you summed up pretty much all the important basic ones, I'll be glad to include every one of them in the new version which is coming up very soon.
User avatar
wiz
Posts: 749
Joined: Sat Oct 30, 2010 12:23 am

Re: Hello to all - From a new user of WonderCMS

Post by wiz »

Hey Costas,

I tested this out and it worked. All you need to do is:

Open up your CSS file and change

Code: Select all

.top {
	background-color: #EEE;
	width: auto;
	height: 17px;
}
to

Code: Select all

.top {
	background: url("http://example.com/wondercms/header.gif");
	background-color: #EEE;
	width: auto;
	height: 50px;
}
After that, open up default.php and change

Code: Select all

<div class="top"></div>

<?
   echo "
<h1>$title</h1>
<h2>$slogan</h2>";
?>
to

Code: Select all

<div class="top">

<?
   echo "
<h1>$title</h1>
<h2>$slogan</h2>";
?>
</div>
Tell me if you need any more help.
Post Reply