This topic is locked

Super Bottom Includes

5/2/2005 3:21:18 AM
PHPRunner General questions
author

What is a superbottom.php include? Sounds interesting <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=1386&image=1&table=forumtopics' class='bbc_emoticon' alt=':P' />
<?php

if(file_exists("include/superbottom.php"))

include("include/superbottom.php");

?>

pplaut 5/3/2005

I had the same question <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=4233&image=1&table=forumreplies' class='bbc_emoticon' alt=';)' />

Sergey Kornilov admin 5/5/2005

Hi,
superbottom.php and supertop.php files are used to display header and footer on all generated PHP pages. You can put your custom html code to these files.
You can put superbottom.php and supertop.php files to includefolder in output directory.
If you like these header and footer will be added to all generated php projects automatically you need to put these files to C:\Program Files\PHPRunner\source\includedirectory.

501198 5/5/2005

Thanks I'd got around to figuring out the header and footer bit by now but the extra information is VERY useful <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=4278&image=1&table=forumreplies' class='bbc_emoticon' alt=':D' />

pplaut 5/9/2005

Ok,

I am confused... you need to generate the application with the files there?

I have already generated the application and made some manual changes.

How can I add these files manually. I added the files to a directory and they did not show up.
Thanks

Peer

roy 5/9/2005

I don't find either of these files (supertop.php & superbottom.php) anywhere on my computer. Were they supposed to come with the program download? From what I'm reading here, I may have use for them.
Thanks,

Roy

K
kaelin 5/10/2005

I have the same question - perhaps it is only something included with the registered version? I"m still testing things out

Sergey Kornilov admin 5/11/2005

Peer,
make sure you put these files into include folder.

You don't need to rebuild your pages, just put supertop.php and superbottom.php into include folder in output directory.
These files are to be created by PHPRunner user. You can put there an HTML code for custom header and footer if you need them. The header and footer will be displayed on each page.

K
kaelin 5/11/2005

Hi again
I am not seeing these files. Are they only available on registered not trial?
Thanks for answering.
Lorri Nevil

P
Pedro 5/11/2005

No - you just construct them with whatever content you want then save them in the include directory with the correct names.
For example if you wanted to enclose all output in a centered table 600 pixels wide and 2 pixel border you would set up the following two files with the following contents.
supertop.php

---------------

<table width="600" border="2" align="center" cellpadding="5" cellspacing="0">

<tr>

<td>
superbottom.php

-------------------

&nbsp;</td>

</tr>

</table>
That's it - after that it's a case of use your imagination. Dead simple - when you discoverv the knack of how it's used. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=4376&image=1&table=forumreplies' class='bbc_emoticon' alt=';)' /> which is why I was squawking on earlier that this (excellent) software needs a good manual.

Sergey Kornilov admin 5/12/2005

Pedro,
thanks for exlaining this!
Basically you simply create a brand new text file, put any HTML or PHP code there and save it as supertop.php in include folder. Repeat the same for superbottom.php if you need some custom footer on each PHP page.

K
kaelin 5/12/2005

Oh KEWL! -- Great - Got it

http://www.baaa.org/Alumni/login.php
<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=4400&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />
This is really starting to feel good <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=4400&image=2&table=forumreplies' class='bbc_emoticon' alt=':)' />
Lorri Nevil

K
Knud van Eeden 5/16/2005

PHPRunner: Internet: Page: Common: How create common footer and header page in PHPRunner? [super]

http://www.faqts.com/knowledge_base/view.p.../36229/fid/1805

pplaut 5/18/2005

Hey Lorri,

I looked at your App. You know you can Change how the field is display. Modify the lable to be anything you want.
You can check out my Addressbook Project on www.mytsg.net
A demo of the new clubmouse will be available shortly on:

www.clubmouse.biz
Peer

pplaut 5/18/2005

Hey Lorri,

I don't remember noticing this or not, but...............

I created two "privacy" fields.
The first one viewable_online

The secon printable
Reason, some people may not want to be viewed online but printed, in case you wanted to print a membership directory.
The second allows for you to either uncheck or check whether a person wishes to be printed or not.
In theory...........
A person could be viewed on line but not printed, vice versa, you get the picture...

You know with all the privacy stuff out there.
This way an admin, could view all to keep up with everybody. Dead or Alive <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=4459&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />
Peer

K
kaelin 5/18/2005

Thanks - Yes - I knew they could be changed - that's cosmetic <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=4462&image=1&table=forumreplies' class='bbc_emoticon' alt=';)' /> - I'm more worried about things like the privacy stuff -- so I appreciate that - I'm out of here til later tonight - so I'll come back and look then - I've still got to come up with the money for the registered - thinking that if I leave it there some alumni will say - hey I can donate for that. I've done this on a volunteer basis for 6+ years as have a lot of other people - need some good tools <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=4462&image=2&table=forumreplies' class='bbc_emoticon' alt=';)' />