Sparse templates (when adding page types)

I'm not sure if this has already been posted in the forum, but I discovered it as I dealt with the growing number of templates, v1.1 templates, and custom templates that my iWeb now has. Also helps stub out the v1.1 'Blank' page type for older custom templates.
When adding templates to iWeb, iWeb seems to like it's TemplatesInfo.plist to contain EVERY page type for EVERY template. However, as I'm developing a new template, I sometimes like to have just a few page types defined... or, sometimes I create a simple template for a simple site that only has a couple of page types.
So, when I am defining the new entries for each template within a page type, I specify a bogus filename (I use "Unavailable.webtemplate") for any entry where I don't have that page type / template combination. For example, if my "DogDays" template only has a Welcome and Blog page type, then in every other page type the DogDays template's entry will use the bogus filename.
Pictures help make this much more clear, so here's a page that I posted to remind me how to add a new page type... I use the bogus "Unavailable.webtemplate" in the example:
http://web.mac.com/dovinci/iWeb/dovinci/New%20Page%20Types.html
It also shows what the "page picker" in iWeb looks like.
Mac Mini, PowerBook, MacBook Pro   Mac OS X (10.4.6)  

Hi,
The design for a calendar date box is determined by the "formRegionBody" class style (at least according to theme 12). You, therefore, need to update this.
In theme 12 ("Blue"), this is defined in the css as:
.formRegionBody {
font-size:12px;
font-weight:normal;
color:#285577;
background-color:#D7DFE6;
border-left:1px solid #BFBFBF; border-top:1px solid #BFBFBF;
border-right:1px solid #FFFFFF;border-bottom:1px solid #FFFFFF;
You can either update the css or add the above in a style tag on your calendar page (adjusting the colours as required).
Regards
Andy

Similar Messages

  • Zoom settings change when adding pages

    Hi
    When adding a page to a document with this code:
    app.activeDocument.pages.add(LocationOptions.AT_END);
    InDesign automatically reverts the zoom setting to FIT_TO_PAGE
    Is there a way to prevent this from happening?
    I would like that it should stay at whatever it was.
    Help will be much appreciated!
    Thanks,
    Davey

    Davey_Doo wrote:
    1) is there a difference between what I wrote "layoutWindows[0]" and what you wrote "windows[0]"?
    Yup, "layoutWindows" refer to just the layout windows -- the ones one is normally working in. The other kind is "storyWindows", which is what you get when you open a text in the "Story Editor". There are vast differences between the two, such as "zoom" (you cannot zoom in on the story editor window).
    Using "windows", without specifying the kind, you get a list containing both types; and using "windows[0]", you get the very first one, whether it is a story window or a layout window. Then, if it happens to be a story window, csm_phil's script will Crash & Burn because you cannot zoom in on a story window.
    Your version will work correctly, and just in case you might have a story editor window open, it's best to stick to "layoutWindows" if you want to change a layout window property.
    2) Although this does help, is there a way to prevent it from happening?
         The reason I ask is because in a script which adds many pages, (e.g., MultiPageImporter script), the script needs to do this after adding each page.
    No, you cannot prevent it in any way. It's just ID's default built-in behavior (although it seems strange that this only happens when using a script!).
    But I disagree with your assessment it needs to be done "after adding each page". ID does not store the zoom percentage for each separate page and so it is enough to read the current zoom, add as much pages as you like, then set the zoom.

  • InDesign CS5 crashes when adding pages - is there an answer yet?

    Having scouted around I can see lots of people have this (or a similar) problem, but with far more specific circumstances than mine - e.g. in templates, or with documents created in previous versions, or when adding more than 10 pages, etc.
    Mine is a 'virgin' CS5 install, I've been away since PageMaker 6.5 and I'm not trying to salvage any of that stuff! Every time I try to add pages in the middle of a document it crashes, regardless of how many I try to add. A work around which sometimes works is to add them at the end of a document and then drag them to where they are needed.
    Looks like this problem is widespread, I see lots of people talking about it going back almost a year, but can find no mention of it or possible solutions from Adobe. Are these forums just a sop to the user, a place to moan and vent without ever getting answers or acknowledgement that a problem exists? No offence Adobe, but I don't have time to join a community or spend hours on forums, I'm too busy. I need software that works and timely answers.

    Pixate wrote:
    Looks like this problem is widespread, I see lots of people talking about it going back almost a year, but can find no mention of it or possible solutions from Adobe. Are these forums just a sop to the user, a place to moan and vent without ever getting answers or acknowledgement that a problem exists? No offence Adobe, but I don't have time to join a community or spend hours on forums, I'm too busy. I need software that works and timely answers.
    First, I don't recal more than one or two threads reporting a problem like this that wasn't related to some sort of configuration issue on the user's machine (notably the 3-column master issue that John has mentioned), and that hardly qualifies as "widespread" around here. Poviding full details about what version of ID, including the patch level, and your OS, along with exactly what you are doing, what happens, and any error messages you receive, and what you've already tried to solve the problem, will get you better help faster.
    Second, you are not talkint to Adobe here. If you want to waste your time talking to tech support, you need to do that on the phone. The people here are user volunteers. We don't write the code and have no influence over what happens in engineering, but we do have a lot of collective real world experience that gladly share, and there are very few problems other than genuine bugs that we don't solve. But if you don't have time to participate in the community there's a pretty good chance the community won't find time for you.

  • [JS CS3] Page side when adding pages

    Hello all,
    I am using a script to remove oversets by adding pages with linked text frames to the end of the document. When I am done removing the oversets, I check to make sure the document ends on a left page; if not, I am using the code below to add an extra page. However, the page ends up as a second right hand page right next to the previous one. How do I ensure that the page I add is a left-hand page. Thanks in advance.
    Rick Quatro
    rick at frameexpert dot com
    585-659-8267
    // Set a variable for the active document.
    var oDoc = app.activeDocument;
    // Call a function to remove the oversets
    // Make sure the document ends on a left page.
    if (oDoc.pages[-1].side == PageSideOptions.RIGHT_HAND)
    AddPageAndLinkedTextFrame(oDoc);
    function AddPageAndLinkedTextFrame(oDoc)
    var oPage = oDoc.pages.add(LocationOptions.AFTER,oDoc.pages[-1]);
    var oTextFrame = oPage.textFrames.add();
    oTextFrame.geometricBounds = GetPageMarginBounds(oDoc,oPage);
    oTextFrame.previousTextFrame = oDoc.pages[-2].textFrames[0];

    in "standard" document - without page shuffling, etc. - you can do something like this (VB):
    if mydoc.pages.item(a) mod 2 then
    ' right page
    else
    ' left page
    endif
    robin
    www.adobescripts.com

  • Page side varies when adding pages

    Dear all,
    When i add pages in stacked document that will starts in left hand side as in the below screenshot
    it will change as right hand and new pages will inserted in left hand as below when added thru script
    of same spread but when do manually it ll insert correctly as below
    Please help me to do thru script as above.
    Thanks in advance,
    Sankar

    Shankar, activate the Pages window by press the F12 key.
    Activate the "Allow Document Pages to Shuffle"
    Activate the "Allow Selected Spread to Shuffle"
    As per the below screenshot. Hope it helps.

  • When adding pages, keeping size the same

    It seemed so easy but, NO. How does one attach pages from a file and keep the pages the same size?

    I may not described my problem clearly. The last page of the document I wish to add to, when it is displayed full-screen is shown to be 18.4% (Zoom to page level). The first page of the new document (File) I want to add, when it is displayed full screen, is shown to be 71.1% (Zoom to page level). The result of adding the new page is that, when the complete document is viewed, the last page (the newly-added page) is miniscule, compared to the preceding page. I simply do not have enough experience to figure out what to do.

  • New page ignored when adding Application type items

    Is it a bug or a feature?
    When I add an item of type "Application type" and I enter "Link That Displays Item In New Browser Window" the application is still opened in the window with the folder.
    Using Portal 3.0.8 ....

    Works fine in 3.0.9. Do you mean "Application Component" type?
    Regards,
    Jerry

  • Missing fonts warning when adding pages to a book

    I have a book with 13 documents added and 105 total pages. I have 10 master pages set up, and each time I add (or delete) pages to a document, I get warning: "The document <doc>.indd needs to be updated but has missing fonts. It may recompose with a default substitute font and result in inacurate page numbers. Do you want to continue updating numbering?"  If I click OK to continue updating the numbering, sometimes an extra page gets added somewhere else in the document. Preflight Book is not showing any errors and I also tried looking at the preflight panel in each of the 13 documents. Neither says anything about a missing font. How else can I find it? Thanks!

    It could be in overset text (though preflight should see that) or in a style not currently in use. Are you sure the priflight profile is looking for missing fonts, bucasue is really does sound like there is substitution ocurring. Also, have you looked in Type > Find Font.
    If none of that is fruitful, I'd try exporting each of the documents to .inx or .idml, then opening those and saving as new .indd docs. Add the new docs to a new book and see if you still get errors.

  • How to apply Template to added Page?

    I am building a multi-page InDesign document with scripting and each page has a different template.  Obviously, getting the first page set-up with the template is a snap as you just open the template, but when I add the next page using: app.activeDocument.pages.add()  how would I apply a new template for this 2nd page in the document?
    Thanks in advance for any help provided.

    It's possible to make page items or regions conditional on the page not being a page number that you specify.
    Head to your page 0, and look for the relevant item in your conditionals list. Select it and specify your login page number in there and all should be well!
    Ben

  • Dump template when change page

    Hi all,
    I create a template. To freeze the first column of my request I must enter a number on the property u201CNumber of data Columns Displayed at Onceu201D of the web analysis item.
    But when I put data in my template, I canu2019t change page.
    There is a bug:
    The initial exception that caused the request to fail was: 
    java.lang.NullPointerException
    What is going on?
    Thanks & Regards,
    Benjamin
    Edited by: Benjamin Gravouil on May 22, 2008 9:03 AM

    I have just seen the source of the problem.
    I enter 5 on the web analysis property "Number of new lines". We can't have new line with paging....
    When I don't have new line, the paging work very well....
    Has anybody ever had this problem ?
    Thx
    Benjamin

  • Running calculation totals when adding pages

    http://www.funkylogic.co.uk/equity.pdf
    In a nutshell what I want to achieve is this: a cleint may own several properties, and have different percentage holding on each. Each property has a separate page of questions (the PDF above is that page). The first part of the equation is to calculate up the total equity in the property (TotEquity), and then based on the percentage holding (TotInterest), work out the individuals equity share for that property (TotalB). The form has the option to tell us about another property (addInstance), and we then have a second page with its own calculations and a new TotalB. This TotalB then becomes a running total for all pages added. Please can anyone help??

    Hi,
    Here is a version of the form: https://acrobat.com/#d=b*01ko6g2gn8Jqns9D1Hhg
    It shows how to loop through the instances of Page1. It does not appear to be working correctly (by my eye anyway). I am not convinced of multiplying the two values in the script.
    Hopefully it will give you a direction.
    A couple of things: I would not be inclined to name pages with a capital 'P' (Master pages are 'Page1'), I tend to name design pages as 'page1'. The font you are using is adding to the file size. Something like Myriad Pro is much smaller.
    Niall

  • Objects move when adding pages

    When I add/remove pages, or just move pages around in my document using the Pages panel, random objects on some pages move. They normally move just a slight amount, and stay with the page, but it is very annoying. I never know which objects will move, and I have to spend a lot of time trying to find the ones that have moved. Then if I move pages again, or add/remove pages, other random objects move. Does anyone else have this problem, or know how to stop it?
    Thanks!

    Try sending one of these files through .idml and see if it makes a difference. See http://forums.adobe.com/thread/526991  You may also want to try replacing the preferences. See http://forums.adobe.com/thread/526990  If you don't know what layout adjustment is, it's not likely that you've turned it on, and it probably wouldn't do this anyway except to move objects snapped to guides on master pages that have different left/right layouts.

  • ID CS6 crashes when adding page

    This has happened several times today. When I add a page ID crashes and I get this message:
    Problem signature:
      Problem Event Name:    APPCRASH
      Application Name:    InDesign.exe
      Application Version:    8.0.1.406
      Application Timestamp:    50335e39
      Fault Module Name:    TEXT.RPLN
      Fault Module Version:    8.0.1.406
      Fault Module Timestamp:    50336251
      Exception Code:    c0000005
      Exception Offset:    0029369b
      OS Version:    6.1.7601.2.1.0.256.48
      Locale ID:    1033
    plus some Additional Information
    anyone else having this problem?

    I'm also having these crashes whenever I try to add a single page to my document. If add 2 pages (or a even nunber os pages) everything goes fine.

  • CS6 freezes when adding page

    Mac OSX 10.7.5 using ID CS6
    When I try to Layout>Page>Add Page or Insert Pages etc. ID freezes. 
    All ID updates are installed.  Only fix tried so far was to restore preferences.
    Any help would be appreciated.  Have a deadline tonight, of course.

    More likley it's still file damage. Try rebooting and trash the prefs again. In case you don't know how to do that correctly, see Replace Your Preferences
    You might also want to look at Adobe Forums: InDesign CS5.5 Not Responding for instructions on how to generate a crash from your freeze and get the reports.

  • Adding pages to iWeb

    when adding page to iweb, how do i move the name of the new page off of the top of the home page?  looking to have it on the bottom of the page..  thanks!

    Are you referring to the navbar at the top which are links to each page in the site?  If so then you'll have to deactivate (not include)  the navbar on each of the pages in the Inspector/Page/Page pane:
    Click to view full size
    and create your own Text Based Navbar which you can position anywhere.  However, there is a drawback to having the navbar at the bottom:  if the page is longer than the browser's window a visitor would have to scroll down the page to get to the navbar in order to go to a new page. That's not good web page design. 
    However, if the pages are long then having a navbar at the top and bottom is wise.
    OT

Maybe you are looking for

  • Report Manager issue in FSG and WEB ADI

    We have four Application Instances and one Database with R12.0.6 and DB version 11.1.0.7 with Load balancer Configuration. The Application is running fine with Load balancer configuration, But we are facing the below issue with report manager. Even W

  • Failure chain in xml report is missing

    The failure chain within the xml report is longer coming up in the report. Where is this option set or how to insure it is functioning properly.

  • Call SmartForm in RFC

    We have a RFC calling a smartform and passing parameters to it. But I just cannot get the right results. It looks like an auth issue to me because the program works well using some account (say, UserA) but not well using other accounts(UserB). Howeve

  • How to use selection-screen in function module?

    Hello I've created a function module and i have to create within the function module a selection-screen(with select-options for entering data) but i get an error that within form routines and function modules this statement is not allowed. Can anybod

  • Call Transaction from Excel VBA macro and download ALV list object results

    I have a situation that must be very common u2013 but I canu2019t find any clear information on how to get it done!  We frequently run SAP transactions, download the results (orders or inventory) into Excel, do some calculations and create a spreadsh