Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-03-02 11:46:58

oliverker
Plugin Author
From: Huddersfield
Registered: 2008-07-14
Posts: 90
Website

[request] Company address and details

Is there a plug-in that I can enter the company’s address details, telephone number etc in one place, and that the user can update at anytime.
I have thought about pvc_users_info but doesn’t quite work. It would be good to have an individual field, for company name, Address line 1, address line 2, Town/City and so on, so that the address can be easily formated in to a single line or given breaks in different formats across the site?

I’m no programer, so couldn’t make this, has anyone got a solution or made a similar plug in?

Thanks

Offline

#2 2009-03-02 14:03:04

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: [request] Company address and details

You could use custom fields.

Offline

#3 2009-03-02 14:15:38

oliverker
Plugin Author
From: Huddersfield
Registered: 2008-07-14
Posts: 90
Website

Re: [request] Company address and details

jm wrote:

You could use custom fields.

Thought of this too, but this will use up unnecessary custom fields which I use for file attachments etc that are best to relate with the article.

Thanks though

Offline

#4 2009-03-02 19:32:55

qrayg
Member
From: USA
Registered: 2004-08-27
Posts: 81
Website

Re: [request] Company address and details

There’s a ton of ways to do this. Here’s one off the top of my head… Create an article that has the info, assign it to a new section and call it like this:

<txp:article_custom section="client-info" id="X" />

Replace X with the id of the article.

Set up the article so that the info is easily transformable with CSS:

*(list-address) Company name
* Address line 1
* Address line 2
* Phone

etc.

Last edited by qrayg (2009-03-02 19:35:40)

Offline

#5 2009-03-03 10:33:23

oliverker
Plugin Author
From: Huddersfield
Registered: 2008-07-14
Posts: 90
Website

Re: [request] Company address and details

@qrayg

Thats a good idea and fix, but if i wanted to use the phone number on its own or something, it will start to get quite labour intensive creating individual articles for address, phone number, etc clients would want to see all details on one page?

Is there anyone out there that could make this plug in that has a page in extensions or somewhere for company details, much like pvc_users_info but just for address’ and details? if so how much would it cost to develop?

Thanks
Oliver

Offline

#6 2009-03-03 13:11:18

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: [request] Company address and details

How about using TXP variables? adi_variables will give you a tab under Content to store & edit variables which can then be used throughout the whole site.

Offline

#7 2009-03-03 14:07:56

oliverker
Plugin Author
From: Huddersfield
Registered: 2008-07-14
Posts: 90
Website

Re: [request] Company address and details

gomedia wrote:

How about using TXP variables? adi_variables will give you a tab under Content to store & edit variables which can then be used throughout the whole site.

Cheers, That is a perfect solution – would be good to see one in the future under its own heading – contact details – but perfect.

Thanks

Offline

Board footer

Powered by FluxBB