Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Template design and Front-End Code

Post Reply
 
Thread Tools
  #11  
Old 05-26-2007, 11:24 PM
ScarySquirrel Offline
forum loafer
 
Join Date: May 2007
Posts: 12
Never mind I have settled for a smaller logo.
Reply With Quote
  #12  
Old 05-27-2007, 10:41 AM
ScarySquirrel Offline
forum loafer
 
Join Date: May 2007
Posts: 12
I have another problem now.

My blog is here - www.scarysquirrel.co.uk

When you hover over the image it doesn't display that hovering box properly?
Have I done something wrong? I haven't changed anything on the image_template
Reply With Quote
  #13  
Old 05-27-2007, 01:20 PM
crissy Offline
forum loafer
 
Join Date: May 2005
Location: columbus, ohio, usa
Posts: 14
I am working on implementing the suffocate template at my site, http://crissykight.com.

I have noticed that everyone who uses this template and registers with photoblogs.org has the word "photoblog" attached to the end of their site's title. Where in the template is that word and how can I get it out? I want my site to show up as "Crissy Kight Photography" not "Crissy Kight Photography photoblog"

I can't seem to find it anywhere but when it lists on photoblogs.org. Check out j. grayson's listing on the site and others too, all have that word affixed.

If anyone can figure it out I'd be really appreciative.
Reply With Quote
  #14  
Old 05-27-2007, 06:18 PM
jgrayson Offline
pixelpost guru
 
Join Date: Jun 2006
Posts: 125
Quote:
Originally Posted by crissy View Post
I am working on implementing the suffocate template at my site, http://crissykight.com.

I have noticed that everyone who uses this template and registers with photoblogs.org has the word "photoblog" attached to the end of their site's title. Where in the template is that word and how can I get it out? I want my site to show up as "Crissy Kight Photography" not "Crissy Kight Photography photoblog"

I can't seem to find it anywhere but when it lists on photoblogs.org. Check out j. grayson's listing on the site and others too, all have that word affixed.

If anyone can figure it out I'd be really appreciative.
crissy, it wasn't doing it when i was using v1.5 but i just noticed it is doing it for my site as well. i believe photoblogs.org gets the info from the rss so it's possible that the word "photoblog" is being added to the title from the rss but it's something i'll look into
Reply With Quote
  #15  
Old 05-27-2007, 06:20 PM
jgrayson Offline
pixelpost guru
 
Join Date: Jun 2006
Posts: 125
Quote:
Originally Posted by ScarySquirrel View Post
I have another problem now.

My blog is here - www.scarysquirrel.co.uk

When you hover over the image it doesn't display that hovering box properly?
Have I done something wrong? I haven't changed anything on the image_template
did you edit the image_template.html file at all? can you post the code from that file?
Reply With Quote
  #16  
Old 05-27-2007, 06:25 PM
jgrayson Offline
pixelpost guru
 
Join Date: Jun 2006
Posts: 125
Quote:
Originally Posted by ScarySquirrel View Post
Great template dude, Ijust have one question.

I want a logo that is 400px wide, I have uploaded the file and changed the image_template to 400px, but when it is uploaded it covers up the 'Galleries' and 'About' button.

Is there any way to fix this?
Thanks
you have to change the width in the CSS

since you are making the logo 12-px longer then you have to make the top menu 120px shorter.

in the css try changing this:
Code:
#top-menu { font-size: 9px; background-color: white; text-align: center; letter-spacing: -0.5px; width: 419px; height: 16px; float: right; margin: 0; padding: 13px 0; }
to this:
Code:
#top-menu { font-size: 9px; background-color: white; text-align: center; letter-spacing: -0.5px; width: 299px; height: 16px; float: right; margin: 0; padding: 13px 0; }
Reply With Quote
  #17  
Old 05-27-2007, 07:47 PM
crissy Offline
forum loafer
 
Join Date: May 2005
Location: columbus, ohio, usa
Posts: 14
Thumbs up Found the fix for "photoblog"

Quote:
Originally Posted by jgrayson View Post
crissy, it wasn't doing it when i was using v1.5 but i just noticed it is doing it for my site as well. i believe photoblogs.org gets the info from the rss so it's possible that the word "photoblog" is being added to the title from the rss but it's something i'll look into
Hey, I found the fix... you need to go to the INCLUDES folder and edit FUNCTIONS FEEDS.PHP. If you do a find and look for the word "photoblog" you'll see that it's listed after site title for some reason. Just remove that.

The template is awesome btw.. I'm working on customizing it slightly right now, don't worry, your credit for the template will be in place when I am finished.

thanks again.
Reply With Quote
  #18  
Old 05-28-2007, 05:02 AM
ScarySquirrel Offline
forum loafer
 
Join Date: May 2007
Posts: 12
Quote:
Originally Posted by jgrayson View Post
you have to change the width in the CSS

since you are making the logo 12-px longer then you have to make the top menu 120px shorter.

in the css try changing this:
Code:
#top-menu { font-size: 9px; background-color: white; text-align: center; letter-spacing: -0.5px; width: 419px; height: 16px; float: right; margin: 0; padding: 13px 0; }
to this:
Code:
#top-menu { font-size: 9px; background-color: white; text-align: center; letter-spacing: -0.5px; width: 299px; height: 16px; float: right; margin: 0; padding: 13px 0; }

Thank you for that.

As for the other problem, here is my image_template:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title><SITE_TITLE> :: <IMAGE_TITLE></title>
<!-- Link for ATOM feed autodiscovery -->
<ATOM_AUTODETECT_LINK>
<!-- Link for RSS feed autodiscovery -->
<RSS_AUTODETECT_LINK>
<!-- META -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="content-type" name="keywords" content="PhotoBlog,<SITE_TITLE>,<IMAGE_TITLE>,Pixelpost" />
<meta http-equiv="content-type" name="description" content="<SITE_TITLE>-PhotoBlog: <IMAGE_TITLE>, <IMAGE_NOTES_CLEAN>" />
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="templates/suffocate/styles/suffocate.css" />
<!-- SCRIPTS -->
<!-- BoxOver script is from http://boxover.swazz.org/ -->
<script type="text/javascript" src="templates/suffocate/scripts/boxover.js"></script>
<!-- ImageFader script is by Richard Rutter http://clagnut.com/sandbox/imagefades/ -->
<script type="text/javascript" src="templates/suffocate/scripts/imagefader.js"></script>
<script language="javascript" type="text/javascript">
<!--
	function clearBox(box) {
		 if(box.value==box.defaultValue) {
	 	 	 box.value = "";
	 	 }
	 }
-->
</script>

</head>

<body>
<div id="navigation">
<div id="headerlogo">
<a href="index.php" title="Return to Homepage"><img src="templates/suffocate/images/header-logo.gif" alt="" width="200" height="42" border="0" /></a>
</div>
<div id="top-menu">
<ul>
<li><a href="<SITE_BROWSELINK>" title="Browse">GALLERIES</a></li>
<li id="end"><a href="index.php?x=about" title="About">ABOUT</a></li>
</ul>
</div>
</div>
<div id="mainphoto">
<a href="index.php?showimage=<IMAGE_PREVIOUS_ID>">
<img src="images/<IMAGE_NAME>" alt="<IMAGE_TITLE>" title="header=[<IMAGE_TITLE>] body=[click to view previous photo] fade=[on]" width="<IMAGE_WIDTH>" height="<IMAGE_HEIGHT>" border="0" id="photofader"/>
</a>
</div>

<div id="image-navigate">
<div id="image-previous">
<ul>
<li><IMAGE_PREVIOUS_LINK></li>
</ul>
</div>
<div id="image-next">
<ul>
<li><IMAGE_NEXT_LINK></li>
</ul>
</div>
</div>

<div id="image-info">
<span class="categories"><IMAGE_CATEGORY></span>
<span class="phototitle"><IMAGE_TITLE></span> - <IMAGE_DATETIME>
<p><IMAGE_NOTES></p>
</div>

<div id="thumbrow">
<IMAGE_THUMBNAIL_ROW>
</div>

<div id="commentsbox">
	<div id="commentsbg">
		<div id="commentsarea">
			<div class='comments-none'><IMAGE_COMMENTS></div>
		</div>

		<div id="addcomment">
			<form method='post' action='index.php?x=save_comment' name='commentform' accept-charset='UTF-8'>
			<textarea name='message' rows='2' cols='40' onfocus="clearBox(this);">Type your comment here.</textarea>
			<label for="name">Name</label><br />
			<input type='text' name='name' class='input' value='<VINFO_NAME>' id="name"/><br />
			<label for="url">Website URL, if any</label><br />
			<input type='text' name='url' class='input' value='<VINFO_URL>' id="url"/><br />
			<label for="email">Email (not visible to others)</label><br />
			<input class='input' type='text' name='email' value='<VINFO_EMAIL>' id="email"/><br />
			<input name='vcookie' type='checkbox' id="saveinfo" value='set' checked="checked" />
			<label for="saveinfo">Save User Info</label><br />
			<input type='image' src='templates/suffocate/images/add_button.gif' value='Add' class='comment-button'/>
			<input type='hidden' name='parent_id' value='<IMAGE_ID>' />
			<input type='hidden' name='parent_name' value='<IMAGE_NAME>' />
			<TOKEN>
			</form>
		</div>
	</div>
</div>

<div id="footer">
copyright &copy; 2007, all rights reserved&nbsp;|&nbsp;<strong><a href="admin/">admin</a></strong>&nbsp;|&nbsp;template created by <a href="http://suffocate.us">john grayson</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://validator.w3.org/check/referer" title="This website uses Valid xHTML"><img src="templates/suffocate/images/w3c_xhtml.gif" alt="" width="80" height="15" align="middle" border="0" /></a>&nbsp;&nbsp;<a href="http://jigsaw.w3.org/css-validator/check/referer" title="This website uses Valid CSS2"><img src="templates/suffocate/images/w3c_css.gif" alt="" width="80" height="15" align="middle" border="0" /></a>&nbsp;&nbsp;<a href="index.php?x=rss" title="RSS"><img src="templates/suffocate/images/rss_icon.gif" alt="" width="46" height="15" align="middle" border="0" /></a>&nbsp;&nbsp;<a href="http://www.pixelpost.org/" title="pixelpost.org" target="_blank"><img src="templates/suffocate/images/pixelpost.gif" alt="" width="80" height="15" align="middle" border="0" /></a>
</div>


</body>
</html>
The errors I get when loading the page also are on line 2, character 870 and lne 357, character 164 apparently. If that helps at all?

Thanks
Reply With Quote
  #19  
Old 05-28-2007, 08:41 AM
adejeffchen Offline
forum loafer
 
Join Date: May 2007
Posts: 1
thank you very much for the template
I use it for my photo blog
http://adejeffchen.com/photo/index.php
Reply With Quote
  #20  
Old 05-28-2007, 03:48 PM
ScarySquirrel Offline
forum loafer
 
Join Date: May 2007
Posts: 12
Anyone else know why the boxover on my site isn't working? Code of image_template is:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title><SITE_TITLE> :: <IMAGE_TITLE></title>
<!-- Link for ATOM feed autodiscovery -->
<ATOM_AUTODETECT_LINK>
<!-- Link for RSS feed autodiscovery -->
<RSS_AUTODETECT_LINK>
<!-- META -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="content-type" name="keywords" content="PhotoBlog,<SITE_TITLE>,<IMAGE_TITLE>,Pixelpost" />
<meta http-equiv="content-type" name="description" content="<SITE_TITLE>-PhotoBlog: <IMAGE_TITLE>, <IMAGE_NOTES_CLEAN>" />
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="templates/suffocate/styles/suffocate.css" />
<!-- SCRIPTS -->
<!-- BoxOver script is from http://boxover.swazz.org/ -->
<script type="text/javascript" src="templates/suffocate/scripts/boxover.js"></script>
<!-- ImageFader script is by Richard Rutter http://clagnut.com/sandbox/imagefades/ -->
<script type="text/javascript" src="templates/suffocate/scripts/imagefader.js"></script>
<script language="javascript" type="text/javascript">
<!--
	function clearBox(box) {
		 if(box.value==box.defaultValue) {
	 	 	 box.value = "";
	 	 }
	 }
-->
</script>

</head>

<body>
<script src="templates/scripts/boxover.js" type="text/javascript"></script>
<div id="navigation">
<div id="headerlogo">
<a href="index.php" title="Return to Homepage"><img src="templates/suffocate/images/header-logo.gif" alt="" width="200" height="42" border="0" /></a>
</div>
<div id="top-menu">
<ul>
<li><a href="<SITE_BROWSELINK>" title="Browse">GALLERIES</a></li>
<li id="end"><a href="index.php?x=about" title="About">ABOUT</a></li>
</ul>
</div>
</div>
<div id="mainphoto">
<a href="index.php?showimage=<IMAGE_PREVIOUS_ID>">
<script src="templates/scripts/fader.js" type="text/javascript"></script><a href="index.php?showimage=<IMAGE_PREVIOUS_ID>"> 
<img src="images/<IMAGE_NAME>" alt="<IMAGE_TITLE>" title="header=[<IMAGE_TITLE>] body=[click to view previous photo] fade=[on]" width="<IMAGE_WIDTH>" height="<IMAGE_HEIGHT>" border="0" id="photofader"/>
</a>
</div>

<div id="image-navigate">
<div id="image-previous">
<ul>
<li><IMAGE_PREVIOUS_LINK></li>
</ul>
</div>
<div id="image-next">
<ul>
<li><IMAGE_NEXT_LINK></li>
</ul>
</div>
</div>

<div id="image-info">
<span class="categories"><IMAGE_CATEGORY></span>
<span class="phototitle"><IMAGE_TITLE></span> <IMAGE_DATETIME>
<p>
<CUSTOM_FIELDS><EXIF_CAMERA_MODEL> | ISO <EXIF_ISO> | <EXIF_APERTURE> | <EXIF_EXPOSURE_TIME> | <EXIF_FOCAL_LENGTH>
<IMAGE_NOTES>

</p>
</div>

<div id="thumbrow">
<IMAGE_THUMBNAIL_ROW>
</div>

<div id="commentsbox">
	<div id="commentsbg">
		<div id="commentsarea">
			<div class='comments-none'><IMAGE_COMMENTS></div>
		</div>

		<div id="addcomment">
			<form method='post' action='index.php?x=save_comment' name='commentform' accept-charset='UTF-8'>
			<textarea name='message' rows='2' cols='40' onfocus="clearBox(this);">Type your comment here.</textarea>
			<label for="name">Name</label><br />
			<input type='text' name='name' class='input' value='<VINFO_NAME>' id="name"/><br />
			<label for="url">Website URL, if any</label><br />
			<input type='text' name='url' class='input' value='<VINFO_URL>' id="url"/><br />
			<label for="email">Email (not visible to others)</label><br />
			<input class='input' type='text' name='email' value='<VINFO_EMAIL>' id="email"/><br />
			<input name='vcookie' type='checkbox' id="saveinfo" value='set' checked="checked" />
			<label for="saveinfo">Save User Info</label><br />
			<input type='image' src='templates/suffocate/images/add_button.gif' value='Add' class='comment-button'/>
			<input type='hidden' name='parent_id' value='<IMAGE_ID>' />
			<input type='hidden' name='parent_name' value='<IMAGE_NAME>' />
			<TOKEN>
			</form>
		</div>
	</div>
</div>

<div id="footer">
copyright &copy; 2007, all rights reserved&nbsp;|&nbsp;<strong><a href="admin/">admin</a></strong>&nbsp;|&nbsp;template created by <a href="http://suffocate.us">john grayson</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://validator.w3.org/check/referer" title="This website uses Valid xHTML"><img src="templates/suffocate/images/w3c_xhtml.gif" alt="" width="80" height="15" align="middle" border="0" /></a>&nbsp;&nbsp;<a href="http://jigsaw.w3.org/css-validator/check/referer" title="This website uses Valid CSS2"><img src="templates/suffocate/images/w3c_css.gif" alt="" width="80" height="15" align="middle" border="0" /></a>&nbsp;&nbsp;<a href="index.php?x=rss" title="RSS"><img src="templates/suffocate/images/rss_icon.gif" alt="" width="46" height="15" align="middle" border="0" /></a>&nbsp;&nbsp;<a href="http://www.pixelpost.org/" title="pixelpost.org" target="_blank"><img src="templates/suffocate/images/pixelpost.gif" alt="" width="80" height="15" align="middle" border="0" /></a>
</div>


</body>
</html>
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 08:17 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs