Comments

  1. Arab Salem says:

    It’s not working for 8.0.3, I receive error message:
    PHPmaker: control file not found! Generation aborted

    • You are right. That error happenned since I forgot to include the missing file. Please follow the step number 6 that I have just added a few minutes ago. I am so sorry for this unconvenience, and thanks for bringing this issue up. Let me know if you are still having the problem. Thanks.

      • Salem says:

        Thanks a lot Masino for the quick fix. It’s working for me now :) Two minor issues though:

        1. You end up having two “logout”: a. original “logout” on the horizontal menu b. new one on the header.

        2. the logo image is hardcoded “phpimages/phpmkrlogo8.png”, wonder if it can be dynamic so you read from current logo image in the project (HTML–> Site Header Logo).

        Thanks

        • 1. Yes. I created the second “logout” link in header near by the username info in order to provide the quick link for users, because for some cases, if the original logout is being moved to the sub-menu, so that users cannot see/find it quickly. In addition, the difference between the second logout and the original is, it has the confirmation alert before user deciding wants to logout or not.

          2. Thanks for the feedback about the logo image. I will try to implement the dynamic logo in the future.

          • I have just implemented the dynamic logo, so that now you are able to use the current logo image from HTML -> Site Header of PHPMaker application. If you have implemented the former modification, then replace the following code:

            <?php
                echo '<a href="."><img src="phpimages/phpmkrlogo8.png" alt="" border="0" title="'.$Language->ProjectPhrase("BodyTitle").'"></a>';
            ?>

            with the following one:

            <?php
                echo '<a href="."><!--##=SYSTEMFUNCTIONS.HeaderLogo##--></a>';
            ?>

            Please note that since we use the PHPMaker system function now (in order to support dynamic logo from PHPMaker), then we cannot add the Title tag inside the logo hyperlink at the moment. If you want to add the Title tag, then you have to add it by yourself in the generated header.php file.

Trackbacks

  1. [...] How to Customize Header and Footer for the Website Created with PHPMaker 8.0.1 [...]

Speak Your Mind

s2Member®