How To modifying web_links (web links)

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   How To modifying web_links (web links)
nikits72
CZ Newbie
nikits72 has been a member for over 19 year's 19 Year Member
greece.gif
Gender: Male
Status: Offline
Joined: Jan 17, 2005
0.00 posts per day
Posts: 5
Points: 235
   
Hi all,

what i would like to do is to modify web_links a little and add one more field except the ones that already exist.
I know there are good people out there with good knowledge of php and nuke and i hope you will help me on how i should start.
Meanwhile i 've been reading the phpnuke manual and learned some stuff like phpnuke structure e.t.c.
(Crowd's voice-->Poor little nikits newbbie...you have so much road yet to walk :? )

So i believe that i should start by modyfing the index.php which is inside web_links folder.
(Voice--> LOL! What a great conglusion.Shortly you will discover moon icon_twisted.gif )

There is the idea of making an i-frame and include a modified web_links html page with the fields i want.
Then i will manually add the data to the original web_links page.
Which brings me to another problem.How will i add the data of the extra field?

For users with similar question you may find these handy:

1. [ Register or login to view links on this board.]

2. [ Register or login to view links on this board.]

Let me take advantage of your knowledge....

Regards,
nikitas.

P.S. Excuse my lame english.




_________________
nikits72 with the unexploding grenade...
Back to top Reply with quote
#2   re: How To modifying web_links (web links)
nikits72
CZ Newbie
nikits72 has been a member for over 19 year's 19 Year Member
greece.gif
Gender: Male
Status: Offline
Joined: Jan 17, 2005
0.00 posts per day
Posts: 5
Points: 235
   
By searching around in phpnuke files i think that i must declare a variable/field in the language.php files in /Web_Links and /Web_links/admin
Is it right?

Also i think that i must insert the new variable/field in the database.
Correct?

I admit this is not an easy question to answer which is not of the type i installed phpnuke and i get the error bla bla.. mainly because i am lame with php...but i will give it a try to make it with some/if any help from you.

Thx...




_________________
nikits72 with the unexploding grenade...
Back to top Reply with quote
#3   
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
   
Numeric value or text value? What is the field name?




_________________
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
#4   re: How To modifying web_links (web links)
nikits72
CZ Newbie
nikits72 has been a member for over 19 year's 19 Year Member
greece.gif
Gender: Male
Status: Offline
Joined: Jan 17, 2005
0.00 posts per day
Posts: 5
Points: 235
   
Hi again,

well ,if i think right (cause i dont know much of php)the only differnece it is how we declare it (as integer or string but i bet you already know this) so lets say it is a string.

Thank you 4 your reply...




_________________
nikits72 with the unexploding grenade...
Back to top Reply with quote
#5   
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 need to know if the value of the field will be numeric or char.




_________________
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: How To modifying web_links (web links)
nikits72
CZ Newbie
nikits72 has been a member for over 19 year's 19 Year Member
greece.gif
Gender: Male
Status: Offline
Joined: Jan 17, 2005
0.00 posts per day
Posts: 5
Points: 235
   
Hi again telli,
it will be numeric.

Thx...




_________________
nikits72 with the unexploding grenade...
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