Templates

I would love to be able to create my own templates.
The CSS editor is nice but limited.
I see the option for uploading templates but I don’t see any documentation about how to build your own templates.
Anyone know how?
Dave

Re: Templates

Here is a quick tutorial in Hot Tips forum.
https://www.scriptcase.net/forum_en_us/index.php?topic=1379.0

The help is of no real help ;(

I have also created html code and then called it from onInit/onLoad using a PHP Method.

Regards,
Scott.

Re: Templates

yeah,
is there any way to do something like this?

BLANK APPLICATION:
<div id=“header”>
</div>
<div id=“main_content”>
<?php
include(‘application_name.php’);
?>
</div>

HMMMM… This worked… but threw an error… (
Error
A session had already been started - ignoring session_start()
)

?>
<div>
<h1>This is a test!!!</h1>
<?php
include(’…/users/users.php’);

wonder if there is any way to make it not print that error…

The other problem with this is that it might screw up the links…

includes messes with the links but you can load the application in an iframe and that gets rid of the error code too.

Re: Templates

I would like to request the functionality as well!

Mark

Re: Templates

have you tried to use the “iframe” tag instead of “include”?

Re: Templates

Iframe tag is a possibility but does not allow you to bookmark pages etc.

Please can we have possibility to use a custom template for forms as well as grids.
It can be simple - a lot of sites have side bars on left or right of main content.

Just need to expand functionality so that rather than choose a header / footer template
you choose an uploaded html template with a placeholder variable for the main generated
page.

If Codecharge can do it I’m sure you guys can come up with an option!

Thanks
Mark

Re: Templates

I think the ability to create applications that looked more like ‘Web 2.0’ sites would be a fantastic step forward for SC, and it would really lift the product into a new category of web application development tools…

Please could you consider giving us a much more powerful Template editor?

Thanks for a great product in all other respects.

Re: Templates

i agree with zacc idea :slight_smile: