1

Topic: How i can include the upgrade packages in message.tpl

There should be exist a way to include the upgrade packages like they are now in index.php?m=account_upgrade
to the message.tpl so when a upgrade is possible the upgrade box display below the error or info message

this cant be so difficult but what ever i try give me only the error message out "UNKNOWN FIELD"

this upgradepackets should only displayed when a upgrade is possible
this upgradeboxes should be displayed below the error or info message so need be includet to message.tpl

please help me i want to show my visitors every time there exist a upgrade what they can buy to get access

this small link in the menue "upgrade" is realy not enough for a commercial licence

2

Re: How i can include the upgrade packages in message.tpl

this cant be so difficult but what ever i try give me only the error message out "UNKNOWN FIELD"

You probably copied the content of the upgrade template which is why you get that. You cannot do that since content of upgrade.tpl template file is dynamically generated when the page is called. What you can do however is simply create links to your upgrade packages. They will look something like this:
http://www.yoursite.com/account/upgrade/payment/2/ where 2 is the ID of the package.

this small link in the menue "upgrade" is realy not enough for a commercial licence

Which is why you can put the link above anywhere you prefer to make it more visible for your members.

Support Staff

3

Re: How i can include the upgrade packages in message.tpl

Yes i know a link is possible but i want the dynamic generated content of the upgrade under the message
only a link is realy not professional  when this dynamic generatet content of the section upgrades can be displayed there why not also some where other to ?
if there is no other way i ask make this  custom for me but i think this is a funktion what should be standart in the commercial license

4

Re: How i can include the upgrade packages in message.tpl

In that case you can create an extension that fetches upgrade packages from the database and then you will be able to display it anywhere you want on the website.

Support Staff

5

Re: How i can include the upgrade packages in message.tpl

Are you dont think if i can create a extension like this self i dont need to ask here ? hmm

Not every is a coder like you

Last edited by medusa (2007-11-15 12:04:57)

6

Re: How i can include the upgrade packages in message.tpl

I know. But certain things do require coding especially when you're trying to create something like dynamic fetching membership packages from the database. That's what extensions are for, to enhance the system without modifying its core files.

Support Staff