Jump to content

Recommended Posts

Posted

Hey guys, 

   I discovered PW this weekend and have been playing with it. Loving it so far. I am a Wordpress developer, and PW seems much more natural and organized in comparison.

For my test-drive, I am building a site on a simple use case of building a news website.  A writer will write stories and tag them under "categories" and "tags."  If I were to do this in WP, I would use WP's taxonomy to tag stories in tags and categories. 

To realize this in PW, this is my plan: Create a page for "story" that contains two repeater fields -- one for "tag," and other for "category."  I would like to add description and image to each tag and category. The question is: how can I have fields for tag and category, which themselves are fields?

OR, is there another, better way? Maybe instead of creating fields for tags and categories, I can create pages for tags and categories? And then somehow  link these two pages as "fields" in the story page?

What would you advise?

Ideally, I would like to have a user experience of a typical taxonomy entry for, like this: taxonomy entry on this forum  But I don't think it is possible in PW. 

thanks

Vikram

 

 

Posted

Thanks @adrian

The link you suggested is almost what I wanted to do. However, for the module to work, I will need to have the tag and category pages already created. But I want to be able to create new tags while I am creating a page.

 

Posted (edited)
19 minutes ago, deltavik said:

The link you suggested is almost what I wanted to do. However, for the module to work, I will need to have the tag and category pages already created. But I want to be able to create new tags while I am creating a page.

From the module readme...

Quote

Use TAB to create new Pages with the currently typed name.

And you can also use the core Autocomplete inputfield to add pages on-the-fly providing the conditions on the "Input" tab are met...

2016-08-03_100656.png

Edited by Robin S
Added info on Autocomplete inputfield
  • Like 4
Posted

Bingo. That hit the spot. However, I had to press enter, not tab, to make it work. I will try it in another browser to check tab vs. enter situation...but in any case, it solves my problem. 

 

thanks

Posted

@deltavik Hi,

In case you are interested, there is a recently "released" Site Profile (by @clsource) which has tags already implemented (though no categories, but they can be added in a similar manner). This is just one example, but a good one:

 

  • Like 3

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...