Using Artisteer to Create a CakePHP Layout
As far as Wordpress goes, the version of Artisteer I purchased will output it directly. Just plop it in the wp-content/themes folder and activate.
- Open the LBB2 artisteer file.
- Save it as a folder.
- Put the js file here: \\.host\Shared Folders\My Documents\Projects\LBB\www\iQBTimer\app\webroot\js
- Put the css files here: \\.host\Shared Folders\My Documents\Projects\LBB\www\iQBTimer\app\webroot\css
- Images folder here: \\.host\Shared Folders\My Documents\Projects\LBB\www\iQBTimer\app\webroot
- The page.html here: \\.host\Shared Folders\My Documents\Projects\LBB\www\iQBTimer\app\views\layouts
- Give it a ctp extension.
- Edit the ctp file.
- In the header, change: <title>Artisteer </title> to <title><?php echo $title_for_layout; ?></title>
- Comment out the lines for the js and the css files.
- Add this:
- <?php
echo $html->css(’style’);
if (isset($javascript)) { echo $javascript->link(’script’) . “\n”; }echo $scripts_for_layout;
?> - In the body, find the first <div class=”postContent”> remove everththing in the div and put this: <?php echo $content_for_layout; ?>
- Upload the files to the server.
- Edit the style.css files replace images/ with ../images/
It’s a start. I saw on the Artisteer forum site that someone was explaining how to make the template fluid width.