Author |
Topic |
|
PeeWee.Inc
Senior Member
United Kingdom
1893 Posts |
Posted - 22 February 2004 : 14:23:10
|
All Forums Snitz Forums 2000 MOD-Group
You know how we have this menu on Forum.asp, well i would like to edit so it goes:
All Forums > Snitz Forums 2000 MOD-Group
And then the same for topic.asp
All Forums > Snitz Forums 2000 MOD-Group > topic name
However, after having a little look, i got a bit confused and deleted the wrong code. Does any of you ASP Gods know the code?
|
De Priofundus Calmo Ad Te Damine |
|
D3mon
Senior Member
United Kingdom
1685 Posts |
|
D3mon
Senior Member
United Kingdom
1685 Posts |
Posted - 22 February 2004 : 14:28:40
|
if so, these lines (about 352 - 371) are where its at:
"<td class=""l nw"" width=""33%"">" & _
"<a href=""default.asp"">" & getCurrentIcon(strIconFolderOpen,"All Forums","") & "</a> <a href=""default.asp"">All Forums</a><br />" & _
getCurrentIcon(strIconBar,"","")
if Cat_Status <> 0 then
Response.Write getCurrentIcon(strIconFolderOpen,"","")
else
Response.Write getCurrentIcon(strIconFolderClosed,"","")
end if
Response.Write " <a href=""default.asp?CAT_ID=" & Cat_ID & """>" & ChkString(Cat_Name,"display") & "</a><br />" & _
getCurrentIcon(strIconBlank,"","") & getCurrentIcon(strIconBar,"","")
if ArchiveView = "true" then
Response.Write getCurrentIcon(strIconFolderArchived,"","")
else
if Cat_Status <> 0 and Forum_Status <> 0 then
Response.Write getCurrentIcon(strIconFolderOpenTopic,"","")
else
Response.Write getCurrentIcon(strIconFolderClosedTopic,"","")
end if
end if
Response.Write " <a href=""forum.asp?" & ArchiveLink & "forum_id=" & Forum_ID & """>" & ChkString(Forum_Subject,"display") & "</a></td>" & _
Simply replacing the <br /> tags with {space}>{space} should do it. |
Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod "In war, the victorious strategist only seeks battle after the victory has been won" |
Edited by - D3mon on 22 February 2004 14:30:14 |
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 22 February 2004 : 15:00:36
|
one caveat... long forum, category and topic names. |
|
|
|
PeeWee.Inc
Senior Member
United Kingdom
1893 Posts |
Posted - 22 February 2004 : 16:23:25
|
That should not be too much trouble as i have taken away the "show topics from the last year" dropdown box. I'll just have to move that around to the bottom or something. Maybe have it as a pop-up. |
De Priofundus Calmo Ad Te Damine |
|
|
PeeWee.Inc
Senior Member
United Kingdom
1893 Posts |
Posted - 22 February 2004 : 16:29:22
|
"<td class=""l nw"" width=""33%"">" & _
"<a href=""default.asp"">" & getCurrentIcon(strIconFolderOpen,"All Forums","") & "</a> <a href=""default.asp"">All Forums</a><br />" & _
getCurrentIcon(strIconBar,"","")
if Cat_Status <> 0 then
Response.Write getCurrentIcon(strIconFolderOpen,"","")
else
Response.Write getCurrentIcon(strIconFolderClosed,"","")
end if
Response.Write " <a href=""default.asp?CAT_ID=" & Cat_ID & """>" & ChkString(Cat_Name,"display") & "</a><br />" & _
getCurrentIcon(strIconBlank,"","") & getCurrentIcon(strIconBar,"","")
if ArchiveView = "true" then
Response.Write getCurrentIcon(strIconFolderArchived,"","")
else
if Cat_Status <> 0 and Forum_Status <> 0 then
Response.Write getCurrentIcon(strIconFolderOpenTopic,"","")
else
Response.Write getCurrentIcon(strIconFolderClosedTopic,"","")
end if
end if
Response.Write " <a href=""forum.asp?" & ArchiveLink & "forum_id=" & Forum_ID & """>" & ChkString(Forum_Subject,"display") & "</a></td>" & _
The statment still keeps the images () in it. I wanna get rid of that, and just have text.
I feel stuuupid
|
De Priofundus Calmo Ad Te Damine |
|
|
D3mon
Senior Member
United Kingdom
1685 Posts |
|
PeeWee.Inc
Senior Member
United Kingdom
1893 Posts |
Posted - 22 February 2004 : 17:05:05
|
I've cut it down to this:
"<td class=""l nw"" width=""33%"">" & _
"</a> <a href=""forumhome.asp"">All Forums</a> > "
Response.Write " <a href=""forumhome.asp?CAT_ID=" & Cat_ID & """>" & ChkString(Cat_Name,"display") & "</a><br />" & _
"<br />"
And it seems to do what i want now.
Cheers. |
De Priofundus Calmo Ad Te Damine |
|
|
evol
Junior Member
China
157 Posts |
Posted - 24 February 2004 : 14:47:42
|
PeeWee.Inc,would you like test this method in it? http://forum.snitz.com/forum/topic.asp?TOPIC_ID=49605 i want to say a question: if the name of the topic is too long(All Forums > Snitz Forums 2000 MOD-Group > .....) and if it can be changed look like it:
it was a imagine image,not a realy,but i think we can do it.
|
Who am i? I lost my dream! |
Edited by - evol on 24 February 2004 14:48:15 |
|
|
|
Topic |
|
|
|