S04e12-Responsible Social Bookmarks QUESTIONS/SUPPORT
- burt
- Core Team
- Posts: 4550
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: S04e12-Responsible Social Bookmarks
Yes, I think so. "X" was introduced in 6.4.2 so you'd need to be on at least that for it to show.
Tags:
-
14Steve14
- Senior Contributor
- Posts: 921
- Joined: Fri Oct 25, 2019 7:01 pm
- Phoenix Version: v1.0.9.1
- Has thanked: 17 times
- Been thanked: 103 times
Re: S04e12-Responsible Social Bookmarks
For now I have just used 'fas fa-times-circle'tessthepup wrote: ↑Sat Dec 30, 2023 9:34 am Do we need to update the fontawesome cdn link to 6.5.1 as I can only find the x-twitter icon in that version on the fontawesome site?
- tessthepup
- Certified Developer
- Posts: 381
- Joined: Mon Mar 01, 2021 5:55 pm
- Phoenix Version:
- Has thanked: 47 times
- Been thanked: 62 times
Re: S04e12-Responsible Social Bookmarks
@burt
I have updated to the latest version of Fontawesome and touch would nothing has broken (at least nothing that I have found)
I have rewrote the module template to have the text and icons on the same row
Code: Select all
<div class="col-sm-<?= (int)PI_RESPONSIBLE_SOCIAL_BOOKMARKS_CONTENT_WIDTH ?> socialMediaLinks mt-4 mb-2">
<div class="row d-flex justify-content-center">
<div><h3><?= PI_RESPONSIBLE_SOCIAL_BOOKMARKS_PUBLIC_TITLE ?></h3></div>
<div><?= implode('', $pi_sb_bookmarks) ?></div>
</div>
</div>Code: Select all
.socialMediaLinks i {
font-size: 1.9em;
margin: 0 10px 0 0;
color: #c6c3c2;
text-decoration: none;
}
.socialMediaLinks i.fa-x-twitter {
color: #00aced;
}
.socialMediaLinks i.fa-facebook {
color: #3b5998;
}
.socialMediaLinks i.fa-pinterest {
color: #C92228;
}I have tried align-self-center but that does not work
Any ideas please???
Thanks
You do not have the required permissions to view the files attached to this post.
- burt
- Core Team
- Posts: 4550
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: S04e12-Responsible Social Bookmarks
More or less, remember this...
Horizontal uses justify [ https://getbootstrap.com/docs/4.6/utili ... fy-content ]
Vertical uses align [ https://getbootstrap.com/docs/4.6/utili ... lign-items ]
Therefore, something like this should work;
Though I have not tested it.
Also;
You should not need that <div around your <h3
You should not need that <div around the bookmarks
This looks like it should work;
Horizontal uses justify [ https://getbootstrap.com/docs/4.6/utili ... fy-content ]
Vertical uses align [ https://getbootstrap.com/docs/4.6/utili ... lign-items ]
Therefore, something like this should work;
Code: Select all
<div class="row d-flex justify-content-center align-items-center">Also;
You should not need that <div around your <h3
You should not need that <div around the bookmarks
This looks like it should work;
Code: Select all
<div class="col-sm-<?= (int)PI_RESPONSIBLE_SOCIAL_BOOKMARKS_CONTENT_WIDTH ?> socialMediaLinks mt-4 mb-2">
<div class="row d-flex justify-content-center align-items-center">
<h3><?= PI_RESPONSIBLE_SOCIAL_BOOKMARKS_PUBLIC_TITLE ?></h3>
<?= implode('', $pi_sb_bookmarks) ?>
</div>
</div>
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
- tessthepup
- Certified Developer
- Posts: 381
- Joined: Mon Mar 01, 2021 5:55 pm
- Phoenix Version:
- Has thanked: 47 times
- Been thanked: 62 times
Re: S04e12-Responsible Social Bookmarks
@burtburt wrote: ↑Sat Dec 30, 2023 2:58 pm More or less, remember this...
Horizontal uses justify [ https://getbootstrap.com/docs/4.6/utili ... fy-content ]
Vertical uses align [ https://getbootstrap.com/docs/4.6/utili ... lign-items ]
Therefore, something like this should work;
Though I have not tested it.Code: Select all
<div class="row d-flex justify-content-center align-items-center">
Also;
You should not need that <div around your <h3
You should not need that <div around the bookmarks
This looks like it should work;
Code: Select all
<div class="col-sm-<?= (int)PI_RESPONSIBLE_SOCIAL_BOOKMARKS_CONTENT_WIDTH ?> socialMediaLinks mt-4 mb-2"> <div class="row d-flex justify-content-center align-items-center"> <h3><?= PI_RESPONSIBLE_SOCIAL_BOOKMARKS_PUBLIC_TITLE ?></h3> <?= implode('', $pi_sb_bookmarks) ?> </div> </div>
Thanks Gary, I have removed the <div>'s but align-items-center did not work until I added
Code: Select all
height: 40px;-
lecarlb
- Contributor
- Posts: 316
- Joined: Mon Oct 26, 2020 5:26 pm
- Phoenix Version:
- Has thanked: 48 times
- Been thanked: 9 times
Re: S04e12-Responsible Social Bookmarks
@burt or anyone
I uploaded on a 1.0.8.20 site and there is an issue:
What should I check?
Thank you.
I uploaded on a 1.0.8.20 site and there is an issue:
- The Twitter "X" button doesn't show in the PI module
Code: Select all
[Mon Apr 01 05:48:17.523786 2024] [proxy_fcgi:error] [pid 4154209:tid 139701235205696] [client 173.190.176.123:0] AH01071: Got error 'PHP message: PHP Deprecated: The tep_href_link function has been deprecated. in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/adminBTDC1/includes/functions/html_output.php on line 51PHP message: PHP Deprecated: The tep_href_link function has been deprecated. in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/adminBTDC1/includes/functions/html_output.php on line 51PHP
message: PHP Deprecated: The tep_href_link function has been deprecated. in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/adminBTDC1/includes/functions/html_output.php on line 51PHP
message: PHP Deprecated: The tep_href_link function has been deprecated. in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/adminBTDC1/includes/functions/html_output.php on line 51', referer: https://xxxxxxxxxx.com/adminBTDC1/modules.php?set=layout
Thank you.
-
heatherbell
- Senior Contributor
- Posts: 2540
- Joined: Mon Oct 07, 2019 4:39 am
- Phoenix Version:
- Has thanked: 35 times
- Been thanked: 243 times
Re: S04e12-Responsible Social Bookmarks
As answered in previous posts:
"X" was introduced in 6.4.2 so you'd need to be on at least that for it to show.
https://github.com/CE-PhoenixCart/Phoen ... wesome.php
The notice does not seem to be related to this addon.
-
lecarlb
- Contributor
- Posts: 316
- Joined: Mon Oct 26, 2020 5:26 pm
- Phoenix Version:
- Has thanked: 48 times
- Been thanked: 9 times
Re: S04e12-Responsible Social Bookmarks
After updating that file, still no show.As answered in previous posts:
"X" was introduced in 6.4.2 so you'd need to be on at least that for it to show.
https://github.com/CE-PhoenixCart/Phoen ... wesome.php
Thank you.
-
heatherbell
- Senior Contributor
- Posts: 2540
- Joined: Mon Oct 07, 2019 4:39 am
- Phoenix Version:
- Has thanked: 35 times
- Been thanked: 243 times
Re: S04e12-Responsible Social Bookmarks
Tested and works fine as shown here https://phoenixcart.org/PROdemo/product ... ducts_id=6
If you updated from previous version of the addon, double check that user.css is updated the same as detailed in the README.