Kiwi

Well-Known Member
Aug 11, 2001
75
0
306
Yep, PHP support would be great! :P

Elena: Any updates on when the template will be released? Can\'t wait to get rid of the iconic/default theme. :cool:
 

Elena

Well-Known Member
Aug 10, 2001
108
1
316
California
going to be working on it as much as possible today.. tomorrow only work on it at night since mondays are a little wacky... shouldn\'t take to long to get it all wrapped up though. ;)
 

Site5-Matt

Well-Known Member
Aug 10, 2001
79
0
306
Ok, support for .php files in /frontend is now in the latest beta build.

Check out base/frontend/default/test.php for an example. The CPanel tags are parsed before the PHP code is - so you can actually put Cpanel tags in your PHP and use the values as variables.

I.E.
[code:1:6dfa023c77]
<?php
$maxpop = \"<cpanel print=\"$CPDATA{\'MAXPOP\'}\">\";
echo \"You are allowed $maxpop POP accounts<br>\\n\";
?>
[/code:1:6dfa023c77]
Another idea is capturing the return value of things like adding a pop account or subdomain so you don\'t end up with the confusing \"Email account added auccessfully. Ignore all suggess messages - there was an error\" messages.

Please give any feedback possible on this!

Regards,
Matt
 

Karl

Well-Known Member
PartnerNOC
Aug 10, 2001
87
1
308
I bow down before you Matt, for you are a guru. I\'ve been wanting to get rod of those conflicting messages for a long while now. Now I just have to find the time to sit down and sort them all out.
 

Mark Vockler

Active Member
Aug 10, 2001
35
0
306
[quote:766bcf4db6]Ok, support for .php files in /frontend is now in the latest beta build.[/quote:766bcf4db6]
Excellent. Thanks!

Mark
 

Mark Vockler

Active Member
Aug 10, 2001
35
0
306
[quote:581aad7917]Check out base/frontend/default/test.php for an example.[/quote:581aad7917]
Doesn\'t seem to be working in Cpanel 4 build 20.

Mark
 

Brownie

Well-Known Member
Aug 10, 2001
143
0
316
/me bows down before matt and presents him with a pint :D
 

nate

Member
Sep 10, 2001
6
0
301
elena,

any news on getting a *.zip file with this in it?

it is totally awesome, and i would love to have it for my users. (i can pay :D)
 

Dahlia

Active Member
Aug 16, 2001
37
0
306
sorry to be the bearer of bad news, but i dont think that the theme is going to be worked on anymore. elena has been having a hard time and has been away, and today her cat passed away which i was taking care of. i was going to finish the theme but i\'ve also not been having such an easy time with all that has happened this month.

again sorry, but with all the other people working on themes, i\'m sure you will be able to find one just as good as the one she had started work on. look here: http://www.cpanelthemes.com
 

teck

Well-Known Member
Aug 10, 2001
162
0
316
Sorry to hear that :( I hope both of you get better...

Maybe someone else can take over the theme project since it was looking so good?