[Pro] In-line mark-up item

Hi, all. Since I’m suddenly faced with the prospect of recreating several years’ worth of blog-type material. I’m thinking of making a single page for entries, with a variable-length container that would adjust the page length to the amount of content. Is it possible to place a mark-up item in-line in an HTML item with a background tile image (in the HTML item) that cause the HTML item to grow with the content of the mark-up item? If I insert another HTML item in the first, containing text and images, it works fine. If I use PHP to place the same content into a mark-up item, it merely overflows the mark-up item without affecting its parent HTML item.
Alternatively, is there some other strategy for doing what I’m trying to accomplish?

Thanks, David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If you put an HTML Markup item inline in an HTML box, you will almost surely end up with illegal HTML unless your PHP snippet only outputs text. Freeway wraps all inline Markup Items in a P tag (or whatever analog you style it as – H1-6 or list item). My CrowBar Action is a handy substitute for a Markup Item when you need to output something more complex, like a series of paragraphs or inline DIVs.

In any case, you need to disable the height attribute from all of the boxes in your inline construction. Before you do that, make sure there is some content in each box, otherwise it collapses to 0px tall and becomes nearly un-selectable. In the Inspector, left-most tab, click on the icon left of the Height field (up/down arrow icon) until the field and its value gray out and become unelectable. Freeway will output the style for the DIV without any value set for the height. This makes the DIV stretch to fit its contents.

Walter

On Sep 24, 2012, at 11:13 AM, David wrote:

Hi, all. Since I’m suddenly faced with the prospect of recreating several years’ worth of blog-type material. I’m thinking of making a single page for entries, with a variable-length container that would adjust the page length to the amount of content. Is it possible to place a mark-up item in-line in an HTML item with a background tile image (in the HTML item) that cause the HTML item to grow with the content of the mark-up item? If I insert another HTML item in the first, containing text and images, it works fine. If I use PHP to place the same content into a mark-up item, it merely overflows the mark-up item without affecting its parent HTML item.
Alternatively, is there some other strategy for doing what I’m trying to accomplish?

Thanks, David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Walter,

I was looking at your “Template Actions,” and something caught my eye. When I was working on the Christian Caine website last year, I tried, as you suggested, to get rid of iframes and incorporate the php elements directly into the page code. The problem I encountered was that I had graphic elements in both places, and the ID’s were the same in some cases. I was getting the same graphic used in two places, with strange results. Is that the kind of thing your “Classify” action prevents?

Thanks, David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Classify lets you assign your own ID (you’re responsible for making sure it is legal) to any element in the page, even those that Freeway won’t directly assign, like table cells. You can also add a class to an element without hopping through the Extended dialog. Neither one of those features will help what I think is happening to you. Freeway’s IDs are page-unique (as per the spec) but not document-unique. You’ll need to work through all the elements in your template “partials” and make sure that they are given unique Title attributes in the Inspector – that’s what Freeway labels the field that creates the ID – or don’t have an ID attribute at all (TemplateHelper in Partial mode can create these anonymous elements).

Walter

On Sep 24, 2012, at 1:14 PM, David wrote:

Walter,

I was looking at your “Template Actions,” and something caught my eye. When I was working on the Christian Caine website last year, I tried, as you suggested, to get rid of iframes and incorporate the php elements directly into the page code. The problem I encountered was that I had graphic elements in both places, and the ID’s were the same in some cases. I was getting the same graphic used in two places, with strange results. Is that the kind of thing your “Classify” action prevents?

Thanks, David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options