![]() |
best way to add a block at the top of payments page?
I'm wanting to add a blockhead and a blockbody above the payments bits (active subscriptions and available subscriptions). Whats the best way to go about this using the plugins system and hooks? I don't want to modify the templates or php if I don't have to.
|
What I would likely do is create a custom template, and have that template rendered via a plugin at a template hook.
If it is a simple block, you could consider simply having the HTML rendered at the template hook via a plugin, without creating a custom template. There should be no need to hack your templates or core files. :) |
Ok, sounds promising...how do I hook it into the payments page?
|
Quote:
PHP Code:
I will be glad to assist you step by step to get this going, or if you prefer I can come to your site and set this up, which would require you to set up a temporary admin account for me, and then send the login credentials via PM. :) |
All times are GMT. The time now is 03:25 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|