Just a text box in my page format...my kingdom for a horse..

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Just a text box in my page format...my kingdom for a horse..
drewfy
CZ Super Newbie
drewfy has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Mar 03, 2004
0.01 posts per day
Posts: 39
Points: 2,407
   
It seems simple but I can't do it.
I have created a page similar to a "content.php" page. The thing is I don't want it to be in the content format. I just want to type in a text (an "about us" text) that will not change and cannot be edited or any of the other "content.php" options.
I am using a template theme (sunset) so I have not created this from scratch but I would like to specialize beyond the modules and blocks it pre-offers.

Here's what I would like
A column of blocks on each side (i.e my text box will be an $index=1)
the text box in the center will simply be a few paragraphs of text and one or two pictures.
Its an "about us" page that is only meant to be read and not interacted with.
Do I edit the index.php in that directory? I copied the index.php from the "content" directory.
Is it something else?

Ok ya'll have a headache from reading all this so if you need to know more I'm willing to elaborate.



Back to top Reply with quote
#2   re: Just a text box in my page format...my kingdom for a hor
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
<?php

if (!eregi("modules.php", $_SERVER['PHP_SELF'])) {
    die ("You can't access this file directly...");
}

$module_name = basename(dirname(__FILE__));

$index = 1;


global $module_name;
include("header.php");
OpenTable();
    echo "There is where you put your html or text.<br>If you use \"Qoutation marks\" remember to put a backslash before them.<br><br><center>";
   echo "This would be the textbox<br><br><form><textarea rows=8 cols=10 readonly>Your Text here Your Text here Your Text here Your Text here Your Text here Your Text here Your Text here Your Text here</textarea></form></center>";
CloseTable();
include("footer.php");

   

?>


Thats what your after You should look into the Sample_Addon that in your modules folder for more instructions.



_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   re: Just a text box in my page format...my kingdom for a hor
drewfy
CZ Super Newbie
drewfy has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Mar 03, 2004
0.01 posts per day
Posts: 39
Points: 2,407
   
That was Buuuetiful (to quote Mel and Danny from Lethal Weapon)
Can you tag a textarea to change background colors and text colors?



Back to top Reply with quote
#4   re: Just a text box in my page format...my kingdom for a hor
drewfy
CZ Super Newbie
drewfy has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Mar 03, 2004
0.01 posts per day
Posts: 39
Points: 2,407
   
I spoke to soon...or more to the point got what I asked for.

I can't seem to post any images or links inside my text box.
(not my textarea mind you I removed that). Now I just have a table with text in it and I can't place any pictures or link my email in the box.

As usual I must ask,
Any Help?



Back to top Reply with quote
#5   re: Just a text box in my page format...my kingdom for a hor
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Your talking about a table i think. You would need to show me the code you have so far so I can show what to fix.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#6   re: Just a text box in my page format...my kingdom for a hor
drewfy
CZ Super Newbie
drewfy has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Mar 03, 2004
0.01 posts per day
Posts: 39
Points: 2,407
   
<?php

if (!eregi("modules.php", $_SERVER['PHP_SELF'])) {
    die ("You can't access this file directly...");
}

$module_name = basename(dirname(__FILE__));

$index = 1;


global $module_name;
include("header.php");
OpenTable();

echo "<center><b><u><h1>My Club</h1></u></b></center>";
echo "<center>JOIN</center><br>
<center><h2>JOIN</h2></center><br>
<center><b><h1>JOIN</b></h1></center><br>
<center>CONGRATULATIONS! You have taken xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.</center> <br>
                                           
<center>What is my Club?</center><br>

         The Club was formed xxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxx xxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxx.<br><br>
xxxxxxxxxxxxxxx xxxxxxxxx xxxxxxxxxx xxxxxxxxx x x          x x x x x   x x x  x, <br>
xxxxxxx xxx* xxxxxx xxxxxx xxxxxxxx xxxxxx
xxxxx xxxxxxxxxx
<br>
<br>
How can I be a member of My Club?<br> <br>

Pay a <b>one time membership fee</b> of $XX.XX.<br>
This entitles you to receive:
*Your name as a representative on the My Club register<br>
*Personal email support for ‘Members Only’ from our club team<br>
*A ‘how to’ guide for coordinating your own Fair<br>
*xxxxxxxxxx<br>
*xxxxxxxxxxx brochure<br>
<br>
<b>++PLUS++ </b><br>
**One of the  products to share with your family**<br><br>





<center>Email us at: [ Register or login to view links on this board. ] <br>
Please provide your name, address, phone number, and email address.<br>
Feel free to include any comments</center>";
CloseTable();
include("footer.php");



?>



Ok there is the code as it stands now. (the xxxx's being actual text...names have changed to protect the innocent)

What I want to do is punch it up a bit.
Add some graphic bullets maybe a .gif or two.
Change the color of some of the text etc.
Overall just make it more interesting and not just a paragraph.
Everytime I try to add
<img src="themes/mytheme/images/bullet4.gif" width="10" height="10" alt="" title="" border="0">

or any other similar code it just gives me a parsing error.


Back to top Reply with quote
#7   re: Just a text box in my page format...my kingdom for a hor
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Anytime you add the "quoitotaion marks" you need to include a / before them so your image link would like this

<img src=\"themes/mytheme/images/bullet4.gif\" width=\"10\" height=\"10\" alt=\"\" title=\"\" border=\"0\">


Or you can just use Hash marks like so

<img src='themes/mytheme/images/bullet4.gif' width='10' height='10' border='0'>


If your not using the alt= or the title= dont include them.



_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#8   re: Just a text box in my page format...my kingdom for a hor
drewfy
CZ Super Newbie
drewfy has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Mar 03, 2004
0.01 posts per day
Posts: 39
Points: 2,407
   
Parse error: parse error, expecting `','' or `';'' in /home/virtual/site32/fst/var/www/html/main/modules/Who_Who_We_Are/index.php on line 22

Is the message I get instead of what I want.

following is a code of the entire page that granted me this parse error

<?php

if (!eregi("modules.php", $_SERVER['PHP_SELF'])) {
    die ("You can't access this file directly...");
}

$module_name = basename(dirname(__FILE__));

$index = 1;


global $module_name;
include("header.php");
OpenTable();

echo "<center>Who Who We Are.  We Are Two Moms with  Big Hearts for XXXXXXX XXXXX</center><br><br>
<img src='www.mysite.org/main/themes/HHK/images/bullet4.gif' width='10' height='10' border='0'>
Here's the story of these two Moms/two sisters, incredible and humorous business journey and how it all<br> began.<br><br>

     <center>YOU'LL WANT TO JOIN THEM !!!</center><br><br>

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x x xxxxxxxxxx x x xxxxxxxxxx x x             xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x x x x xxxxxxxxxxxxxxxxx x x xxxxxxxxxxxxxxxxxxxxxxxxxxxxx x x xxxxxxxxxxxx
about three paragraphs of text including a few bolds and italized words but nothing very high speed.";
CloseTable();
include("footer.php");



?>
ok so the cut and paste added a few extras...the text itself has no special characters. the xxxx represent the body of text again.
I've attempted to put the images outside and inside the echo quotes and everywhere around but always the parsing error on whatever "line" the bullet is on.

I know its high maintenance and I appreciate any and all help.


Back to top Reply with quote
#9   re: Just a text box in my page format...my kingdom for a hor
drewfy
CZ Super Newbie
drewfy has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Mar 03, 2004
0.01 posts per day
Posts: 39
Points: 2,407
   
Ok so interface error...someplace between the floor and keyboard.
Got it .

Telli thanks for your astute patience with the all thumbs wannabe designer.

Not to worry this won't be the last dumb one I ask mark my words!!! icon_razz.gif



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum