Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.0] Remove article print and email #24025

Merged
merged 8 commits into from
Jun 14, 2019
Merged

Conversation

brianteeman
Copy link
Contributor

The option to email a link to a friend and to print an article were outdated when joomla 1.0 was launched - there are far better ways to share content etc.

This pr removes the show print and email icons options and code to display the icons. (It does not remove the helpers as they haven't been deprecated)

If I understand everything correctly nothing would need to be done to update upgrading sites databases as the stored param would simply be ignored

Resurrection of PR#19393

The option to email a link to a friend and to print an article were outdated when joomla 1.0 was launched - there are far better ways to share content etc.

This pr removes the show print and email icons options and code to display the icons. (It does not remove the helpers as they haven't been deprecated)

If I understand everything correctly nothing would need to be done to update upgrading sites databases as the stored param would simply be ignored

Resurrection of PR#19393
Quy and others added 2 commits February 26, 2019 19:34
oops - thought I did that - guess i forgot

Co-Authored-By: brianteeman <brian@teeman.net>
Co-Authored-By: brianteeman <brian@teeman.net>
@ladyjer
Copy link
Contributor

ladyjer commented Feb 26, 2019

Hi,

what about keeping .ini as is?
Maybe some extension used JGLOBAL_SHOW_EMAIL_ICON_LABEL or JGLOBAL_SHOW_PRINT_ICON_LABEL placeholders, they are pretty generics.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24025.

@brianteeman
Copy link
Contributor Author

It is not the role of Joomla to translate every possible word or sentence.

@ladyjer
Copy link
Contributor

ladyjer commented Feb 26, 2019

Hi,

show_icons and the others 2 still in installation/sql/{mysql|postgres}/sample_testing.sql files


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24025.

@brianteeman
Copy link
Contributor Author

@ladyjer Yes I know - that file is so out of date and not distributed with Joomla that at this time its hardly worth fixing.

@ladyjer
Copy link
Contributor

ladyjer commented Feb 26, 2019

I have tested this item ✅ successfully on a1d44e0


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24025.

@Hackwar
Copy link
Member

Hackwar commented Feb 27, 2019

I have tested this item ✅ successfully on a1d44e0

I tested this successfully.

I love this change. It is one of the things that I disable first time whenever I set up a new site.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24025.

@Quy
Copy link
Contributor

Quy commented Feb 27, 2019

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24025.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Feb 27, 2019
@brianteeman
Copy link
Contributor Author

@zero-24 please advise on the rips issue

@brianteeman
Copy link
Contributor Author

updated branch to see if it passes rips

@zero-24
Copy link
Contributor

zero-24 commented Mar 3, 2019

Sorry missed your mention. :( But it seams rips passes now.

@ghost ghost added the J4 Issue label Apr 5, 2019
@ghost ghost removed the J4 Issue label Apr 13, 2019
@Hackwar
Copy link
Member

Hackwar commented Apr 22, 2019

Can you solve the conflicts?

@brianteeman
Copy link
Contributor Author

I can but only if it is going to be merged. Otherwise its a waste of my time

@roland-d
Copy link
Contributor

Although I agree with this PR, I will leave the decision to remove this feature to @wilsonge as release lead.

@roland-d
Copy link
Contributor

roland-d commented Jun 5, 2019

Pinging @wilsonge

@wilsonge
Copy link
Contributor

wilsonge commented Jun 7, 2019

Took a look around other websites and all their email options were simply mailto:// links. so i'm happy to remove both (print is clearly outdated in favour of print stylesheets)

@infograf768
Copy link
Member

print is clearly outdated in favour of print stylesheets

I have clearly demonstrated in #19393 that if it indeed can be done with stylesheets when a unique article is displayed, it is just impossible to get anything usable when the article is displayed in a blog.

Whatever...

# Conflicts:
#	installation/sql/mysql/joomla.sql
#	installation/sql/postgresql/joomla.sql
#	layouts/joomla/content/icons/email.php
#	layouts/joomla/content/icons/print_popup.php
#	layouts/joomla/content/icons/print_screen.php
@brianteeman
Copy link
Contributor Author

Hopefully all merge conflicts have now been resolved correctly

@brianteeman
Copy link
Contributor Author

I really dont want to have to resolve merge conflicts again :(

@roland-d roland-d merged commit af4dac1 into joomla:4.0-dev Jun 14, 2019
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Jun 14, 2019
@roland-d
Copy link
Contributor

Thank you

@roland-d roland-d added this to the Joomla 4.0 milestone Jun 14, 2019
@brianteeman
Copy link
Contributor Author

Thanks

@brianteeman brianteeman deleted the print-email branch June 14, 2019 19:10
@Hackwar
Copy link
Member

Hackwar commented Jun 14, 2019

Thank you from me to both @brianteeman and @roland-d

brianteeman added a commit to brianteeman/joomla-cms that referenced this pull request Jul 1, 2019
It seems that I removed one instance of this code for a print button but missed another one under a different condition. This code can not do anything because of joomla#24025 and I should have removed it then. This PR fixes my error
wilsonge pushed a commit that referenced this pull request Jul 2, 2019
It seems that I removed one instance of this code for a print button but missed another one under a different condition. This code can not do anything because of #24025 and I should have removed it then. This PR fixes my error
brianteeman added a commit to brianteeman/joomla-cms that referenced this pull request Jul 11, 2019
with joomla#24025 we removed the mail a link to a friend functionality. But I didnt remove the com_mailto component. Afaict this component was only used for the mail to friend functionality so I have now removed all traces of the component (I hope)
brianteeman added a commit to brianteeman/joomla-cms that referenced this pull request Jul 14, 2019
with joomla#24025 we removed the mail a link to a friend functionality. But I didnt remove the com_mailto component. Afaict this component was only used for the mail to friend functionality so I have now removed all traces of the component (I hope)
brianteeman added a commit to brianteeman/joomla-cms that referenced this pull request Oct 25, 2019
with joomla#24025 we removed the mail a link to a friend functionality. But I didnt remove the com_mailto component. Afaict this component was only used for the mail to friend functionality so I have now removed all traces of the component (I hope)
@pwireless
Copy link

Now when we want to print an article, we have to select and print selected... would be good to have a print feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants