Blog output: How to modify under article?

Everything to do with Joomla! 4.x templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
djcaptpln880
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 185
Joined: Mon Jul 26, 2021 9:32 am

Blog output: How to modify under article?

Post by djcaptpln880 » Sun Oct 29, 2023 11:52 pm

Greetings

What would I need to modify to add information/other code to this element here?

Things like print icons, social icons, disclaimers, separators etc.

Is it an override or something?

I desire to put things like this other image
You do not have the required permissions to view the files attached to this post.

User avatar
Pavel-ww
Joomla! Ace
Joomla! Ace
Posts: 1417
Joined: Tue Jun 30, 2020 12:17 pm

Re: Blog output: How to modify under article?

Post by Pavel-ww » Mon Oct 30, 2023 6:46 am

Hi. PHP override or JS and css

User avatar
pablop76
Joomla! Apprentice
Joomla! Apprentice
Posts: 40
Joined: Sat Dec 25, 2021 10:03 am
Location: Polska
Contact:

Re: Blog output: How to modify under article?

Post by pablop76 » Mon Oct 30, 2023 8:49 am

Paweł
Company website: https://web-service.com.pl/
- Joomla passionate, Polska, Skierniewice

djcaptpln880
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 185
Joined: Mon Jul 26, 2021 9:32 am

Re: Blog output: How to modify under article?

Post by djcaptpln880 » Mon Oct 30, 2023 12:31 pm


User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30487
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Blog output: How to modify under article?

Post by Per Yngve Berg » Mon Oct 30, 2023 4:12 pm

Social Icons can be added with a Plugin.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 43243
Joined: Sat Apr 05, 2008 9:58 pm

Re: Blog output: How to modify under article?

Post by Webdongle » Mon Oct 30, 2023 4:38 pm

I think those might be called from a 'Layout' file but which one I am not sure. You could take a look at the files in /layouts/joomla but there are a lot of folders/files there though. Or you can edit the options in Joomla admin then create a blog override and add your own code?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

nacc
Joomla! Explorer
Joomla! Explorer
Posts: 292
Joined: Mon Jul 03, 2023 7:08 pm

Re: Blog output: How to modify under article?

Post by nacc » Mon Oct 30, 2023 5:16 pm

@djcaptpln880: you will do what you want to do anyway regardless of any advice we may give you.

1. Print icons: there have been numerous long (and bitterly contested) arguments about print icons on websites. Most websites don’t have them. Browsers today have built-in print functions. I don’t use print “icons” or “email-to-a-friend” icons. But go ahead; do what you want to do: there are (probably) extensions on the JED that generate print icons; alternatively, write your own content plugin (or pay someone to design and build a content plugin) that will place a print icon on your website. It’s possible that some hand-me-down templates may have the facility to inject print (and email) icons.

2. Social icons: I agree with @Per that a plugin to insert social media icons (e.g. Facebook, Instagram, LinkedIn, X [Twitter], LinkedIn, Pinterest, Vimeo, Flickr, things-that-cannot-be-named-on-this-forum or whatever floats your boat) is as good a way as any to do these things. My only other comment (aside from the fact that many social networking venues are here-today/gone-tomorrow, e.g Google+ or Windows Live Spaces) is that it may be better to put social media icons at the end of the article (or the end of the page) because those things are just a hurdle that your website visitors have to overcome in order to get to the real content on your website.

3. Disclaimers:. Again, there are plugins available on the JED that do these things. You could,put disclaimers on each article (using a plugin) or place a general disclaimer on your website (as a separate article or as a module on each page of the site) at the beginning of the end. Also, again, perhaps it’s worth considering that it may be better to add these “riders” [disclaimers] after people have read the article. Anyway, you know your business better than I do so you’ll do what you want.

4. “Separators”: What do you mean? Extra white space? Horizontal lines? I would do those with CSS.

5. Voting and rating: I would to place the voting/rating at the end of the article after people have read it but there’s no consensus on opinion in that regard. I put this at the end.

Most of what you want can be accomplished without having to hack into article layouts or template overrides but, if that’s something you enjoy doing and you know your way around such matters, you could go down those paths. I find such things as overrides or layout hacks too difficult for my brain.

Think of a website blog a bit like reading a newspaper: newspaper articles have, below the title, the date when the article was written, the author “byline”, some category information (e.g. opinion, world news, local news, sport, weather, etc.) and then you get into the story. Extra information (e.g.”have your say”, editorial comments (e.g. disclaimers), and so forth) appear after the story. Anyway, you do what you want.

djcaptpln880
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 185
Joined: Mon Jul 26, 2021 9:32 am

Re: Blog output: How to modify under article?

Post by djcaptpln880 » Sun Nov 05, 2023 12:01 am

What do I edit to change the override for the blog output as I specified?

1. At the minimum I'd like to put some kind of disclaimer below the article title with a separator in the blog output

Thanks in advance
nacc wrote:
Mon Oct 30, 2023 5:16 pm
@djcaptpln880: you will do what you want to do anyway regardless of any advice we may give you.

1. Print icons: there have been numerous long (and bitterly contested) arguments about print icons on websites. Most websites don’t have them. Browsers today have built-in print functions. I don’t use print “icons” or “email-to-a-friend” icons. But go ahead; do what you want to do: there are (probably) extensions on the JED that generate print icons; alternatively, write your own content plugin (or pay someone to design and build a content plugin) that will place a print icon on your website. It’s possible that some hand-me-down templates may have the facility to inject print (and email) icons.

2. Social icons: I agree with @Per that a plugin to insert social media icons (e.g. Facebook, Instagram, LinkedIn, X [Twitter], LinkedIn, Pinterest, Vimeo, Flickr, things-that-cannot-be-named-on-this-forum or whatever floats your boat) is as good a way as any to do these things. My only other comment (aside from the fact that many social networking venues are here-today/gone-tomorrow, e.g Google+ or Windows Live Spaces) is that it may be better to put social media icons at the end of the article (or the end of the page) because those things are just a hurdle that your website visitors have to overcome in order to get to the real content on your website.

3. Disclaimers:. Again, there are plugins available on the JED that do these things. You could,put disclaimers on each article (using a plugin) or place a general disclaimer on your website (as a separate article or as a module on each page of the site) at the beginning of the end. Also, again, perhaps it’s worth considering that it may be better to add these “riders” [disclaimers] after people have read the article. Anyway, you know your business better than I do so you’ll do what you want.

4. “Separators”: What do you mean? Extra white space? Horizontal lines? I would do those with CSS.

5. Voting and rating: I would to place the voting/rating at the end of the article after people have read it but there’s no consensus on opinion in that regard. I put this at the end.

Most of what you want can be accomplished without having to hack into article layouts or template overrides but, if that’s something you enjoy doing and you know your way around such matters, you could go down those paths. I find such things as overrides or layout hacks too difficult for my brain.

Think of a website blog a bit like reading a newspaper: newspaper articles have, below the title, the date when the article was written, the author “byline”, some category information (e.g. opinion, world news, local news, sport, weather, etc.) and then you get into the story. Extra information (e.g.”have your say”, editorial comments (e.g. disclaimers), and so forth) appear after the story. Anyway, you do what you want.

djcaptpln880
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 185
Joined: Mon Jul 26, 2021 9:32 am

Re: Blog output: How to modify under article?

Post by djcaptpln880 » Mon Nov 20, 2023 1:51 am

Greetings

I am looking to make things above and below the headline like this screenshot

Any idea other than modifying the override?

What override would I modify? Does it depend on the template/
You do not have the required permissions to view the files attached to this post.

User avatar
Pavel-ww
Joomla! Ace
Joomla! Ace
Posts: 1417
Joined: Tue Jun 30, 2020 12:17 pm

Re: Blog output: How to modify under article?

Post by Pavel-ww » Mon Nov 20, 2023 7:24 am

djcaptpln880 wrote:
Mon Nov 20, 2023 1:51 am
I am looking to make things above and below the headline like this screenshot
Hi. Your question is too general. Judging by the screenshot, work is required also with the page layout, but not only with the layout of the article. Decide on specific things, a complete appearance of the page and specific template. The solution can only be based on specifics.

For your understanding.
Red - article part
Green - template part
1.jpg
You do not have the required permissions to view the files attached to this post.


Post Reply

Return to “Templates for Joomla! 4.x”