a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Hosting from $3.99 per month!

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions. dd

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

2 seeds using ContentSeed?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Microsoft FrontPage Help >> 2 seeds using ContentSeed?
Page: [1]
 
briandina

 

Posts: 18
Joined: 2/18/2003
Status: offline

 
2 seeds using ContentSeed? - 12/20/2006 6:07:58   
I'm using the program ContentSeed with FrontPage. It works just fine if I use 1 seed. But I get an error message where I placed the 2nd seed. Can you use more than one seed? on a page If so, how?

~Brian
briaatbriandina.com

< Message edited by Reflect -- 12/21/2006 8:25:53 >
ContentSeed

 

Posts: 55
Joined: 10/11/2004
Status: offline

 
RE: 2 seeds using ContentSeed? - 12/20/2006 19:26:00   
Hi Brian.
sure, it's possible. here's how it'd work:

Place the following code at the top of your page code:

<?php
$iCount = 0;
$path = "";
while( file_exists( $path . "generator/generator.php" ) != true and $iCount < 100 )
{
$path = "../" . $path;
$iCount++;
}
if( $iCount == 100 )
{
echo "Sorry, we can not locate core functions. Program terminated";
exit();
}
include( $path . "generator/generator.php" );

?>






Place this where you want your "main seed", that's the seed that figures out the name of the page it's on, and calls the javascript function for the control-y key press event:


<?php
echo displayContent( getPageName() );
?>



Wherever you want secondary, or additonal seeds just put the code below:

<?php
echo displayContentSub( "secondseed.htm" );
?>

(remember to change the secondseed.htm part to something different each time. if no block of content exists for the additonal seeds you'd have to log into the online editor and create them using the "new page" button)


_____________________________

ContentSeed is an excellent tool for web professionals and a tremendous convenience for their clients.
ContentSeed will change the way you do business.

(in reply to briandina)
Page:   [1]
OutFront Discoveries

All Forums >> Web Development >> Microsoft FrontPage Help >> 2 seeds using ContentSeed?
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts