Creating a WordPress Template

Hi
I am new to Muse. Is it possible to create a Word Press template (that can be exported and loaded via the WP Theme interface of a self hosted WP site) with Muse?
If it is, is there any tutorials on it?

I hope this will help anyone else who is looking for the same solution. And if anyone has better solutions please add them :-)
I found this on The Theme Foundry site
http://thethemefoundry.com/blog/html-wordpress/
Convert HTML to WordPress
by Drew Strojny on May 8, 2006      in Tutorials
39 comments
Updated February 2012 and now compatible with WordPress 3.3 +
When I first decided to convert a static HTML design to WordPress I did some searching for a tutorial to help me get started with the basics. Surprisingly, I didn’t find anything that was very complete or easy to follow. For that reason I decided to write a very basic tutorial on how to convert a static HTML template into aWordPress Theme. If you are an absolute beginner at developing WordPress themes then this should help you get started. This tutorial assumes you already have a basic understanding of HTML and CSS. It also assumes you have a website built in HTML and CSS and have it ready for conversion.
How WordPress Works
WordPress works in a rather straightforward manner but it may seem confusing if you are completely new to the concept. WordPress relies on PHP to call ondifferent parts of your content from the database management system it stands on. For example, look in your /wp-content/themes/twentyten/ directory and open the header.php file. As you scroll through the code notice the PHP calls, they start with a <?php and end with a ?>. Look at line 37 and notice the call for your stylesheet URL:
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
This line uses PHP to look-up your stylesheet’s location from the database. This basic function of retrieving or calling some kind of data from your database and using PHP to display it in your HTML is how WordPress works. Throughout this process you will be substituting PHP for different parts of your content and your code. This will make editing easier in the long run, as you will find out. Now that you understand the basics of how WordPress works, lets get started.
First Things First
The first step is to create a new folder and name it whatever you want your theme to be called. Next, create two new files, style.css and index.php and place them in the folder. Believe it or not, these are the only two files you actually need for a WordPress theme. Now copy and paste the code from your original CSS file into the style.css file you just created. At the top add the following code:
/* Theme Name: Replace with your Theme's name. Theme URI: Your Theme's URI Description: A brief description. Version: 1.0 Author: You Author URI: Your website address. */
These comments simply help WordPress properly identify the theme. Your stylesheet is now ready to go.
Chop It Up
Now let’s start chopping up your HTML. Remember how we talked about WordPress using PHP to call data from your database? Well WordPress can also use PHP to call different files from within your template folder. Imagine your current HTML code chopped up into 4 (or more) different sections. For example, take a look at the layout and corresponding HTML of this page. The header comes first, followed by the content, then the sidebar, and finally the footer. Instead of keeping these 4 parts of the HTML together in one file, you are going to put each of them in their own separate file. Then call on them one by one using PHP.
So go ahead and sort through your HTML code and place some markers in the 4 places where you plan on cutting the code into 4 separate sections.
These next steps assume you have your page set up left to right: header, content, sidebar, footer. If your page is ordered differently you will have to switch a couple of these steps around.
Now create 3 new files (header.php, sidebar.php, footer.php) and place them in your theme directory. Next take a look at the header.php file from the Twenty Ten theme we looked at earlier. Notice all the PHP that is used in between the <head> tags. Copy that code to your new header.php file. Now open up your original HTML file and copy the code you marked off for your header (1st section) into your new header.php file (underneath the <head> section). Save and close.
Now open up your new index.php file. Copy the second part of your original HTML code, the content (2nd section) into your new index.php file. Save and close.
Getting the hang of it?
Next open up your new sidebar.php file, copy the sidebar (3rd section) of your original code into the sidebar.php file. Finally, copy the original footer (4th section) of code into your new footer.php file.
Put It Back Together
Your original code should now be chopped up into 4 different files (header.php, index.php, sidebar.php, footer.php). Let's put it back together using a few lines of PHP. Open up your index.php file, it should contain the HTML from the content (2nd section) of your original code. Add this line at the very top of the file:
<?php get_header(); ?>
Now go to the absolute bottom of your index.php file and add these two lines:
<?php get_sidebar(); ?> <?php get_footer(); ?>
These 3 simple lines of PHP are telling WordPress to fetch and display yourheader.php, sidebar.php, and footer.php files within your index.php file.Your code is now officially put back together. Now, if you want to edit your sidebar you can just edit your sidebar.php file, instead of sorting through yourindex.php to find it. The same goes for your header.php and yourfooter.php.
The Loop
Your index.php is almost finished. The final step is to insert the actual content into the code. Luckily, WordPress uses PHP for this as well. The Loop is the PHP function WordPress uses to call and display your posts from the database they are saved in. Grab this code and paste it into your new theme's index.php file (inside of whichever div you are using to hold your content).
<?php if ( have_posts() ) : ?> <?php while ( have_posts() ) : the_post(); ?> <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="post-header"> <div class="date"><?php the_time( 'M j y' ); ?></div> <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <div class="author"><?php the_author(); ?></div> </div><!--end post header--> <div class="entry clear"> <?php if ( function_exists( 'add_theme_support' ) ) the_post_thumbnail(); ?> <?php the_content(); ?> <?php edit_post_link(); ?> <?php wp_link_pages(); ?> </div><!--end entry--> <div class="post-footer"> <div class="comments"><?php comments_popup_link( 'Leave a Comment', '1 Comment', '% Comments' ); ?></div> </div><!--end post footer--> </div><!--end post--> <?php endwhile; /* rewind or continue if all posts have been fetched */ ?> <div class="navigation index"> <div class="alignleft"><?php next_posts_link( 'Older Entries' ); ?></div> <div class="alignright"><?php previous_posts_link( 'Newer Entries' ); ?></div> </div><!--end navigation--> <?php else : ?> <?php endif; ?>
You just inserted a basic version of the loop into your code! WordPress will use the loop to display your posts and comments on your website.
The End
Now upload your theme folder to /wp-content/themes/. Then log into WordPress and activate your theme. Wasn't that easy?
This tutorial covered the basics for converting your theme to WordPress. To further customize and enhance your theme start looking at the WordPress Codex, specifically Template Tags and Template Files. You can use template tags in your sidebar, in your header, or your footer to call menus, categories, posts, etc. As you learn more about template tags and template files you will discover the endless possibilities for customizing your new WordPress blog.

Similar Messages

  • How can I view wordpress template in Dreamweaver

    I have some wordpress templates but can't view them in a browser since there is no index.html just php. How can I get around this and use a wordpress template as a regular dreamweaver CSS page? I don't want to load the wordpress app or the database in my server so is this possible?
    Thanks

    I don't want to load the wordpress app or the database in my server so is this possible? 
    No it is not possible because WP runs on apache server, MySql database and PhP.  If your theme is distributed by by WP then you can view it at this link:
    http://wordpress.org/extend/themes/
    Search for your theme and if it is there, you can preview it before downloading.
    Another option is to create a free blog/site at this link:
    https://en.wordpress.com/signup/
    You can then change the themes and try changing it using inline styles.  You are not allowed to upload any css files, plugins or your own themes at this link.  Even js is not allowed for security reasons.
    Hope this helps.

  • Muse ability to create / edit Wordpress themes

    To start with I'm a graphic designer who knows html / css (intermediate level) and I have experience with wordpress but i'm not a pro with it, my clients want me to design wordpress website as most of them are familiar with it, I would like to state that although Adobe has Business Catalyst as an option for CMS, but my clients are more inclined towards Wordpress almost 90% of them.
    Adobe has provided support to wordpress code and we can even edit / create wordpress themes in dreamweaver cs6, I would like to have the same feature integrated into Muse. Ability to create Wordpress themes or atleast to edit them, I can assure adobe that a lot of Graphic Designers like me are in search of a tool that can able them to create wordpress sites without going too much into the code.
    I have been using Headway theme framework for Wordpress right now but still I have more command of design in Muse rather in in Headway, with muse i can design as i will but with headway there are aesthatic limitations which i can't overcome as in intermediate level developer.
    My Idea for Adobe Dev's is guys please add the ability in muse to create / edit wordpress themes. You guys have given that Ability in Dreamweaver but I would like to see that in Muse As well so that it benfits graphic designers like me.
    Thanks

    note:  I did provide a simple sloppy solution at the bottom of this novel.  But what needs to happen IS going to happen.  Why?
    J.....D.......I. 
    Sorry Adobe, but you're gonna be busy next Friday.  Every Friday.  Forever.  But we love you for it
    My humble opinions
    From a customer benefit point of view, a wordpress template that they can update themselves isn't possible in Muse as far as I know, but it's nice to be able to design a site to specific standards when the customer is picky and too involved.
    I know better than to let this happen but it happens regardless when you're a small fry in this business.
    From a dev  point of view I think it's pretty good for my level of coding:
    (HTML, CSS, I'm loving these widgets, barely understand Javascript, PHP, Actionscript, and Python,  my SEO and hosting skills are good and up to date for small sites and local ranking.)
    I haven't NOT been able to find a widget for everything I've been requested to integrate,.  There are so many and more every day.  But many times the look and feel of the widget is an issue for the client.  And most often, the ability for them to manage content is a deal breaker with many clients.
    From a design point of view, It KICKS ***.  I already had years of InDesign, Dreamweaver, PS, AI, and recently Behance and Prosite under my belt and I have the full CC suite.  So the first time I used Muse.......I cried a little....out of joy.  Oh the webfonts....sniff sniff....and the Jquery.....it's....so beautiful....and I'm done with this entire site in 7 hours...
    Now in 2015 I'm diving into Wordpress (don't ask why.  It's a long story and you wouldn't care)
    I'm seeing the real difference now, and someone please correct my if I'm wrong or missing something.  Or anything.  I want to know everything.  Teach me.
    1.  SEO.  Wordpress in combination with techniques using google analytics and adwords is GUARANTEED to give better rankings and overall has stronger tools for achieving this.
    2.  Wordpress (if you get a theme that comes with the editing functions) has a very intuitive interface for clients who want to manage and update their own client.  I've been pleasantly surprised while simultaneously horrified at how many clients are asking for this.  I guess anyone who has basic CURRENT computer skills and has worked with some kind of database or cms is pretty confident with using wordpress on their own hosting account.  Im learning their is a browser based editor too so they can make changes from anywhere anytime.  I love it when they make a hideous graphic to save a buck and stamp it on the home page header of their site when I'm trying to use it as portfolio content.  The robots are getting stronger every day, but they have no souls.
    3.  Wordpress has wayyyyyy more widgets and other ways of integrating stuff.  BIG stuff.  Lots and lots of BIG companies using it and involving 3rd 4th and 5th party B2B SAS WYSIWYG CMS CRM ...ok I'll stop now hehe.  Just sayin theirs thousands of businesses that speialize in making things and stuff for other businesses that have wordpress sites.
    BUT I do see Muse-based things and stuff piling up.  Maybe it'll get there soon?....Or sell out and bow down to Wordpress in some way?  I'm watching but not waiting.
    SOLUTION:
    It's not much, but if you have a client that is already in wordpress and wants you to take over the site, clean it up, change a bunch of stuff, and manage it on your end, try this:
    1.  use a HTML to PDF maker and snatch each page off the web so you don't have to get every little piece of code from them.  Screenshots aren't perfect enough.  the pdf will be the exact same pixel size.
    2.drop the pdf into a layer in muse and use it as a cheat sheet to trace and re-create the entire site from scratch!  Sounds stupid at first, but if you're good at graphics and know enough front end code stuff, the process will go quickly...So quickly that you might actually cry a little if you were there in the days of HTML 1 and HotDog and Homesite.
    Even if there's forms, search functions, slide shows, eCommerce, maps, a database full of images or blog entries,
    Muse can either do it or work with it.  The capability is there for most of the intermediate stuff other than blogs and image galleries.
    So as long as the client wants YOU to manage content and make future updates, and the site's not as big as ebay or sony, it is doable.  I've even found ways of pulling the wordpress code from an old site and putting it into muse and vice-versa.  It's on Youtube if you look hard enough.  But I don't recommend doing this.  There's too many things that can go wrong, or come up later to make you have to turn back.  I DO recommend using Dreamweaver and CSS Designer if you want more control out of Muse.  I haven't needed to yet but I found ways of doing that on...you guessed it.  Youtube.
    Dear Adobe,
    Thank you for making Muse.
    I like it very much.
    I like you very much.
    I've been using much of you since the 90's and you have been wonderful.  And thank you for buying Macromedia and Syntrillium.  Adobe Audition is now delightfully beast when it comes to editing hip-hop vocals and cleaning up news interviews recorded outdoors during a 50mph dust storm  and the talent has a sinus infection as well as 2 terrible kids on the set.  (MCs ask me why I do all the tracking and editing in Audtion instead of ProTools or Ableton......one word.....Ghost Hunters.)
    But....
    I have one tiny little request to make.  I'm sure it won't be a big deal to make happen.  And little Timmy has cancer so please hurry....
    1.  Can you please continue to update Muse as often as possible with features to make it integrate better with wordpress sites that have been brought in?  And add features that allow you to work with all the most popular 3rd and 4th party tools that are being used with Wordpress?  And keep all this inside the Muse editing environment.  And can you please add CSS Designer to Muse?  Or something more than just downloading the code and putting it back in?  Maybe just put Dreamweaver inside Muse as a little pop-up handler for when you want to mess with the code?  Maybe a JQuery WYSIWYG handler too inside the Dreamweaver inside Muse?  Also can you please round up all the information put out by people outside of Adobe and Lynda and all the popular Muse tutorial sites that pertains to workarounds for dealing with Wordpress in BOTH directions (wp to muse, muse to wp) then update muse to accommodate them so we don't have to?  CSS 3 did it.  Remember IE6 compatibility hacks?  I'm sure you could do this one late Friday night easily.
    And once you've fixed all the necessary integration issues between wp and muse and all 3rd and 4th party apps and services and have added editing capabilities within the Muse environment (like the widget control panel but one for every wp app, service, and workaround, could you please provide all CC members with an entire video library of your own explaining how to use all the new features and how wp works, and have Lynda do the same?  And can we please have a free full membership to Lynda for being CC members?  We're totally worth it.  You're so rich and powerful now and it's because of people like us that convinced the company they worked for in the early 2000's to buy me InDesign 1.0 because it was better than Quark and will be the next big thing.  The Director of Marketing laughed and said no so I BOUGHT MY OWN COPY.  ...um...digressed....
    Oh ya.
    It's because of people like us that love and cherish your products that any and all competition to Adobe is pretty much considered a niche program or is gobbled up by Adobe faster than honey badger.  Adobe is more powerful than many entire nations on planet earth and probably gets to write exact scripts for network news anchors to read whenever they're mentioned.  A list. 
    And after you do all that can you just go ahead and buy wordpress?  I know it would be a lot of wasted work to not just buy wp first but there's a lot of politics involved and a lot a peoples feelings would get hurt.  So please make muse do all that stuff first then buy wp for us.
    Love, Matt
    PS, Thank you so much for putting a Recover function in this blog entry part of the site!  I accidentally hit something on my stupid glide pad after the word "us" on the last paragraph.  XOXOXOXOXO!!! 

  • I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    The template is a document in itself, it is not applied to an existing document whether it is a Pages document or a Word document converted to a Pages document.
    You would need to either copy and paste content, using existing styles, or apply the styles to the converted Word document.
    You can Import the Styles from an existing document and those imported Styles can be used to override the current document's styles:
    Menu > Format > Import Styles
    The process is simplified if the styles use the same names, otherwise you will need to delete the style you don't want and replace it with the one that you do want when asked, then the substitution is pretty straightforward.
    Peter

  • How to create the web template

    Hi BW Experts,
       how to create the web template.....!
       I just want to know what is the use of Web template. i want to display the report
    in WEB-UI screen ( sap-crm 7.0 portal ) can any one help me please how to proceed ...!
    Thanks
    shahina..!

    Hiu2026
    Steps to follow to create WAD in WEB Template in 3.5 or 7.0 u2026u2026..
    Go to All programs and select your web application designer
    Select the button to create a new page in WAD
    Select the chart and place in the layout
    Next goto Data provider Target and select your query
    Give your report name in the given data provider screen
    Select your query in History/find/Favourites/Infoareas button
    Select your query in this screen and click OPEN
    Now we can see the data provider is assigned to the chart.
    To edit the chart you have to right click on the chart
    After right click on it we will find another screen where we can edit all the settings
    In this screen we can find NEXT click button to change our settings
    In this screen we can state the tasks (Title, units, values, range)
    In this screen we can change our background /validity/color
    In this screen we can add values to the chart
    In this screen we can add validity/positions/order/axis types to the chart
    In this screen we can change the global settings/and overview of the chart.
    This screen shows that we have customized the chart successfully
    After successful creation of the chart we have to save the chart
    Save your chart in your favorites by giving the description and technical name in the given block.
    Now execute your WAD by selecting the execute button
    The BEx Web Application Designer is a desktop application for creating Web applications with BW-specific contents. Using the BEx Web Application Designer, you can create an HTML page that contains contents such as various tables, charts or maps. This HTML page (Web application) provides the basis for not only Web applications with complex interaction, but also for Web cockpits and iViews.
    http://help.sap.com/saphelp_nw04/helpdata/en/1a/456a3badc1b315e10000000a114084/content.htm
    Web Application Designer for Beginners
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/749a4622-0a01-0010-36bf-b6b30a2a3a22
    Web Application Solutions: A Designer's Guide
    http://www.lukew.com/resources/webapplicationsolutions.pdf
    http://sap.ittoolbox.com/groups/technical-functional/sap-solution-manager/bw-web-application-designer-1955944
    Feautures of WAD in 7.0
    http://help.sap.com/saphelp_nw70/helpdata/en/88/4d354277dcb26be10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5c46376d-0601-0010-83bf-c4f5f140e3d6

  • How to create a new Template from an Excisting Template

    Dear Sir,
    We already have one Template defined for creating the new Projects .  We need to create a New Template and for this we want to used the existing Template and will incorporate the required changes into it only .
    Kindly guide us as what procedure need to be followed to create a New Template by using an existing base Template .
    With Thanks and Rgds
    Sonia

    Hi,
    In your new template you have copied only standard WBS. For the activities to be copied, you need to assign that created Std. WBS in Std. Network using CN02.
    Input the Std.WBS in the Std. Network in CN02 and check if activities are also created in the network. In the Std. Network change screen press F6, and input Std. WBS in the header data details.
    Else, you can create a new std. Network using CN01 and create the activties also in the same and follow the above.
    Then try creating new project in CJ20N.
    Regards,
    Kabir

  • How Do I Create a New Template for iBooks Author?

    Apple's provided templates are way too narrow for some of the ideas I want to implement. I do not see any real method for creating a template from scratch. I stripped one of the available templates down to nothing and rebuilt some of the pages and then selected Save As Template... but iBooks Author keeps the original template as the content instead of allowing me to use my own created Chapter, Section, and Pages with the Add Pages.. Button.
    How to you create a new template from scratch? I think it is absurd if you can only create a new template from one of the 6 predefined templates.

    Be careful on unlocking and deleting stuff, cause this very easily can destroy the layout and your current arrangement
    About dimensions, If i am not mistaken, i read on another thread that this cannot be happen.

  • How to create an custom template for cheque printing layout?

    Hi, I have a question about cheque printing format set up in SAP Business One.
    All the the system standard templates in u201CCheque print lay out designeru201Dare u201Ccheque-stub-stubu201D or u201Cstub-cheque-stubu201D or u201Cstub-stub-chequeu201D (three portions). What I need is u201Ccheque-stubu201D (two portions)only. Anyone knows how to create an custom template?
    Thanks.
    Edited by: Angela Zhang on Jan 17, 2010 7:18 AM
    Edited by: Angela Zhang on Jan 17, 2010 7:18 AM

    Hi Angela,
    Check the thread,
    Re: Preprint AP check - stub/check repetitive area fram size
    CHECK PRINTING
    Re: check/cheque for payment printing posting date on stub
    PLD Check-Stub-Stub
    PLD Check
    PLD Multiple Check printing
    Regards,
    Madhan.

  • How to Assign a Static IP address to VM created from VM template

    Hello All,
                I'm New to SCVMM, I have installed my SCVMM 2012 R2 in Lab environment and added 02 Hyper Servers on the same (One server is in domain & another one is in Perimeter Network). Once I added the Hyper-V's two Virtual
    Network's has been detected in SCVMM.
               Now I'm trying to create a new VM in each Hyper-V with a static IP address. I have created the VM template without connecting to any network, while creating the VM, below is my settings,
    VMNetwork : VMPeri01 (Perimeter VM Network)
    VM subnet  :  None
    (Grayed out)
           IP Address:
              Clicked Static IP
                          IP Protocol version: IPV4 only
    MAC address:
              clicked Static (its showing 00:00:00:00:00:00)
    Question: How can I assign the static IP to my New VM?
    Note: I have created a static IP pool for the virtual network (w.r.t : http://www.virtualizationadmin.com/blogs/lowe/news/adding-an-ip-pool-to-vmm-2012-241.html)
    Please help me to create the VM using Static IP (specific address now)

    While creating the VM choose the Virtual Network on the Hyper-V from the IP pool which you have created it wil take the IP during provisioning.

  • How to create a page template?

    Hi!
    I need to create a page template. There are any templates and the page preview option show an overview about the region and areas these. I would like to create a based page in this template. I think that I should know:
    1 - How to create the shortcut?
    2 - How to create the page template?
    3 - How to assign a region with a page template?
    Priscila Britto

    Hi people!
    I get to resolve any items. Anything important are:
    - you can to view a structure of page template. The first you view it in the menu Shared Components >> Templates. There is a icon in the column "Preview" for the page, report and region template items. In the click on the icon you can view a template structure that should be shown in the execution.
    - You can view where will be inserted a region on the option "display point". You need to click on the icon in the right of the "display point" option;
    Well, If you pay attention in the two options you will know how to modify a template and how to create.
    Priscila Britto

  • I know how to create a PROJECT template, but is there a way to create SLIDE templates?

    Basically I've got several modules, and throughout all the modules is several different pages (text&graphic page, hot graphic page, tab page etc etc).
    What I would love to do is create a set template for each page type (a template for text&graphic, a template for tab page etc) as I have numerous instances of the same pages throughout all the modules (and also for continuity as well).
    It would be great to create placeholders for slide templates just like the application in project templates, and then be able to drop these slides into different projects to have the same foundation to start adding data.
    Project templates is a good start, but only if i want to use the same template throughout the entire module.
    Any one know how to do this?
    Thank yo
    Rich.

    If you're using Cp5/5.5 you can create multiple master slides to them apply to the applicable slides (I don't remember if it was in Cp4).
    Master slides are portable, also, you can copy all the elements and paste them onto new slides in the same project or a different project.
    Insert > Master Slide
    Which should create a new blank slide in the Master Slide panel.  You add items to the slide like backgrounds, captions, rollover captions, highlights, shapes, animations (buttons/click boxes are not allowed).  You use the timeline as you would with a 'normal' slide, but you can't adjust the length of the master slide (this doesn't impact the length of a 'normal' slide).
    On your content slides you select the master slide in the Properties panel, general, master slide dropdown.

  • Is there a way to create my own template on Pages for iPad?

    Hi, I've searched for this topic but can't seem to find a recent thread. I need to know if there's a way of creating a new template for Pages on my iPad. Would love to use the iPad more in school but can't seem to get it to do what we want it to! If this isn't possible then can anyone suggest an App that would be more useful. Many Thanks!

    This was discontinuted in CS5 howerver you could migrate that plugin to CS5.  I don`t know if you can do this with CS6.
    To my knowledge they only provided a revised Contact sheet II script for CS6. In my opinion a very bad idea because they should have put all efforts and resources to enhance the Output Module PDF contact sheet that has far more options.
    Still not using web galleries but the goal for web gallery was also to use this in the Adobe Output Module, maybe that provides you the options you want?

  • Is there a way to create a Cairngorm "template" Project?

    Would it be possible to create a template for Cairngorm-based Flex projects, since they all have the same general architecture?:
    /src
    /control/events
    /control/commands
    /control/Controller.as
    /control/Services.mxml
    /model/ModelLocator.as
    /valueObjects
    /view
    I basically want to create this folder/file structure, and then start a new project in Flex Builder using this template. I know I can simply copy and paste the structure from a random folder, but I was wondering if there is any way to do this in Flex Builder.
    Thanks.

    FYI, when I try "Import... > General/File System", it only imports folders with files in them (it ignores /control/events, /control/commands, /view, and /valueObjects).
    On Wed, Dec 24, 2008 at 10:05 AM, Eric Belair
    <
    [email protected]> wrote:
    A new discussion was started by Eric Belair in
    Cairngorm Development --
      Is there a way to create a Cairngorm "template" Project?
    Would it be possible to create a template for Cairngorm-based Flex projects, since they all have the same general architecture?:
    /src
        /control/events
        /control/commands
        /control/Controller.as
        /control/Services.mxml
        /model/ModelLocator.as
        /valueObjects
        /view
    I basically want to create this folder/file structure, and then start a new project in Flex Builder using this template. I know I can simply copy and paste the structure from a random folder, but I was wondering if there is any way to do this in Flex Builder.
    Thanks.

  • How do i create a database template from the command line?

    Hi,
    As part of implementing a backup and recovery strategy for a client (including disaster recovery) I want to automate the creation of a database template From an Existing Database (Structure as well as data) via a script that will run every night.
    The background to this is that we will also be using RMAN to take backups of the database concerned but the client does not want to wait while an RMAN backup is restored and so wants an additional level of insurance in the form of a ‘standby’ clone database.
    The idea is that nightly we will run a script that creates a database template from the Existing Database (Structure as well as data) and then transfers the 2 files involved e.g. DB_data_included.dbc and DB_data_included.DFB across to a standby server where they can be used to recreate the database in the event of us needing to after e.g. a complete server failure.
    So I have a couple of questions about this that I would be very grateful if something could answer for me:
    1)     Is it possible? That is, can a database template be created from some utility by supplying a series of parameter=value pairs on the command line?
    2)     If yes how do I go about it, what utility do I use (the emca utility?). and what parameters do I need to supply on the command line to create the template?
    3)     The intention is that the script to create the template will run in the early hours of the morning when no-one is using the database but what state does the database need to be in when the template creation script runs i.e. up, down, mounted and does the creation of a template affect the state of an already up database i.e. if I kick off the template creation script and the database is up will it switch it into mount mode or anything like that? My concern here is that I want to make sure I understand exactly what is going on so that no users or connected external systems are affected?
    Thanks in anticipation of someone being able to guide me on what to do or what documentation to read.
    Also if you require any clarification on what i'm asking please post up your query and i'll respond ASAP.
    Kind Regards,
    George Johnston
    OCP 9i DBA

    Sybrandb,
    Firstly thanks for you reponse.
    However, I don’t agree that dbca only creates empty databases otherwise why does the option to create a template from an existing database (structure as well as data) exist in the dbca wizard?
    I have performed a test case where I have a created a database template including data on one 10g server. I have then used the files generated to recreate that database on a separate server. When the new database is started it is an exact copy of the original. So it’s not empty at all , it’s exactly what the client wants.
    So I don’t agree that I’m gaining zero.
    Why is this approach doomed to fail?
    There a number of reasons why I “just set up a proper standby database”
    1.     Time – I’m on a customer site in a tight engagement where the customer wants maximum value for money. I don’t have standby database skills and the customer isn’t willing to pay for me to learn on the job so please understand the tight circumstances I’m working in.
    2.     Availability – As far as I know the client is running 10.2.0.3.0 standard edition. Correct me if I’m wrong but is standby db available in that edition. Where do I look to check V$OPTION.
    On the RMAN duplicating a database front it’s an area I haven’t used before but I will take a look at it.
    Also please revisit the context of my original posting where I state
    The background to this is that we will also be using RMAN to take backups of the database concerned but the client does not want to wait while an RMAN backup is restored and so wants an additional level of insurance in the form of a ‘standby’ clone database.
    So please understand that this a quick fix that the client wants developed in the minimum time possible in ADDITION to a full nightly RMAN backup being taken.
    In an ideal world I’d have the time to follow best practice but in the real world of on-site customer support I just need to get the job done operating under the customer imposed constraints.
    Many Thanks,
    George Johnston
    OCP 9i DBA

  • How do I create a new template without creating a new document?

    I already have my document typed up but I would like to create a new template in the same document I'm using but when ever I do, it creates a new window claiming it's a new document. Suggestions?

    Be careful on unlocking and deleting stuff, cause this very easily can destroy the layout and your current arrangement
    About dimensions, If i am not mistaken, i read on another thread that this cannot be happen.

Maybe you are looking for

  • Cisco 9971 Not Registering on CUCM 8.6

    Hey, Ive run into some trouble with a 9971 phone running on CUCM 8.6. The phone has been registered with the server before with its settings locked down so the access to the settings menu via the phone has been disabled. Around a few weeks later the

  • Can you restore your purchases you have made on iTunes?

    Is iot posible to restore a purchase from iTunes? A few months ago when I liked a certain band, I had downloaded their album. I don't like them anymore and I was wondering if it would be possible to restore that purchase and get the money back that I

  • Help on SQL requested

    Hi, I have two tables where the data looks like below : Table 1: SalesOrder     SalesProduct     SalesDate S1     P1     20110328 S2     P1     20110329 S3     P1     20110330 Table 2 : IP_Product     IP_Date     IP_Qty P1     20110328     10 P1     

  • Exclude Pub Items from Compose

    G'day all, Do you know how to exclude a certain Publication Item during MGP compose cycle? I have a PI that only receive data from clients and it does not need to bring the data back to clients. This PI unfortunately is the biggest data submitted, so

  • Req. FMS

    Hi , I am using SAP 2007 PL 18 , In a Goods Issue Form I am created two UDF 1) Vendor Name (U_BPNAME) 2) Work Order Nos . (U_WONO) here my client requirement is when they select vender name(UDF) in Goods Issue form  and after that when they go to Wor