how to show content of two text fields, each with multiple values, alternating between fields

Hello,

I hope this is a simple fix, but I cannot get my head round it!

I have two text fields in a custom content type. For a clean example these could be 'Ingredients' and 'Quantity'. Each has multiple values allowable in the 'add content' screen.

I would like the output on my content node to be a panel that looks like this...

Ingredients_value_one
Quantity_value_one
Ingredients_value_two
Quantity_value_two
Ingredients_value_three
Quantity_value_three
etc.

This means I can style the Ingredients terms in one way and the Quantity terms in another using css (bold in this example).

Currently I simply have an 'Ingredients' field which is long text, and the user is required to wrap each line in div tags to apply the style, ie

<div id="ingred">Ingredients_value_one</div>
<div id="quant">Quantity_value_one</div>
<div id="ingred">Ingredients_value_two</div>
<div id="quant">Quantity_value_two</div>
<div id="ingred">Ingredients_value_three</div>
<div id="quant">Quantity_value_three</div>

and then target the divs with css. This works perfectly as I can style the ingredients and quantities independently. The problem is this requires the user to be able to add the HTML which invariably goes wrong!

I can't think how to do this, but hopefully someone else can solve this!

Thanks

need to know how to identify forum ID's

hello all,

i am trying to style my forums with Panels. mainly i really want to add a predicating image beside each forum in the list of forums.

i am editing the page (via panels/pages,)

when previewing the forum, in an effort to find out where i stand along the page editing of the forums, i get the following,
"Get a preview of what this variant will look like.
Forum (%forum)

Enter the forum ID of a form for this argument"

Show recent content like on this website

Hello,

I need help with styling Recent content block. I put it in Header region.

Now i want to show recent content like on this site:

http://vukajlija.com/
(Below ad 470x60)

Want to show only titles, one next to other...

Someone have any suggestion?

Thank you!

billing info

who knows how i can delete billing information form in ubercart?

Can I use an outside CMS within a Drupal framework?

I have a question on Drupal 7 capabilities I hope someone may be able to answer. I'm currently managing a project that involves creating a public and customer site, sharing certain content areas. We are not using Drupal as the customer CMS, rather we have an outside cms that is ajax/.net based and needs to pull through and display within a Drupal framework. So picture a top menu, footer, and right side content all managed by drupal, but the body content is a non-drupal customer ui for account administration.

Display certain content as an article on a page, that is not <front>.

In my site created in Drupal 7:
I created a content type called "Article_Activities".
With it, the activity committee can inform visitors to the site about upcomming activities.
Using the block "Recent Content" I can display content of this type on the frontpage.

I am planning to create more content-types like that (i.e. "Article_Management", "Article_Maintenance", etc.).
Content of these types will also be posted as "Recent Content" on the frontpage.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x