Link Pointing to content

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Link Pointing to content
tonyp
CZ Active Member
Occupation: IT/IS
Gender: Male
Fav. Sports Team: Chicago Bears
Website:
Status: Offline
Joined: Sep 09, 2003
0.01 posts per day
Posts: 115
Points: 7,277
AIM Address Yahoo Messenger MSN Messenger ICQ Number
I posted before but can't find that post.

What I am tring to do is add text to the navigation Block on my page, it is a module so I have to do this through block-modules.php

when I add this line as instructed

$content .= "<strong><big>&middot;</big></strong>&nbsp;<a href=\"index.php\">"._HOME."</a><br>\n";
$content .= "<strong><big>&middot;</big></strong>&nbsp;<a href=\"http://atlantalan.com/modules.php?name=Content&pa=showpage&pid=1\">"About Us"</a><br>\n";

I get this error
on the web page and the module does not show any text

Parse error: parse error in /home/virtual/site10/fst/var/www/html/blocks/block-Modules.php on line 58

I would basically like for the new link to point to:
[ Register or login to view links on this board. ]

and this way I can add more links.

Any help would help :-)



Back to top Reply with quote
#2   
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.71 posts per day
Posts: 5530
Points: 481,695
   
What needs to be done is to remove the "" around About Us or if you want to use the quotes you will have to write it like this
\"About Us\"


Hope that helps


taut



Back to top Reply with quote
#3   
tonyp
CZ Active Member
Occupation: IT/IS
Gender: Male
Fav. Sports Team: Chicago Bears
Website:
Status: Offline
Joined: Sep 09, 2003
0.01 posts per day
Posts: 115
Points: 7,277
AIM Address Yahoo Messenger MSN Messenger ICQ Number
Ok let me remove the quotes and see what happens thanks T



Back to top Reply with quote
#4   
tonyp
CZ Active Member
Occupation: IT/IS
Gender: Male
Fav. Sports Team: Chicago Bears
Website:
Status: Offline
Joined: Sep 09, 2003
0.01 posts per day
Posts: 115
Points: 7,277
AIM Address Yahoo Messenger MSN Messenger ICQ Number
Cool that woeks well, duh I should have figured that out lol... now is there a way to make everything in that column alphabetical?



Back to top Reply with quote
#5   
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.71 posts per day
Posts: 5530
Points: 481,695
   
yes, but you will have to make the about us a module only the modules are listed in alphabetical order and modules are very easy to make just use the Web tools, there is a module creator in there with help files.



taut



Back to top Reply with quote
#6   
tonyp
CZ Active Member
Occupation: IT/IS
Gender: Male
Fav. Sports Team: Chicago Bears
Website:
Status: Offline
Joined: Sep 09, 2003
0.01 posts per day
Posts: 115
Points: 7,277
AIM Address Yahoo Messenger MSN Messenger ICQ Number
Ok thanks again :-)




_________________
Looking for a local LAN party? that is if you live in Atlanta, GA Visit [ Register or login to view links on this board. ]

email: [ Register or login to view links on this board. ]
"We Put The LAN in AtLANta"
Back to top Reply with quote
#7   
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.71 posts per day
Posts: 5530
Points: 481,695
   
icon_smile.gif your welcome


taut



Back to top Reply with quote
#8   
-HnD-Wiper-
CZ Newbie
-HnD-Wiper- has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Nov 30, 2003
0.00 posts per day
Posts: 9
Points: 490
   
Very nice Generator indeed but one little question maybe im stupid but
if i want to keep the blocks on both side of my page how does i do that?

Like for example this site i want both menu on left side and survey on the right side not just the menu on the left.

Wow this site is great keep up the good work and please dont stop answering people on theire questions ... hope you manage to keep on helping us newbies icon_biggrin.gif



Back to top Reply with quote
#9   
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
   
open the module and look for this

$index = 1;


If you dont see it or your making the module add that to the file under this bit of code

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

require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
get_lang($module_name);


That will ensure the blocks show up for you.

Telli



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