Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-04-20 19:20:21

mhulse
Plugin Author
From: Eugene Oregon
Registered: 2005-01-21
Posts: 200

Helping a new user: Does TXP meet these requirements?

Hi all!

A friend of mine is thinking about using TXP to build a website… His questions are below in bold, and my answers are the sub-list items.

  • Multiple contributors with multiple levels of access.
  • Multiple blogs.
    • Are sections the best way to accomplish a multiple-blog site?
    • Need to make it so only certain sections/blogs display depending on user and/or user access level.
  • Portal entry point: Want static entry point/page that links to the different blogs/sections.
    • Yes, this is very possible. You could pull-in an entry, or entries, from each section/blog onto your homepage.
  • Photo galleries.
  • Document storage and download access.
  • Membership area with user account logins.
    • User login? Protected area that only logged-in users can see. Is there a good way to test for users logged-in? txp:if_logged_in?
  • Member-only commenting (commenting available only if user is logged-in.)
    • I have never built a TXP with member-only access… How possible is this? How easy would it be?
  • Member forms to update information.
    • Each member would have membership info that they can fill out and change (when logged-in.) Possible?
  • Complete site search-able.
  • Event calendar with event list that auto updates.
  • Also, need Google maps with ability to show name/address/phone for points on map.

That is about the best I can do for answering my friends questions… Any additional help/information would be greatly appreciated.

Many thanks in advance!!! :)

Cheers,
Micky

Last edited by mhulse (2008-04-20 19:28:47)

Offline

#2 2008-04-20 21:34:39

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,729
Website

Re: Helping a new user: Does TXP meet these requirements?

Files: you might want to look at Bloke’s smd_remote_file too if you want to store the files elsewhere.

Multiple Blogs: by “only certain things display” you mean on the back-end? I’ve only ever achieved this in a way that worked well through a hack to list only author’s own articles, images, files. If you mean front-end maybe rvm_if_privileged.

Membership Area: see igner’s ign_password_protect and mrdale’s excellent tutorial on building a client section (jstubbs here on the forum has done a more complex setup for Snooz tennis)

Event Calendar: there’s zem_event or jmc_event_manager for more complex needs (neither of which I’ve used myself). I’ve used msv_if_custom_article_date to roll my own simpler version.

Last edited by jakob (2008-04-20 21:39:01)


TXP Builders – finely-crafted code, design and txp

Offline

#3 2008-04-21 03:44:35

aslsw66
Member
From: Canberra, Australia
Registered: 2004-08-04
Posts: 342
Website

Re: Helping a new user: Does TXP meet these requirements?

For integration with Google Maps, see the Textbook article which is based on David Ramos’ work.

I have used this and it works well, even better with some tweaking.

Offline

#4 2008-04-21 04:06:35

mhulse
Plugin Author
From: Eugene Oregon
Registered: 2005-01-21
Posts: 200

Re: Helping a new user: Does TXP meet these requirements?

Great info jakob and aslsw66! Many thanks for the excellent advice and input. :)

I have sent my friend a link to this thread, so I think he is already listening to all of our feedback… I am hoping I can get him feeling like TXP is a good pick for his latest project — it seems like all his needs can be made possible (using txp) with the help of a few plugins and/or tutorials.

Thanks again!
Cheers,
Micky

Offline

#5 2008-04-29 17:47:24

idoremus
Member
From: NW United States
Registered: 2008-04-16
Posts: 19

Re: Helping a new user: Does TXP meet these requirements?

Hi, I am the friend that mhulse is helping. Thanks for the advice so far.

Re: “Portal entry point,” does anyone know of a way to change my “default Section” so that it doesn’t show all the new posts but rather a static page, like the “About Section?” I want this static page to be the root of my domain. Thanks in advance,
Ian

Offline

#6 2008-04-29 18:07:15

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: Helping a new user: Does TXP meet these requirements?

idoremus wrote:

Hi, I am the friend that mhulse is helping. Thanks for the advice so far.

Re: “Portal entry point,” does anyone know of a way to change my “default Section” so that it doesn’t show all the new posts but rather a static page, like the “About Section?” I want this static page to be the root of my domain. Thanks in advance,
Ian

Hi Ian

You can use the glx_if plugin.

The code

<txp:glx_if_frontpage>
Show something
<txp:else />
Show something else
</txp:glx_if_frontpage>

Last edited by colak (2008-04-29 18:07:44)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#7 2008-04-29 18:18:18

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Helping a new user: Does TXP meet these requirements?

Or you could set all sections to not show on the frontpage.

Offline

#8 2008-04-29 23:20:14

aslsw66
Member
From: Canberra, Australia
Registered: 2004-08-04
Posts: 342
Website

Re: Helping a new user: Does TXP meet these requirements?

If you really want a static homepage, why wouldn’t you just code the default page that way? ie. remove all TXP tags for bringing in other content.

Offline

#9 2008-04-30 00:44:03

idoremus
Member
From: NW United States
Registered: 2008-04-16
Posts: 19

Re: Helping a new user: Does TXP meet these requirements?

Thank you Yiannis, Ruud, and aslsw66. Having just jumped in to Textpattern, the obvious isn’t always obvious to me.
Ian

Offline

#10 2008-09-28 06:50:28

idoremus
Member
From: NW United States
Registered: 2008-04-16
Posts: 19

Re: Helping a new user: Does TXP meet these requirements?

An update: I have my site looking pretty good and I am starting to feel more comfortable with the pages, forms, tags and plugins.

I have a question I am trying to wrap my head around. We have a monthly newsletter that has maybe five or six parts. Each part is linked to from the contents at the beginning and should always fall in the same order. These parts are written by different contributors.

Is there a way to have each contributor write an article and then have one “newsletter” article that combines the different parts?

Or from a different angle: what about if each article somehow was coded to be “October” and “part 1”, then “October” and “part 2”, etc. and then the <txp:article /> tag could somehow place them in order, in the correct month.

Any suggestions?

Thanks, Ian

Offline

#11 2008-09-28 07:00:18

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Helping a new user: Does TXP meet these requirements?

If you only display the month on the website itself, you could do this by using the day (or even the time or seconds) to place the articles of a newsletter in the right order. Using the “month” attribute you could then select only the articles for a specific month.

Offline

#12 2008-09-29 04:13:35

idoremus
Member
From: NW United States
Registered: 2008-04-16
Posts: 19

Re: Helping a new user: Does TXP meet these requirements?

Ruud,

Thank you for the advice.

How would my <txp:article /> tag look to only show the month?

If I was to have a list of older articles in a side channel, could they just show up as previous months or would each article show up individually? Also having “Previous Article” and “Next Article” links, could they also show the entire newsletter?

I wish there was a way have two layers of articles, so the top level would be a group of sub articles combined.

Thanks again,
Ian

Offline

Board footer

Powered by FluxBB