|
| |
|
|
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.
|
|
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
|
|
|