# Contact data extension

**URL:** <https://www.ruby-forum.com/t/contact-data-extension/109608>\
**Category:** Radiant CMS\
**Created:** [July 17, 2007, 8:18am UTC](https://www.ruby-forum.com/t/contact-data-extension/109608 "2007-07-17T08:18:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Pyschny](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/4da419/32.png) [@Michael\_Pyschny](https://www.ruby-forum.com/u/Michael_Pyschny)\
**Post date:** [July 17, 2007, 8:18am UTC](https://www.ruby-forum.com/t/contact-data-extension/109608/1 "2007-07-17T08:18:00Z")

</div>

Hello Radiant Developers

Has somebody already written or heard of a contact data extension with  
all the wonderful (required) tags?

Cheers  
Michael

---

<div class="post-metadata">

**Author:** ![Michael\_Pyschny](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/4da419/32.png) [@Michael\_Pyschny](https://www.ruby-forum.com/u/Michael_Pyschny)\
**Post date:** [July 17, 2007, 4:02pm UTC](https://www.ruby-forum.com/t/contact-data-extension/109608/2 "2007-07-17T16:02:25Z")

</div>

Michael,

No, but I did something similar for KCKCC with the LDAP extension. All  
contact information was stored in the campus-wide LDAP directory.

Sean

---

<div class="post-metadata">

**Author:** ![Michael\_Pyschny](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/4da419/32.png) [@Michael\_Pyschny](https://www.ruby-forum.com/u/Michael_Pyschny)\
**Post date:** [July 17, 2007, 5:23pm UTC](https://www.ruby-forum.com/t/contact-data-extension/109608/3 "2007-07-17T17:23:37Z")

</div>

Has anyone found a way to work with a CSS background image where it  
can be inherited site wide, unless overwritten. I am using the  
page\_attachment extension, created a content part named image\_header,  
where I only have the URL code for the header image for that page. I  
then pull that into the CSS file. In theory, I was hoping that every  
page would inherit the home page’s URL (which it does), however, when  
I try and make a sub section header change, it does not take. Does  
anyone have any other ideas or know why this might be? I need the  
image to be in the CSS for formatting reasons. Otherwise it would be  
downright easy.  
-Mark

---

<div class="post-metadata">

**Author:** ![Michael\_Pyschny](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/4da419/32.png) [@Michael\_Pyschny](https://www.ruby-forum.com/u/Michael_Pyschny)\
**Post date:** [July 17, 2007, 5:27pm UTC](https://www.ruby-forum.com/t/contact-data-extension/109608/4 "2007-07-17T17:27:38Z")

</div>

Michael,

I’ve written a “Business Directory” extension which is used here:  
[http://www.diopa.org/church-finder](http://www.diopa.org/church-finder).

It’s not what you’re looking for exactly but it might be a useful  
example or starting point. You can check it out here:

[http://svn.fn-group.com/radiant\_extensions/directory/trunk](http://svn.fn-group.com/radiant_extensions/directory/trunk)  
(you might also look at the NHBA branch, there may be a more helpful  
stuff there)

Good luck,

Loren

---

<div class="post-metadata">

**Author:** ![Michael\_Pyschny](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/4da419/32.png) [@Michael\_Pyschny](https://www.ruby-forum.com/u/Michael_Pyschny)\
**Post date:** [July 17, 2007, 5:30pm UTC](https://www.ruby-forum.com/t/contact-data-extension/109608/5 "2007-07-17T17:30:38Z")

</div>

I’m not sure why what you describe doesn’t work, but you might  
consider using a CSS content part and just override the header CSS  
there. You do this by placing \<r:content part=“css” /\> within a

 block in the header of your document below any other CSS. . . Loren

---

<div class="post-metadata">

**Author:** ![Michael\_Pyschny](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/4da419/32.png) [@Michael\_Pyschny](https://www.ruby-forum.com/u/Michael_Pyschny)\
**Post date:** [July 17, 2007, 5:29pm UTC](https://www.ruby-forum.com/t/contact-data-extension/109608/6 "2007-07-17T17:29:38Z")

</div>

Mark,

I assume you’re doing something like this:

#header {  
background: url(\<r:attachment:link name=“background.gif”) top left  
no-repeat;  
}

Just make sure that the Radiant page that has your CSS is included in  
base Layout for all of your pages via a tag:

Note that you can edit the slug of the page to change its “extension”,  
and you should set its layout to be of content type “text/css”.

Cheers,  
Sean
