Home :: Forums :: Register :: Sign In :: Links :: Downloads :: Shop
You are not signed in. Please sign in. If you have not registered, please click here.

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   More...
#1Thu Oct 09, 2003 5:01 pm   Link Pointing to content
tonyp
CZ Active Member
tonyp has been a member for over 5 year's 5 Year Member
Occupation: IT/IS
Fav. Sports Team: Chicago Bears
Website: atlantalan.com
Status: Offline
Joined: Sep 09, 2003
0.06 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
#2Thu Oct 09, 2003 6:30 pm   
Taut
PayPal Donation
Asst. Admin
 Codezwiz Site Donator
Taut has been a member for over 5 year's 5 Year Member
usa.gif california.gif
Occupation: Entrepreneur
Fav. Sports Team: SF Giants
Website: admins101.com
Status: Offline
Joined: May 27, 2003
2.73 posts per day
Posts: 5504
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
#3Thu Oct 09, 2003 6:35 pm   
tonyp
CZ Active Member
tonyp has been a member for over 5 year's 5 Year Member
Occupation: IT/IS
Fav. Sports Team: Chicago Bears
Website: atlantalan.com
Status: Offline
Joined: Sep 09, 2003
0.06 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
#4Thu Oct 09, 2003 6:43 pm   
tonyp
CZ Active Member
tonyp has been a member for over 5 year's 5 Year Member
Occupation: IT/IS
Fav. Sports Team: Chicago Bears
Website: atlantalan.com
Status: Offline
Joined: Sep 09, 2003
0.06 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
#5Thu Oct 09, 2003 6:49 pm   
Taut
PayPal Donation
Asst. Admin
 Codezwiz Site Donator
Taut has been a member for over 5 year's 5 Year Member
usa.gif california.gif
Occupation: Entrepreneur
Fav. Sports Team: SF Giants
Website: admins101.com
Status: Offline
Joined: May 27, 2003
2.73 posts per day
Posts: 5504
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
#6Thu Oct 09, 2003 7:03 pm   
tonyp
CZ Active Member
tonyp has been a member for over 5 year's 5 Year Member
Occupation: IT/IS
Fav. Sports Team: Chicago Bears
Website: atlantalan.com
Status: Offline
Joined: Sep 09, 2003
0.06 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
#7Thu Oct 09, 2003 7:05 pm   
Taut
PayPal Donation
Asst. Admin
 Codezwiz Site Donator
Taut has been a member for over 5 year's 5 Year Member
usa.gif california.gif
Occupation: Entrepreneur
Fav. Sports Team: SF Giants
Website: admins101.com
Status: Offline
Joined: May 27, 2003
2.73 posts per day
Posts: 5504
Points: 481,695
   
icon_smile.gif your welcome


taut



Back to top Reply with quote
#8Wed Dec 10, 2003 5:51 pm   
-HnD-Wiper-
CZ Newbie
-HnD-Wiper- has been a member for over 5 year's 5 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
#9Wed Dec 10, 2003 7:29 pm   
Telli
Site Admin
Telli has been a member for over 5 year's 5 Year Member
usa.gif florida.gif
Occupation: Self Employed
Age: 37
Fav. Sports Team: Detroit Red Wings
Website: www.codezhost.com
Status: Offline
Joined: May 26, 2003
3.89 posts per day
Posts: 7848
Points: 492,545
   
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   More...
<< 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