This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

Custom Menu and Template


avatar
mistix 0
From: -
Custom Menu and Template

Hi there,

I am very interested in using Esselbach and the CMS, I have installed the demo version on my site, however, before I stick it on the front page, I would like to get it running and customize it. This CMS is the 'PERFECT' solution for what I need to do.

 http://www.mistix.co.uk

Sorry to post a link, I am not trying to advertise!

Ok, the reason that I posted the link is so that you can see my current set up, I am using Word Press down the center, which is not doing to well... at all.

On the left you can see the layout for the menu, I would like to style my Esselbach CMS in this way, but I can only change the color from what I can see in the Guide..., in addition, the top part of each menu is made up of slices, as follows:

_____________________________________________
| | title | |
|___| ____________________________________ | __ |
| | | |
| | | |
| | Content | |
| | | |
| | | |
| | | |
| | | |
|___| ____________________________________ | __ |

Please mind the badly drawn image, but it makes it more clear I guess. Well, any way, you can see that the top region is made up of three images, the top left corner, middle section and the right corner.

Would it be possible to set up the menu's like this?

Here is an example of the menu which I am using at the moment.

<table width="153" border="0" cellpadding="0" cellspacing="0" bgcolor="#ACB7B1">
<tr>
<td width="10"><img src="../Images/TopRounded.gif" width="10" height="25" /></td>
<td width="160" valign="bottom" background="../Images/TopTiled.gif" class="Title"><strong>Hardware</strong></td>
<td width="10"><img src="../Images/TopTiled.gif" width="10" height="25" /></td>
</tr>
<tr>
<td width="10">&nbsp;</td>
<td width="160" class="Content"> <p><img src="../Images/LightGreen.jpg" width="5" height="14" /><a href="../Cellular/Cellular.php">Cellular</a><br>
</span><span class="style1"><img src="../Images/LightGreen.jpg" /><a href="../Laptop/Laptop.php">Laptop</a><br />
<img src="../Images/LightGreen.jpg" /><a href="../PC/PC.php">Computer Hardware</a></span></p> </td>
<td width="10">&nbsp;</td>
</tr>
<tr>
<td width="10"></td>
<td width="10"></td>
<td width="10"><img src="../Images/BottomRounded.gif" /></td>
</tr>
</table>

A bit of a long post, hope it helps!

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: Custom Menu and Template
avatar
OP 0
From: -
Custom Menu and Template

Thanks, sorted. Just white space...
1 Re: Custom Menu and Template
avatar
Administrator
1340
From: Vienna, Austria
Custom Menu and Template

Please verify that no breaks are in the DBQuery("..."); line
1 Re: Custom Menu and Template
avatar
Administrator
1340
From: Vienna, Austria
Custom Menu and Template

This will disable the email verification. Open register.php in an editor and find:

        $result = DBQuery("SELECT * FROM esselbach_st_userqueue WHERE userq_email = '$email' or userq_name = '$username'");

if (!mysql_num_rows($result))
{
DBQuery("INSERT INTO esselbach_st_userqueue VALUES ('$username', '$password', '$userrtime', '$birthy-$birthm-$birthd', '$email', '$regkey', '$ipaddr', '0')");
}
else
{
echo GetTemplate("register_error_alreadyq");
FooterBlock();
exit;
}

echo GetTemplate("register_done");

$result = DBQuery("SELECT * FROM esselbach_st_users WHERE user_id = '1'");
$admin = mysql_fetch_array($result);

$insert[site_name] = $configs[5];
$insert[user_name] = stripslashes($username);
$insert[admin_name] = stripslashes($admin[user_name]);
$insert[ipaddr] = $ipaddr;
$insert[email] = $email;
$insert[activate_url] = "$configs[6]/activate.php?id=$regkey";

$message = GetTemplate("mail_register_message");
$subject = GetTemplate("mail_register_title");
$headers = MailHeader("$admin[user_name]","$admin[user_email]","$username","$email");

mail($email, $subject, $message, $headers);

Then replace it with this:

                    DBQuery("INSERT INTO esselbach_st_users VALUES (NULL, '$username', '$password', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', now(), '0', '$birthy-$birthm-$birthd', '', '$email', '$email', '','','','','','','','','','','','0','','', '$ipaddr','$ipaddr','0','','127.0.0.1')");

echo GetTemplate("register_active");
1 Re: Custom Menu and Template
avatar
OP 0
From: -
Custom Menu and Template

It is a linux server.

Would it be possible to not have the members to sign up?

Or make the signing up process much shorter, just like a username and password, then re-type password? No one seems to be bothered to go through the sign up, or they have trouble filling it in?
1 Re: Custom Menu and Template
avatar
Administrator
1340
From: Vienna, Austria
Custom Menu and Template

Is this a Linux/Unix or Windows Server?
1 Re: Custom Menu and Template
avatar
OP 0
From: -
Custom Menu and Template

Hi, when people sign up to the forums they arent being sent the confirmation email, can I stop this confirmation email or is there anyway I can configure it?
1 Re: Custom Menu and Template
avatar
Administrator
1340
From: Vienna, Austria
Custom Menu and Template

No, this would need a larger modification.
1 Re: Custom Menu and Template
avatar
OP 0
From: -
Custom Menu and Template

Is it possible to make the news go directly to the forum?
1 Re: Custom Menu and Template
avatar
Administrator
1340
From: Vienna, Austria
Custom Menu and Template

Yes, edit the template review in the template editor and add after:

$insert[review_previous] $insert[review_next]

something like this:

<br /><br /><center><a href="https://www.contentteller.com/forums.php">Visit our message forum</a></center>
1 Re: Custom Menu and Template
avatar
OP 0
From: -
Custom Menu and Template

is it possible to add link to forum at bottom of review?

^_^
1 Re: Custom Menu and Template
avatar
Administrator
1340
From: Vienna, Austria
Custom Menu and Template

Originally posted by mistix:
I am using 1.7.2b.

tar.gz or zip?

Originally posted by mistix:
When I put my email in when it was all set up, I was wondering, will this be invisible to email harvesters?

Putting the email address where? Under Other/websites?

Originally posted by mistix:
Also, in the new version will there be next and back buttons for all the news on the front page?

No, there are only bugfixes in this release

Originally posted by mistix:
Oh yeah, how do I upgrade to 1.7C, there is no cupgrade2.php, or cupgrade.php?

You need to overwrite the files list here:
http://www.esselbach.com/thread.php?id=306
1 Re: Custom Menu and Template
avatar
OP 0
From: -
Custom Menu and Template

Oh yeah, how do I upgrade to 1.7C, there is no cupgrade2.php, or cupgrade.php?


Thanks.
1 Re: Custom Menu and Template
avatar
OP 0
From: -
Custom Menu and Template

I am using 1.7.2b.

When I put my email in when it was all set up, I was wondering, will this be invisible to email harvesters?

Also, in the new version will there be next and back buttons for all the news on the front page?
1 Re: Custom Menu and Template
avatar
Administrator
1340
From: Vienna, Austria
Custom Menu and Template

Which version are you using? 1.7.2b or the new 1.7.2c?
1 Re: Custom Menu and Template
avatar
OP 0
From: -
Custom Menu and Template

I keep getting errors like this:

Parse error: parse error, unexpected $ in /home/httpd/vhosts/mistix.co.uk/httpdocs/post.php on line 902

Why is this?
1 Re: Custom Menu and Template
avatar
Administrator
1340
From: Vienna, Austria
Custom Menu and Template

Not without modification. This is planned for version 2.0.
1 Re: Custom Menu and Template
avatar
OP 0
From: -
Custom Menu and Template

Is it possible to make it so that people don't need to sign up to vote on the polls?
1 Re: Custom Menu and Template
avatar
Administrator
1340
From: Vienna, Austria
Custom Menu and Template

No, but there is a submit form for news.
1 Re: Custom Menu and Template
avatar
OP 0
From: -
Custom Menu and Template

Oh yes, I nearly forgot to mention if there is any mailto: in Story Teller? I need to cut down on all the spam I am getting, any ideas if there is any? I am thinking of adding a section with the contact in an image.
1 Re: Custom Menu and Template
avatar
OP 0
From: -
Custom Menu and Template

Ok, I added the news blocks, looks pretty good. HTML example out put of what? The feed? I think if you view www.mistix.co.uk you can now see the news block, and then you can click on edit.
1 Re: Custom Menu and Template
avatar
Administrator
1340
From: Vienna, Austria
Custom Menu and Template

If you look at the top, you can see all the latest articles posted.

You can enabled this by doing the following:
cadmin => Other/Websites => NEWS BLOCKS (HEADER)

Enable Block Row #1 => Yes => 2 rows

Block #1 Title (Left) => News
Block #1 => News: All

Block #2 Title (Middle) => Articles
Block #2 => Reviews

Then click on OK to save the configuration

I would like to do this, but have a caption and a picture included. I can't find any really that have this, but, if you could tell me how to add this feature to the home page only, I can edit myself.

I need a HTML example output.
1 Re: Custom Menu and Template
avatar
OP 0
From: -
Custom Menu and Template

Ok, first I think I should focus on the first thing, this is the featured news and reviews.

I want to make it so that when I post a review, it will post it on the front page with all the latest reviews.

For example

 http://www.ntcompatible.com/

If you look at the top, you can see all the latest articles posted.

I would like to do this, but have a caption and a picture included. I can't find any really that have this, but, if you could tell me how to add this feature to the home page only, I can edit myself.
1 Re: Custom Menu and Template
avatar
Administrator
1340
From: Vienna, Austria
Custom Menu and Template

Add a seperate news feed for affiliates

You could add a news category for your affiliates

Review/Article featured on the front page

You could do this with the news blocks. This option is available under Other/Websites.

Make reviews and news automatically cut off after so many characters, or create new page to nearest last word

You might want to try out the “Quick Review” feature. This will allow you to post multiple review pages at once.
1 Re: Custom Menu and Template
avatar
OP 0
From: -
Custom Menu and Template

edit:

Add a right navigation: Done

Add a seperate news feed for affiliates

Review/Article featured on the front page

Make reviews and news automatically cut off after so many characters, or create new page to nearest last word
1 Re: Custom Menu and Template
avatar
OP 0
From: -
Custom Menu and Template

yes, I just came back to edit that post.

I want to now....

Add a right navigation

Add a seperate news feed for affiliates

Review/Article featured on the front page
1 Re: Custom Menu and Template
avatar
Administrator
1340
From: Vienna, Austria
Custom Menu and Template

Originally posted by mistix:
I think that porting the design is useless, it is making more problems than it is all ready.

The new layout (in post #1402) is already 99% complete.

Originally posted by mistix:
However, why does the actual content go to the bottom here?

Look like your already fixed it.
1 Re: Custom Menu and Template
avatar
OP 0
From: -
Custom Menu and Template

I think that porting the design is useless, it is making more problems than it is all ready. I have decided to completely remove it and start a new, simpler design.

However, why does the actual content go to the bottom here?

 http://mistix.webpal.info/
1 Re: Custom Menu and Template
avatar
Administrator
1340
From: Vienna, Austria
Custom Menu and Template

Here another design attempt. This one is a combination of the old layout with the new Storyteller templates.

1.) Download  http://www.esselbach.com/scripts/mistix/mistix.thm.php.txt and rename it to mistix.thm.php

2.) Upload the file to the /templates/original/themes directory

3.) Open cadmin and select Templates => Instant Styles => MistIX Theme = Apply

4.) Now redownload the following two templates (I just updated both):

 http://www.esselbach.com/scripts/mistix/site_header.tmp.php.txt
 http://www.esselbach.com/scripts/mistix/site_footer.tmp.php.txt

Then rename both and reupload the files in ascii to your /templates directory.
1 Re: Custom Menu and Template
avatar
OP 0
From: -
Custom Menu and Template

I am definately going to get the proper version after I get this sorted, hell. I think I should just totally ditch the design I have now, and build a new one from the CMS.
1 Re: Custom Menu and Template
avatar
0
From: -
Custom Menu and Template

I think mistix should plonk some money down for the registered version for all this web design advice Winking Face
1 Re: Custom Menu and Template
avatar
Administrator
1340
From: Vienna, Austria
Custom Menu and Template

The left column is now wider because you removed the right column. Please explain step by step what you like to do.

Do you want to keep the original layout or trying to create a completely new layout (with only a left column)?
1 Re: Custom Menu and Template
avatar
OP 0
From: -
Custom Menu and Template

Yeah, ok, its not the text, if you look at the menu on the site, it is stretched, I think this is because story_title is aligned top right or something?

Is site_title editable?

Could I re align it and then take off the bold maybe some how?
1 Re: Custom Menu and Template
avatar
Administrator
1340
From: Vienna, Austria
Custom Menu and Template

You need to replace/remove:

<h5>$insert[story_title]</h5>

For example: If you like to use an arial font with size 2, you need to change that line to:

<font face="arial" size="2">$insert[story_title]</font>

I suggest that you copy the HTML part of the template to your favorite HTML WYSIWYG editor (such as Frontpage, Dreamweaver, Nvu) and edit the code there. Once it is finished, you copy the code back to the HTML part of the template.
1 Re: Custom Menu and Template
avatar
OP 0
From: -
Custom Menu and Template

Yeah, but because the writting is too big, it makes the image wider

I need to edit the font and alignment of story_title
1 Re: Custom Menu and Template
avatar
Administrator
1340
From: Vienna, Austria
Custom Menu and Template

In the template news:

<td width="420" valign="bottom" background="../Images/TopTiled.gif"><h5>$insert[story_title]</h5></td>
1 Re: Custom Menu and Template
avatar
OP 0
From: -
Custom Menu and Template

Ok, now I have a problem.

Where can I change the font settings and stuff of story_title, I think now the problem with the images is that story_title is aligning to the top and using bold, because the image is tiled, it doesn't resize, just makes a roll of the top middle image.

Where can I edit story_title?
1 Re: Custom Menu and Template
avatar
OP 0
From: -
Custom Menu and Template

Can you show me an example?
1 Re: Custom Menu and Template
avatar
Administrator
1340
From: Vienna, Austria
Custom Menu and Template

No, each module (News, FAQ, Forums etc.) have their own templates. For example: The HTML output for the news items are stored in the template 'news'.
Show more

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.