Scratch Pad for changes, projects, and ideas for Web Developers Studio and our clients. You are welcome to listen.
Wednesday, July 16, 2014
Can't view Swift intro videos in Windows
This article on Wired piqued my interest. Deflated somewhat that the developer videos can't be viewed on a Windows machine. Tell me I'm wrong.
Monday, February 27, 2012
Problem dragging an Illustrator File into a Photoshop File
Couldn't place or drag an .ai into a .psd file. Needed to re-save the .ai and in the Save As options click "Create PDF Compatible File" option. That seemed to do the trick.
Friday, January 6, 2012
Business Catalyst: Bookings and Webforms
The relationship between Business Catalyst Bookings and Web Forms is not straightforward, but I think I have it.
By default there is a form in Web Forms (under Modules in the main bar menu of the Admin area) called Booking form. (I think there are magic properties to attach this particular name to Bookings. Fair enough.)
Click into the Booking Form; a panel to select systems fields is presented, a rendering of the form (supposedly), then a column for the Action Box and Related actions.
The rendering of the form is apprently the same as if you Preview Webform and Get Web Form HTML Code. But it is NOT NECESSARILY the same as what is presented by the Customize Web Form option (I guess once you've customized it). Very strange. For example, I've added an input field named BookingAllocation to allow users to enter up to 3 guests under one booking. This field does NOT appear in the rendered version or the Preview Web Form display or the Get Web Form HTML Code.
Also, some difficulty to get extra fields to show up on the Confirmation page, verification email and system reports, possibly because I have copied the Booking Form into the Bookings Detail using Advanced Layout Customization. Could be that if I deleted it there, I could just use the Tag Insert Dropdown, but no way I'm changing it now.
In case I need to add a new field later:
You need to have the correct Custom field name, otherwise the form is presented to the user, but the inputted value isn't captured. In the case of the BookingAllocation, that's what it is. (Got that from a Business Catalyst forum I think.) For other fields that are unique to your booking form, here's the steps that I think work:
- Define the new field using the Booking Form Web Forms using the Custom Fields builder.
- Use the Get Web Form HTML Code dialog to get the new tablerow code. The field name will be something like CAT_Custom_328951.
- Put this in (1) the Customize Web Form version AND (2) the Modules, Bookings, Advanced Layout Customization, HTML version.
One more thing: Who uses Mr. in a collection form? This is assumed in the name fields so customization is required for everyone.
I can view the additional fields entered by a customer here:
- one at a time using Modules, Customers, Bookings, View from a line OR
- together by building a report and include (in the Filter by Fields screen which is presented AFTER we choose fields) the Booking Form Custom CRM Form Filter: Booking Form.
Note: Modules, Bookings, View list of Subscribers only gives the Customer data, not the custom booking fields.
Oh, and let's not forget to mention the OPTIN=true parm on the action of the form. This is required to NOT send a confirmation email requiring another step from the customer booking the event. Here's the full action:
action="/FormProcessv2.aspx?WebFormID=54625&OID={module_oid}&OTYPE={module_otype}&EID={module_eid}&CID={module_cid}&OPTIN=true
So I can change the booking form, add new fields and view the new fields entered by customers.
But I still think the relationship of Bookings and Web Forms is messy and counter-intuitive.
By default there is a form in Web Forms (under Modules in the main bar menu of the Admin area) called Booking form. (I think there are magic properties to attach this particular name to Bookings. Fair enough.)
Click into the Booking Form; a panel to select systems fields is presented, a rendering of the form (supposedly), then a column for the Action Box and Related actions.
The rendering of the form is apprently the same as if you Preview Webform and Get Web Form HTML Code. But it is NOT NECESSARILY the same as what is presented by the Customize Web Form option (I guess once you've customized it). Very strange. For example, I've added an input field named BookingAllocation to allow users to enter up to 3 guests under one booking. This field does NOT appear in the rendered version or the Preview Web Form display or the Get Web Form HTML Code.
Also, some difficulty to get extra fields to show up on the Confirmation page, verification email and system reports, possibly because I have copied the Booking Form into the Bookings Detail using Advanced Layout Customization. Could be that if I deleted it there, I could just use the Tag Insert Dropdown, but no way I'm changing it now.
In case I need to add a new field later:
You need to have the correct Custom field name, otherwise the form is presented to the user, but the inputted value isn't captured. In the case of the BookingAllocation, that's what it is. (Got that from a Business Catalyst forum I think.) For other fields that are unique to your booking form, here's the steps that I think work:
- Define the new field using the Booking Form Web Forms using the Custom Fields builder.
- Use the Get Web Form HTML Code dialog to get the new tablerow code. The field name will be something like CAT_Custom_328951.
- Put this in (1) the Customize Web Form version AND (2) the Modules, Bookings, Advanced Layout Customization, HTML version.
One more thing: Who uses Mr. in a collection form? This is assumed in the name fields so customization is required for everyone.
I can view the additional fields entered by a customer here:
- one at a time using Modules, Customers, Bookings, View from a line OR
- together by building a report and include (in the Filter by Fields screen which is presented AFTER we choose fields) the Booking Form Custom CRM Form Filter: Booking Form.
Note: Modules, Bookings, View list of Subscribers only gives the Customer data, not the custom booking fields.
Oh, and let's not forget to mention the OPTIN=true parm on the action of the form. This is required to NOT send a confirmation email requiring another step from the customer booking the event. Here's the full action:
action="/FormProcessv2.aspx?WebFormID=54625&OID={module_oid}&OTYPE={module_otype}&EID={module_eid}&CID={module_cid}&OPTIN=true
So I can change the booking form, add new fields and view the new fields entered by customers.
But I still think the relationship of Bookings and Web Forms is messy and counter-intuitive.
Wednesday, January 4, 2012
Business Catalyst--cobble together a test environment
Liking Business Catalyst up to now when I need to actually implement a client site. Although I knew before that the backup process was questionable, it's not until the prospect of having a live site without a stable test environment that forced me to try to create one.
Here's what I'm trying:
- I've created another site in the "Partner Portal" (Admin area, top menu, Partner Portal) and defined it to Dreamweaver as a "test server";
- I've loaded a Dreamweaver backup (regular FTP backups from say Filezilla don't work--the .dwt issue again);
- The Content Holders (Admin area, top menu, Admin) do not seem to active (not sure why, they did upload to the test site and are showing in the _System folder--perhaps because they are .html not .dwt?), so I'm placing their contents directly in the .dwt templates and deleting the Holders themelves--less to worry about when I need to recreate.
Here's what I'm trying:
- I've created another site in the "Partner Portal" (Admin area, top menu, Partner Portal) and defined it to Dreamweaver as a "test server";
- I've loaded a Dreamweaver backup (regular FTP backups from say Filezilla don't work--the .dwt issue again);
- The Content Holders (Admin area, top menu, Admin) do not seem to active (not sure why, they did upload to the test site and are showing in the _System folder--perhaps because they are .html not .dwt?), so I'm placing their contents directly in the .dwt templates and deleting the Holders themelves--less to worry about when I need to recreate.
Thursday, November 17, 2011
Problems with Cufon fonts and mega menu
Thanks to this bit of code
#primary_menu { position: relative !important; z-index: 9999 !important; }
#primary_menu { position: relative !important; z-index: 9999 !important; }
provided by Problems with Cufon fonts and menues in IE8 I got this mega menu working with my cufon heading.
Monday, October 24, 2011
My Custom Field Shortcode needed Parsing
Thanks for the how-to goes to Parse Shortcodes in your Custom Fields.
Friday, October 14, 2011
Business Catalyst: How to connect an email address to a form
Not straight-forward:
- Create the User (email only to not pay as another user)
- Create a Role
- Create a Workflow
- Create a Form
- In the form, click on the form title to get to the "Use Workflow? (?)" details dialog. (This should be available from the Action Box, but it's not.)
Thursday, September 29, 2011
Floated items and side li tag margin collapse
Lots of discussion about top and bottom margin collapsing. But I'm most often disoriented when I encounter a li near a floated image. Typically the image is floated left, but I don't want or need to float what's surrounding it. Most of the other elements look fine jammed up against the image margin. Not the LI's. I want them tucked in a bit more, but their margin starts at the beginning of the floated image, so usually there's no margin at all.
Here's a little fiddle to illuminate.
This fellow has the answer:
.entry-content li {
left: 50px;
position: relative;
}
Here's a little fiddle to illuminate.
This fellow has the answer:
.entry-content li {
left: 50px;
position: relative;
}
Thursday, September 8, 2011
Business Catalyst: How to stop sections from being editable
Business Catalyst arbitrarily decides to make sections editable with their "Site Editor" (was "In-Context-Editor"). They pick odd portions: banner headings, logos, etc. They give a rather lame mechanism to remove these, but it doesn't always work, e.g. if the editable-section happens to be just an image.
To remove the in-context-editing, create a "content module" from the section of the template that is wrongly editable, load the piece of code to that and "Add modules to the Template".
Specifically in the Admin dashboard, top menu Admin, Manage Site-Wide Templates...
Manage Content Holders is in the same general area.
Update 10/18/2011: Also try removing "permission" to manipulate the template in the Role for the User level.
To remove the in-context-editing, create a "content module" from the section of the template that is wrongly editable, load the piece of code to that and "Add modules to the Template".
Specifically in the Admin dashboard, top menu Admin, Manage Site-Wide Templates...
Manage Content Holders is in the same general area.
Update 10/18/2011: Also try removing "permission" to manipulate the template in the Role for the User level.
Sunday, September 4, 2011
Tuesday, August 16, 2011
Adwords conversion amount
Google Adwords conversion tracking widget either added or allowed me to add a dollar sign ($) to the conversion amount. (I don't think I would have thought to put it in myself, but I might have.) Anyway, Dreamweaver gave a syntax error on an if and assignment statement using the $.
I first just removed the symbol from the javascript (which as it turns out would probably have been fine), but I had a thought that it might not work correctly with whatever's going on back at Google.) All I needed to do was to go back into the widget and remove the $ from the little input box. But before I thought to do that, I wasted some time Googling for answers.
If someone is using a plain editor that doesn't catch syntax errors, I imagine they might have a problem with their conversions running properly.
I first just removed the symbol from the javascript (which as it turns out would probably have been fine), but I had a thought that it might not work correctly with whatever's going on back at Google.) All I needed to do was to go back into the widget and remove the $ from the little input box. But before I thought to do that, I wasted some time Googling for answers.
If someone is using a plain editor that doesn't catch syntax errors, I imagine they might have a problem with their conversions running properly.
Labels:
adwords,
conversions,
dollar sign,
dreamweaver,
javascript
Thursday, August 11, 2011
The Ultimate Collection of 50+ Resources for Grid Lovers | Design Shack
The Ultimate Collection of 50+ Resources for Grid Lovers | Design Shack
http://lessframework.com/ default width: 992px optimizes for mobile
Friday, July 29, 2011
Where is my new Windows 7 Library?
If you created a new Windows 7 library, but can't see it in the Library list, it may be hidden.
Try this:
from Windows Explorer Menu, click Tools, Folder Options, View Tab, check "Show hidden files, folders, and drives".
Why would Windows 7 provide the ability to add a new library folder, then hide it by default? Even if I choose to hide system folders and files, I certainly don't want to hide a library I just created.
To add insult to injury, use a comma before the "and" in a list. Although this video suggests that depends on if you are following the Chicago Manual of Style or the Associated Press Guide. But I'm firmly in the "no comma" school.
Try this:
from Windows Explorer Menu, click Tools, Folder Options, View Tab, check "Show hidden files, folders, and drives".
Why would Windows 7 provide the ability to add a new library folder, then hide it by default? Even if I choose to hide system folders and files, I certainly don't want to hide a library I just created.
To add insult to injury, use a comma before the "and" in a list. Although this video suggests that depends on if you are following the Chicago Manual of Style or the Associated Press Guide. But I'm firmly in the "no comma" school.
Wednesday, July 13, 2011
Image corrupt or truncated: , Firefox 4
Image corrupt or truncated: <unknown>, Firefox 4
This fellow got it right. It's the favicon, need to get the link in the heading and the .ico file in the right spot.
Sunday, July 10, 2011
Performance: HP Desktop Disk and Memory Usage
Still difficulties with Windows 7, HP Pavilion Desktop--timeouts on all browsers, Windows file renames often send the darn thing into paralysis.
What's up with that? Some lines of investigation:
From Start, Control Panel, Review your computer's status, View performance information. Got a lowest score of 3.6 for graphics memory. Maybe the two huge screens are hindering performance?
Also from the Chrome Wench, Tools, Task Manger (shows active pages and Plugins), click "Stats for Nerds" to see memory usage for the other browsers too. How does it know what's outside of itself? Hmmm...
....so of course, need to download more utilities
What's up with that? Some lines of investigation:
From Start, Control Panel, Review your computer's status, View performance information. Got a lowest score of 3.6 for graphics memory. Maybe the two huge screens are hindering performance?
Also from the Chrome Wench, Tools, Task Manger (shows active pages and Plugins), click "Stats for Nerds" to see memory usage for the other browsers too. How does it know what's outside of itself? Hmmm...
....so of course, need to download more utilities
WinDirStat (why do I keep thinking ManBearPig?) is a great filesize visualizer.
Wednesday, July 6, 2011
Adobe Business Catalyst Notes and Tips
In context editing not working for a section? Could be a few things; this last one is that it does not like "float" on a "p" tag.
Can't get rid of an editable section? This page Identifying the default editable regions in InContext Editing describes the process of BC walking through the site on import looking for editable regions. Not good: it took silly examples, like the site's logo (which was clearly defined as "logo".) Only way I could see to remove the incontext editing sections was to redefine their container from a div to a p or remove the div container althogether.
Update: Doesn't always work..... Inexplicably spans and p tags still insist on being editable although the page above says these tags are never directly editable.
Can't "Put" a template in Dreamweaver? Must activate the Business Catalyst module. This would be an obvious point, except that the site's CSS files can be updated without having this live. Can also seem to get all files. But the DreamWeaver Put for a site Template doesn't work without Window -> Business Catalyst.
Adobe Business Catalyst
Can't get rid of an editable section? This page Identifying the default editable regions in InContext Editing describes the process of BC walking through the site on import looking for editable regions. Not good: it took silly examples, like the site's logo (which was clearly defined as "logo".) Only way I could see to remove the incontext editing sections was to redefine their container from a div to a p or remove the div container althogether.
Update: Doesn't always work..... Inexplicably spans and p tags still insist on being editable although the page above says these tags are never directly editable.
Can't "Put" a template in Dreamweaver? Must activate the Business Catalyst module. This would be an obvious point, except that the site's CSS files can be updated without having this live. Can also seem to get all files. But the DreamWeaver Put for a site Template doesn't work without Window -> Business Catalyst.
Downloading the file set via FTP brings down the Templates folder files as .html while on the remote server the Templates folder holds dwt files. Why? Dunno. But don't take files down w/FileZilla--use DW Get for the whole shabang.
I Got the Google Plusone Button Blues
Just wasted a couple of hours on this. Doesn't show on the two serious pages I tried it on (perhaps because they already contain complex javascript), viewed from my local drive on any browser or on a non-local server.
But a super simple test file with only the script and the button, shows up on Safari when viewed directly from my local drive, but not in Chrome, Firefox, or IE9. When viewed from a test server, it shows up fine.
Apparently, I'm not the only one. Not quite ready for prime time I think.
Dreamweaver adds blank lines to code esp. JS
Always bugged me that after opening a file in another editor, for me typically Notepad++, sections of the code were double and triple spaced.
Sometimes just opening in Design mode would cause the problem next time. Since I don't often use Design Mode, I changed Preferences -> File Types / Editors -> "Open in code view:" to include .html as the first line. Seemed to help with a quick open and close of DW test.
Wednesday, June 8, 2011
Links in a floated div not clickable in Firefox or Safari?
Check that the adjacent div has a width and is also floated. Otherwise it seems to "overlay" the div disabling the anchor tags.
Sunday, May 22, 2011
How to Get Almost All Google Services In Google Apps - Upgrade Google Apps
How to Get Almost All Google Services In Google Apps - Upgrade Google Apps
What if there's no admin account; just the client account?
Subscribe to:
Posts (Atom)