[support] Is this achievable using drupal alone?

sander-martijn lists at severeddreams.com
Sat Mar 15 20:14:49 UTC 2008


Check out views arguments.  With this you could have a cities view that 
lists all the cities out, and cities/dallas to show dallas tx with it's 
own header and listings etc, or a lot of things like that.  Also take a 
look at some of the other views modules, like the views bonus pack.

.sander

Neil: esl-lounge.com wrote:
> Thanks for the responses so far...this has certainly kept my brain busy 
> for the last couple of days and there are still a lot of uncertainties 
> in my mind. I'm not sure I understand how I would use Views to present 
> each "page" for each city with the tagged entries underneath. As I 
> understand Views, I could present a list (table, full nodes or teasers) 
> with, for example, all content tagged with "Dallas, TX", but how would I 
> alter what comes at the top of each page (using, presumably the 
> page/header text box)? I would ideally like to present some type of Info 
> box at the top of each city's page (founded, population, long/lat, 
> country/state, etc). I wouldn't be able to do this with views, would I? 
> This is also why I was toying with the idea of just having a group for 
> each city.
>  
> Using CCK, I could have member enter all the Info Box fields when they 
> create each new one. Then, using my exisiting node-group.tpl.php, the 
> group page could be laid out with the info box at the top of the page, 
> the mission statement, etc, to one side and all the relevant content 
> (forum posts, blog entries, images, pagers, etc) showing below. So I 
> might have something like this:
>  
> http://i29.tinypic.com/9bazyf.png
>  
> Does this sound workable? What problems are there in having potentially 
> 10,000 groups? Or 100,000? How would I get them all to link together (as 
> the [category:Texas] function would allow me to do in MediaWiki, for 
> example.)? Is there any way I could use a special CCK field to introduce 
> the idea of hierarchy (United States >> Texas >> Dallas >> Plano) into 
> the group content type? Or would I need to get busy with a Location 
> taxonomy and tag each new group as it's created??
>  
> Again, I really appreciate any input on this from anyone, if only to 
> point me in the right direction.
>  
> Neil
>  
> 
>     ----- Original Message -----
>     *From:* Metzler, David <mailto:metzlerd at evergreen.edu>
>     *To:* support at drupal.org <mailto:support at drupal.org>
>     *Sent:* Thursday, March 13, 2008 5:42 PM
>     *Subject:* Re: [support] Is this achievable using drupal alone?
> 
>     If it were mine, I’d make the cities be required taxonomy terms for
>     the content type.  Then people create individual entries and tag
>     them as Dallas, Texas or Clairborne or whatever.  Use views with a
>     term as an argument to pull lists of content for a city.  People can
>     comment or make their own entries for the city.
> 
>      
> 
>     Dave
> 
>      
> 
>     ------------------------------------------------------------------------
> 
>     *From:* support-bounces at drupal.org
>     [mailto:support-bounces at drupal.org] *On Behalf Of *Neil: esl-lounge.com
>     *Sent:* Thursday, March 13, 2008 9:27 AM
>     *To:* support at drupal.org
>     *Subject:* [support] Is this achievable using drupal alone?
> 
>      
> 
>     I have quite a specific content-type requirement for my site and
>     have been pulling my hair out thinking about how I could achieve it
>     with drupal - so I turn to this support list, if not for a solution,
>     then for at least a pointer or two to push me nearer an answer.
> 
>      
> 
>     I have a site where I want members to be able to enter information
>     about hundreds or even thousands of cities. It's not relevant
>     exactly what type of information they are writing.
> 
>      
> 
>     For example, a member creates a new X content type (this is the big
>     question) and puts the title Dallas, Texas and writes a paragraph or
>     two about it. Other members can rate that entry or attach comments
>     to it...or, very importantly, add their own entry, which would have
>     equal weight to the first entry. Ultimately, tags could be attached
>     to each entry to allow some type of sorting.
> 
>      
> 
>     Look here at a screenshot mock-up I've made to give some idea of
>     what I'm talking about.
> 
>      
> 
>     http://i31.tinypic.com/2lo0qkw.png
> 
>      
> 
>     The original idea called for a wiki where each city would be a wiki
>     page, but we're now veering more towards having seperate entries
>     (not editable by other users) by each member, to which comments can
>     be added. So these are almost nodes within nodes. We considered some
>     type of views/og solution but is it feasible to have 10,000 views or
>     groups? Would views allow me to gather together, dynamically, all
>     "entries" on "Dallas, Texas" and seamlessly switch (using an
>     auto-complete text box perhaps) to Houston, Texas or to any of
>     10,000 other towns? Would $arg help me there??
> 
>      
> 
>     Is there anything that already exists on drupal that can help me
>     towards a solution? I've already thought about book pages, forum
>     pages, groups for each city and a few other possibilities besides,
>     but nothing seems to fit. There could well be some useful modules
>     out there I am unaware of.
> 
>      
> 
>     Thanks in advance for any guidance you can offer.
> 
>      
> 
>     Neil
> 
>     ------------------------------------------------------------------------
> 
>     -- 
>     [ Drupal support list | http://lists.drupal.org/ ]
> 


More information about the support mailing list