Skip Navigation

[Closed] [Newbie] How to get this project started ?

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 9 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 11 replies, has 2 voices.

Last updated by Luo Yang 9 years, 1 month ago.

Assisted by: Luo Yang.

Author
Posts
#278816

Hi

I'm trying to figure out how to do this project of mine.

I'm building a site for an authors work, there's around 1.200 magazines and letters that needs to be registered. Both of them are filled with articles of different kind.

I need to have an image of the front cover, a list of what articles that are in this issue and i need to be able to search through the article titles - a user must be able to search for a specific title. Then i need to have a short description field, one for the content of the issue, just an overview and one for historical notes. I also need some category tags that can group articles together.

I'll be using categories and tags for genre/content of the articles.

Everything needs to be searchable and the single issue needs to have its own page for display, and the user should be able to flip to the next magazine via links.

Regarding the search, the list presented needs to hold links to the articles found, also if it's a category or a tag that turns op in the search.

Further down the road, i would like to put the magazines and letters online for reading, and then when searching, i would like to have it so, that when the user clicks the link to the article, the sentence searched for, is marked in the article/text.

My use of WordPress up till now, is that i have only worked with themes, styling aso., and just posting to the sites, so i have read and watched your guides and tutorials, but i'm not entirely sure how to build this site the correct way ?

All the best
Carsten

#278880

To specify my question: I have a magazine, with articles, written by authors.

As i read it, i will need at least those three CPT's ?

But what about year, month and issue number ?

And what about front page image and pagination of the articles ?

#279030

Since there are lots of question in this thread, I am trying to answer them one by one:
1) Q: I'm building a site for an authors work, there's around 1.200 magazines and letters that needs to be registered. Both of them are filled with articles of different kind.
It is depends on you, I suggest setup magazine and articles as two different post types
WordPress Custom Post Types
https://toolset.com/documentation/user-guides/create-a-custom-post-type/

And use wordpress user as the post authors

2) Q: I need to have an image of the front cover, a list of what articles that are in this issue and i need to be able to search through the article titles - a user must be able to search for a specific title. Then i need to have a short description field, one for the content of the issue, just an overview and one for historical notes. I also need some category tags that can group articles together.

I suggest you setup front cover as the post feature image
When you setup above two custom post types magazine and articles, in section "Display Sections", enable options: "Thumbnail", "Editor" and "Excerpt"

You can Attach Taxonomy (category, tags) to Custom Post Types
See above document:
2.2 Attach Taxonomy to Custom Post Types

3) Q: Everything needs to be searchable and the single issue needs to have its own page for display, and the user should be able to flip to the next magazine via links.
Regarding the search, the list presented needs to hold links to the articles found, also if it's a category or a tag that turns op in the search.

Further down the road, i would like to put the magazines and letters online for reading, and then when searching, i would like to have it so, that when the user clicks the link to the article, the sentence searched for, is marked in the article/text.
You can try setup a view with front-end filter form to query the posts:
Parametric search – Letting Visitors Filter Content:
https://toolset.com/documentation/user-guides/passing-arguments-to-views/

Hope it help

#279184

Thank you for you answer luoy 🙂

Just so i understand this correctly.

You suggest to bulid a CPT for the magazine, holding the single issues and all it's info, and for this issue number, year aso. as fields ?

Then one for the articles where all the info, author, pages, pagination aso. as fields ?

Setting the image as featured, will i still have the control over placement and size ?
(i know i can have it coding it, but i'm a bit tired of all the coding)

To help me in doing this project, i have a database with the articles in it, it's not WP, it's from a home coded php/html with only the database to hold the articles. There's a main table that holds the titles and three others related to it that holds the other information.

I understand that i can make an import via CSV, but how do i get it to work with the relationships, and how do i assign relationships in Types to get it all fittet and working on one page(magazine page) ?

The listing of user searches can be done with Views, setting up options to those from for the listing of articles, or permanent links to chose that list a specific order or so ?

All the best
Carsten

#279233

1) Q: for this issue number, year aso. as fields ?
You are right, please try setup them as custom fields
https://toolset.com/documentation/user-guides/using-custom-fields/

2) Q: Setting the image as featured, will i still have the control over placement and size ?
You can try Views shortcode wpv-post-featured-image:
https://toolset.com/documentation/views-shortcodes/#wpv-post-featured-image
size (opt):
'thumbnail' (default) | 'medium' | 'large' | 'full' | 'custom image size'

To display the image as what you need, see similar thread:
https://toolset.com/forums/topic/views-determine-size-of-featured-image-when-rawtrue/

3) Q: I understand that i can make an import via CSV, but how do i get it to work with the relationships, and how do i assign relationships in Types to get it all fittet and working on one page(magazine page) ?
Types is using a custom field "_wpcf_belongs_[parent-slug]_id" to store the parent post ID,
See similar thread:
https://toolset.com/forums/topic/import-data-with-parent-and-child-connections/#post-220075

4) Q: The listing of user searches can be done with Views, setting up options to those from for the listing of articles, or permanent links to chose that list a specific order or so ?
Yes, it is possible to let user re-order the results of View, you can try table layout mode, please check our document:
https://toolset.com/documentation/user-guides/view-layouts-101/#table

#279557

Thank you very much luoy 🙂

I'll read through the links and try it out.

Just one last thing, the link for the import, it does not say much on how it's done. Searching Google, it looks kind a tricky to get relations from MySQL to CSV, is it so ?

And again, are they easily importet into Types TCP and fields ?

#279655

I don't think there is other easy way to import the relationships.
And here is a document about

How to Import Content into WordPress Using CSV Files
https://toolset.com/documentation/user-guides/how-to-import-content-into-wordpress-using-csv/

Hope it help

#290960

Sorry for the delay in my response. I have had some work issues that i needed to tend to.

I have a question regarding the category tags.

I would like to have it like a cross references category/tag list. An overview where the users can chose a word, and then the posts that are marked/taged will be showed.

I haven't used tags that much, so i don't know how much there can be done with them.

Regarding the import, i might have to enter it alle by my self.

What if i where to start with the category/tag list, how would i go about do that ?

Then i can, if that is what you suggest, post a sub-chapter and add category/tags to it.

All the best
Carsten

#291028

Q: What if i where to start with the category/tag list, how would i go about do that ?
As I mentioned above:
You can Attach Taxonomy (category, tags) to Custom Post Types
See below document:
https://toolset.com/documentation/user-guides/create-a-custom-post-type/
2.2 Attach Taxonomy to Custom Post Types

When you import the settings of Taxonomy (category, tags) from SCV files, you can set it as "csv_post_categories" and "csv_post_tags", see our document:
https://toolset.com/documentation/user-guides/how-to-import-content-into-wordpress-using-csv/

#291991

Thank you luoy 🙂

Hmm, there might be something i don't understand completely then. Or i have not explained it correctly.

What i mean by category also, is not the WordPress category.

The articles in the magazine. They tend to different subjects. I would like to give them a key-word, a "category", so i can have a word-cross reference list, where i can click on ex. "diet", and the it will show a page with the articles grouped under the "category" "diet".

As i understand this, i will have to use hierarchical taxonomies: https://toolset.com/documentation/user-guides/getting-starting-with-types/ ?

The articles and the magazine should have each a CPT. And then the specifics regarding the article and the magazine is done CF's. The hierarchical taxonomies, would that in this case be the use of WordPress category ?

In addition, i also have some books from this author. There a seven big ones, they all have the same name, but are numbered 1 through 7. They are parted in big sections. Then there's chapters, and each chapter consists of pieces ex. from 384-640. And then come the grouping, the non-Wordpress "category".

What will be what here, and how can the "word-cross reference list", be the list that binds it all together. So that ex. "diet will get pieces from the books and articles from the magazines ?

All the best
Carsten

#292022

One more thing.

There's actually three "things" here.

The Magazine, the Books and the Letters.

Would i make Articles CPT as parent and Magazine and Letters as children of Articles or is there another way the relationship is to be set ?

#292262

Q1) The hierarchical taxonomies, would that in this case be the use of WordPress category ?
Yes, you can setup a custom hierarchical taxonomy for it, see our document:
WordPress Custom Taxonomies
https://toolset.com/documentation/user-guides/create-custom-taxonomies/

Q2) Would i make Articles CPT as parent and Magazine and Letters as children of Articles or is there another way the relationship is to be set ?

Yes, you can setup the post relationships with Types plugin, see our document:
Creating Post Type Relationships
https://toolset.com/documentation/user-guides/creating-post-type-relationships/

Hope it help

The topic ‘[Closed] [Newbie] How to get this project started ?’ is closed to new replies.