I've searched for any information on topic, but to no avail, hence this new topic.

Could someone explain to me, why Post Settings governs and is set for all Content Types, and can not be set for individual Content Types?

Comments

misty3’s picture

administer » settings »
content types

by the above route , individualised content settings can be done.

Best regards.

JasonMR’s picture

Hey misty3

Thanks for your prompt reply, but either I don't follow you, or you misunderstood my question.

Allow me to elaborate.

If I go to edit any setting of a content type as suggest by you [Admin -> Settings -> Content Types], I only have the following options (e.g. blog entry):

    Identification
  • Name
  • Type (constant)
  • Description
  • Submission Form

  • Title Field Label
  • Body Field Label
  • Minimum number of words (for entry to be valid)
  • Expansion of submission guidelines
  • Workflow

  • Default options
  • Default comment settings
  • Attachments

So no where do I find the values I can set with Post Settings, which offer the following values to be set:

  • Number of posts on main page
  • Length of trimmed posts
  • Preview posts

Now I'm aware that Drupal is very flexible, and offers alternative ways of creating what I'm looking to build.

But my question is, why are the Post Settings global for all Content Types, and not individually settable for each Content Type? Is there a specific reason I lack insight of, or is this just the result of "bad" design?

Example Scenario:

  • Blog posts have teaser of unlimited words (full post)
  • Pages have teaser of 50 words
  • Stories have teaser of 100 words

Thanks again for your assistance.

Bright Regards
JasonMR

misty3’s picture

Number of posts on main page can be set from
administer » settings » posts » Number of posts on main page

Length of teasers or the amount to be trimmed for post preview
( this is not the preview of preview | submit button )
can be determined from the above also but yes that is global

To indidualize for each page or each blog post or each story you just need to
insert the delimiter "

" (without the quotes) in a place you want inside
the textual matter to
to tell exactly where your post gets split.
it is even better than a subglobal setting for a content type for you may want
different teaser length for a story on agriculture and a different one for a story on industry
and yet a different length for a story on your favorit music.

Does this help ?

Best regards

JasonMR’s picture

Hey misty3

It helps in a practical matter, as I will use your tip (not having known about it). There is just this minor problem of there only being quotes. Guess it got filtered out. No worries, I've found what should have appeared: "break" in between HTML comment mark-up, with no spaces. And I absolutely agree, this is a better way of handling teasers.

Never the less, my inquiery was more of a theoretical interest, in regards to "Drupal system design", as why Drupal chose this kind of implementation. To me it just doesn't make sense not to handle these settings within content types, and instead have a separate post settings.

Edit
<!--break--> didn't work for me.

Thanks for your efforts.

Bright Regards
JasonMR

misty3’s picture

Hi JasonMR,

Probably you can create an 'issue' stating the design you think should be appropriate, as most of the features are as they are because of user feedbacks.

Regarding <!--break--> this always works for me as well as other users - I have been using 4.7.x. Can you see again ? If it does not work probably again you should create an issue even if these are just of theoretical interest.

Best regards

JasonMR’s picture

Hey misty3

I'll follow both your suggestions, as at this point, they seem as the most appropriate path of action.

Once again, thank you very much for your support and input.

Bright Regards
JasonMR