[Problem] Can't use html anywhere

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   [Problem] Can't use html anywhere
TheFilth
CZ Newbie
TheFilth has been a member for over 16 year's 16 Year Member
Status: Offline
Joined: Jan 17, 2008
0.00 posts per day
Posts: 5
Points: 0
   
Alright i've had a major problem for a long while, i've tried editing the config.php and mainfile.php files to fix it, and added html tags everywhere needed it seems

Journals don't work if theres html in them or even separate paragraphs since they create line break tags, in addition to this my main concern now is that I want to create a block to list affiliates that goes on the right side but it won't allow me to include the html

Perhaps someone can give me an example of exactly what should go in the config.php to enable all of that, and/or tell me what I have to do

The html tags I need to work would basically be


<a href="Link"><img src="Image"></a>


Edit: I forgot to add that when I do attempt to do anything in html it doesn't say anything and just brings me to the home page

In my config file so far I have

$AllowableHTML = array("b"=>1, "< /br>"=>2, "/" =>2,"<" =>2, ">" =>2, "img" =>2, "href" =>2, "i"=>1,"strike"=>1,"div"=>2,"u"=>1,"a"=>2,"em"=>1,"br"=>1,"strong"=>1,"blockquote"=>1,"tt"=>1,"li"=>1,"ol"=>1,"ul"=>1);



Back to top Reply with quote
#2   
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
   
Do you have sentinel installed?

Change your $AllowableHTML to this and let me know how it goes:


$AllowableHTML = array("b"=>1, "i"=>1, "a"=>2, "em"=>1, "br"=>1, "strong"=>1, "blockquote"=>1, "tt"=>1, "li"=>1, "ol"=>1, "H1"=>1, "H2"=>1, "H3"=>1, "H4"=>1, "center"=>1, "img"=>2, "alt"=>1, "table"=>2, "tr"=>2, "td"=>2, "p"=>2, "div"=>2, "font"=>2, "p"=>1, "p"=>1, "ul"=>1, "href"=>2);


The meaning of "1" and "2" is whether the tag accepts attributes or not. For example, if you want the <p> tag to NOT accept attributes (i.e. you accept <p> but you don't accept <p align="center">) then you put "1", otherwise (i.e., if attributes like "align" etc. are accepted) you put "2".



_________________
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: [Problem] Can't use html anywhere
TheFilth
CZ Newbie
TheFilth has been a member for over 16 year's 16 Year Member
Status: Offline
Joined: Jan 17, 2008
0.00 posts per day
Posts: 5
Points: 0
   
Still takes me to the index when I try to save it, the only thing that changed is that the images show up in the field where I can edit the block, but when I save the block it just takes me to the index.

Edit: And the only code I used when entering was


<a href="http://refuge-chat.com"><img src="Image"></a>



Back to top Reply with quote
#4   
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
   
Whats the URL to the image? Attach your admin blocks page for me and your mainfile.php please.




_________________
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
#5   re: [Problem] Can't use html anywhere
TheFilth
CZ Newbie
TheFilth has been a member for over 16 year's 16 Year Member
Status: Offline
Joined: Jan 17, 2008
0.00 posts per day
Posts: 5
Points: 0
   
Well here is the mainfile.php, but what do you mean about admin blocks page? You mean like a screenshot ?

Edit: Here is the image url too
[ Register or login to view links on this board. ]



Attached Files
mainfile.txt (56.54 KB, Downloaded: 5066 Time(s))


Back to top Reply with quote
#6   re: [Problem] Can't use html anywhere
TheFilth
CZ Newbie
TheFilth has been a member for over 16 year's 16 Year Member
Status: Offline
Joined: Jan 17, 2008
0.00 posts per day
Posts: 5
Points: 0
   
Is there a way to do what I am asking another way perhaps without html? Cause I could deal with it so long as I can get this affiliates thing up ><;



Back to top Reply with quote
#7   Re: re: [Problem] Can't use html anywhere
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
   


Originally posted by TheFilth @ Thu Jan 17, 2008 3:06 pm:

Still takes me to the index when I try to save it, the only thing that changed is that the images show up in the field where I can edit the block, but when I save the block it just takes me to the index.

Edit: And the only code I used when entering was

<a href="http://refuge-chat.com"><img src="Image"></a>




You said "edit the block" and "save the block" which leads me to believe your doing this in the admin blocks section. There may be something blocking it when your pressing save, thats why I want to see that file.



_________________
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: [Problem] Can't use html anywhere
TheFilth
CZ Newbie
TheFilth has been a member for over 16 year's 16 Year Member
Status: Offline
Joined: Jan 17, 2008
0.00 posts per day
Posts: 5
Points: 0
   
Alright here is the blocks.php that was located in Admin/Modules/blocks , this is the one you wish to see correct?



Attached Files
blocks.txt (42.05 KB, Downloaded: 5057 Time(s))


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
   
I cant find anything major that would cause this problem. Can you PM me FTP info for your site so I can go in a take alook first hand? Also please PM me a password and username so I can log into your site and test.




_________________
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
#10   
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
   
I take it you got it sorted out ok? I will have a few minutes this weekend to take a look if you want me to.




_________________
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