In this board you can talk about general questions about phpMyFAQ
Moderator: Thorsten
canuck
Posts: 39 Joined: Thu Jul 08, 2004 11:58 am
Post
by canuck » Thu Jul 22, 2004 9:21 pm
When you're done making a comment to a question, there's no (direct) way to return to the question you were in (usually helpful to keep reading perhaps). Perhaps you should consider putting a "Back" link there?
On another note,
Code: Select all
if (isset($_REQUEST["id"]) && checkIntVar($_REQUEST["id"]) == TRUE) {
$id = $_REQUEST["id"];
$title = " - ".stripslashes(getThema($id, $lang));
}
else {
$id = "";
$title = " - powered by phpMyFAQ ".$PMF_CONF["version"];
}
is not working for me: when I enter a message I get "phpmyfaq - No Category!" as page title.
Thorsten
Posts: 15739 Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:
Post
by Thorsten » Fri Jul 23, 2004 7:02 am
Hi,
what is displayed if you're adding this:
Code: Select all
if (isset($_REQUEST["id"]) && checkIntVar($_REQUEST["id"]) == TRUE) {
$id = $_REQUEST["id"];
print "Test: ".$id." ".$lang;
$title = " - ".stripslashes(getThema($id, $lang));
}
else {
$id = "";
$title = " - powered by phpMyFAQ ".$PMF_CONF["version"];
}
bye
Thorsten
canuck
Posts: 39 Joined: Thu Jul 08, 2004 11:58 am
Post
by canuck » Fri Jul 23, 2004 11:41 am
Ok, with english everything works (probably because it was the language the question was written in), and I get "{title} - <the question I'm seeing>" as title.
If I change languages, I get , for instance, in german if you understand it better "{title} - Keine Rubriken gefunden!"
The test print you sent me , it works with "1 en" , but not with "1 <anything else>".
Thorsten
Posts: 15739 Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:
Post
by Thorsten » Fri Jul 23, 2004 11:42 am
Hi,
okay, I got the problem. I'll fix it for 1.4.1!
bye
Thorsten
canuck
Posts: 39 Joined: Thu Jul 08, 2004 11:58 am
Post
by canuck » Fri Jul 23, 2004 11:55 am
Bah, can't you just make a patch? I don't want to remove everything that I changed, to install a new version just to change this
Thorsten
Posts: 15739 Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:
Post
by Thorsten » Fri Jul 23, 2004 12:01 pm
I'll release a patchfile and a update package when 1.4.1 is ready. Maybe there will be a patch sooner.
bye
Thorsten