09-18-2007, 01:26 PM
Does any one have a tutorial or and explanation of how to get the forms built in the admin gui to work with an existing design I created in Dreamweaver?
Thanks in advance,
razorack--
Thanks in advance,
razorack--
The best way to do this is create a page with your design into the installation folder.
Lets call it "design.html"
Go to the URL of the "design.html" file within the installation folder and make sure it renders correctly, and all your links work as well.
Within the "design.html" is normally the content section of the page. This is where you want to split the page at the content section.
The top being the "header" section which is above the content area.
The bottomb eing the "footer" section which is below the content area.
Lets take /interface/user_login.php for an example template you want to customize.
Open that template file. Where the first / opening <table> tag is located is where the content of the template begins.
You want to place your header HTML above this line.
Make sure you preserve these two lines as well above that table tag:
<form action="{$SCRIPT_NAME}" Method="POST">
<input type="hidden" name="redirect" value="{$redirect}">
If you have any CSS or Javascript code / tags within the header you want to wrap them around a {literal} {/literal} tag.
Now for the footer. At the bottom of the template after the closing </table> tag & </form> tag place your footer HTML.
Save the file, upload if you did not edit it live on the server.
When you go to the control_panel.php file which then displays the "user_login.php" template it should have your site design.
Hope this helps. Any feedback welcomed.
content here content here content here content here content here content here content here content here content here content here content here content here content here content here content here content here
Then correct all your image calls and link references so they pull in the images, css, etc.
Edit ---> On second look your images are coming in just fine. Take the form code out of the page. Take a look at my first response and follow those steps, customizing the /interface/user_login.php page. Placing the header & footer in around the content within that template.