Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusing instructions in Creating Pages #42

Closed
TomasHurtz opened this issue May 8, 2017 · 1 comment
Closed

Confusing instructions in Creating Pages #42

TomasHurtz opened this issue May 8, 2017 · 1 comment

Comments

@TomasHurtz
Copy link

TomasHurtz commented May 8, 2017

https://developers.whmcs.com/advanced/creating-pages/

Instructions are fine until this line:

"Now when ready to test, upload the PHP file to the root WHMCS directory and the template file to your active template directory. Then visit the PHP file in your browser to try it."

But this is confusing - nowhere in the example does it mention the need for both the PHP and a template file. I think what the instructions mean are; you need to create two files 1) a tpl page and 2) your custom php page - however, the article on really deals with creating one file (the example). It also doesn;t really explain how the two files are linked.

The page could be written more clearly with better instructions for creating both files (php file and the tpl file).

Thanks

mattpugh added a commit that referenced this issue Sep 28, 2020
…OP/developerdocscontent:DOCS-6791-Rectify-Typo to master

* commit 'c6eee2f73ba73217978e052d7fb3d5891817dfe2':
  Rectify typo in Third-Party Gateways URL DOCS-6791
@WHMCSMarcus
Copy link
Contributor

Thank-you for your comments. We believe the example now addresses these concerns

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants