Back in after commenting

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
canuck
Posts: 39
Joined: Thu Jul 08, 2004 11:58 am

Back in after commenting

Post by canuck »

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 »

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
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
canuck
Posts: 39
Joined: Thu Jul 08, 2004 11:58 am

Post by canuck »

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 »

Hi,

okay, I got the problem. I'll fix it for 1.4.1!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
canuck
Posts: 39
Joined: Thu Jul 08, 2004 11:58 am

Post by canuck »

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 »

I'll release a patchfile and a update package when 1.4.1 is ready. Maybe there will be a patch sooner. :)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply