new comments - page numbers & next/previous location
herrhitman 0
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: new comments - page numbers & next/previous location
herrhitman
OP
0
From: -
From: -
new comments - page numbers & next/previous location
Originally posted by Philipp:
Hmm... strange, I guess my display (an Apple 20" Cinema display) doesn't go wide enough. I will update the image to be wider. Thanks for noticing this.
Ah, that might be useful. I will have to ask the owners of the site if they would like the title to reflect the story title though.
Thanks again.
Originally posted by Philipp:
I am using Safari 2.0 on Macintosh but this is not the problem. This issue appears only in higher resolutions.
I figured out in the meantime that the problem is green_rounded.gif. You need to resize this image from 1500 x 100 to 1920 x 100 or 2560 x 100
Hmm... strange, I guess my display (an Apple 20" Cinema display) doesn't go wide enough. I will update the image to be wider. Thanks for noticing this.
For example, on this page - http://www.2cpu.com/story.php?id=3859 - it would display "34 PSUs Reviewed at Hexus.net" in the title bar instead of "2CPU.com - The one stop source for everything SMP!" along with generated keywords from this news story. This makes the pages much more search engine friendly.
Ah, that might be useful. I will have to ask the owners of the site if they would like the title to reflect the story title though.
Thanks again.
1 Re: new comments - page numbers & next/previous location
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
new comments - page numbers & next/previous location
I am using Safari 2.0 on Macintosh but this is not the problem. This issue appears only in higher resolutions.
I figured out in the meantime that the problem is green_rounded.gif. You need to resize this image from 1500 x 100 to 1920 x 100 or 2560 x 100
For example, on this page - http://www.2cpu.com/story.php?id=3859 - it would display "34 PSUs Reviewed at Hexus.net" in the title bar instead of "2CPU.com - The one stop source for everything SMP!" along with generated keywords from this news story. This makes the pages much more search engine friendly.
You can set the default page title/keywords at Other/Websites => Edit => WEBSITE HEADER
I hadn't noticed any problem like that beforee could you tell me what browser you are using?
I am using Safari 2.0 on Macintosh but this is not the problem. This issue appears only in higher resolutions.
I figured out in the meantime that the problem is green_rounded.gif. You need to resize this image from 1500 x 100 to 1920 x 100 or 2560 x 100
What will those do exactly?
For example, on this page - http://www.2cpu.com/story.php?id=3859 - it would display "34 PSUs Reviewed at Hexus.net" in the title bar instead of "2CPU.com - The one stop source for everything SMP!" along with generated keywords from this news story. This makes the pages much more search engine friendly.
You can set the default page title/keywords at Other/Websites => Edit => WEBSITE HEADER
1 Re: new comments - page numbers & next/previous location
herrhitman
OP
0
From: -
From: -
new comments - page numbers & next/previous location
Thank you Philipp, as usual it worked great.
Originally posted by Philipp:
I hadn't noticed any problem like that beforee could you tell me what browser you are using?
What will those do exactly?
I thought this wasn't required on the paid version, If I was mistaken, I'm sorry and I will add it right away.
Edit: I just read your products page and saw that removing the powered by notice costs additional money, so I was mistaken. Sorry! I will add it back in now.
Thank you Philipp, as usual it worked great.
Originally posted by Philipp:
Other notes:
1) There is currently a glitch on your story.php pages on higher resolutions such as 1920 x 1200. See this screenshot: http://www.esselbach.com/temp/2cpu.jpg
I hadn't noticed any problem like that beforee could you tell me what browser you are using?
2) You might want to use:
<title>$insert[page_title]</title>
and
<meta name="KEYWORDS" content="$insert[page_keywords]" />
after Storyteller is using both for title and keywords.
What will those do exactly?
3) The "Powered by" notice is missing.)
I thought this wasn't required on the paid version, If I was mistaken, I'm sorry and I will add it right away.
Edit: I just read your products page and saw that removing the powered by notice costs additional money, so I was mistaken. Sorry! I will add it back in now.
1 Re: new comments - page numbers & next/previous location
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
new comments - page numbers & next/previous location
A few modifications are necessary
1) Open story.php in your text editor and find:
Add after this line the following:
Find:
and add after:
Next, open the template comments_nav and add $insert[comment_page] somewehere in the HTML part.
Other notes:
1) There is currently a glitch on your story.php pages on higher resolutions such as 1920 x 1200. See this screenshot: http://www.esselbach.com/temp/2cpu.jpg
2) You might want to use:
and
after Storyteller is using both for title and keywords.
3) The "Powered by" notice is missing. Please re-add this. Feel free to customize the notice to fit your layout. Two examples: http://www.techspot.com (short text notice at buttom), http://www.3dchips.net (graphical button on the right side)
A few modifications are necessary
1) Open story.php in your text editor and find:
$cstart = $page * 25-25;
Add after this line the following:
if ($page > 1)
{
$apage = $page;
$apage = $apage - 1;
$insert[comment_url] = "story.php?id=$id&page=$apage";
$insert[comment_prevpage] .= GetTemplate("comments_previous_page");
}
//Comment pages
$allpages = $entries / 25;
$allpages++;
for ($x = 1; $x <= $allpages; $x++) $insert[comment_pages] .= "<a href="https://www.contentteller.com/story.php?id=$id&page=$x">$x</a> ";
$ustart = $page * 25;
if ($ustart < $entries)
{
$bpage = $page;
$bpage++;
$insert[comment_url] = "story.php?id=$id&page=$bpage";
$insert[comment_nextpage] .= GetTemplate("comments_next_page");
}
if (($insert[comment_nextpage]) or ($insert[comment_prevpage]))
{
$thispage .= GetTemplate("comments_nav");
}
Find:
if ($cstart > 25)
{
$apage = $page;
$apage = $apage - 1;
$insert[comment_url] = "story.php?id=$id&page=$apage";
$insert[comment_prevpage] .= GetTemplate("comments_previous_page");
}
and add after:
//Comment pages
$allpages = $entries / 25;
$allpages++;
for ($x = 1; $x <= $allpages; $x++) $insert[comment_pages] .= "<a href="https://www.contentteller.com/story.php?id=$id&page=$x">$x</a> ";
Next, open the template comments_nav and add $insert[comment_page] somewehere in the HTML part.
Other notes:
1) There is currently a glitch on your story.php pages on higher resolutions such as 1920 x 1200. See this screenshot: http://www.esselbach.com/temp/2cpu.jpg
2) You might want to use:
<title>$insert[page_title]</title>
and
<meta name="KEYWORDS" content="$insert[page_keywords]" />
after Storyteller is using both for title and keywords.
3) The "Powered by" notice is missing. Please re-add this. Feel free to customize the notice to fit your layout. Two examples: http://www.techspot.com (short text notice at buttom), http://www.3dchips.net (graphical button on the right side)
We finallly went live with the storyteller system on the website I was developing and now have noticed something. With the news comments is there anyway to get the page numbers in there, besides just a next and previous button? If not is there a way to make a first and last link? And lastly is there a way to put these links on the top of the comments in addition to on the bottom?
Thanks.