Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

how do i change the tabs for the inet and browser where the php-fusion logos display

Asked Modified Viewed 901 times
N
noescape
N
  • Junior Member, joined since
  • Contributed 28 posts on the community forums.
  • Started 6 threads in the forums
  • Started this discussions
asked
Junior Member

i used to just swap them out now something has changed
Edited by noescape on 01-12-2021 14:39,
0 replies

4 posts

R
Anonymous User
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions
answered
Veteran Member

Replace icons in images/favicons/. Tool to generate em https://realfavicongenerator.net/
0 replies
— 3 months later —
S
sasha2002
S
  • Junior Member, joined since
  • Contributed 26 posts on the community forums.
  • Started 9 threads in the forums
answered
Junior Member

Hi, @Chan how is possible to use this in core and do not touch core files ?
define("THEME_ICON", $actual_link . THEME . 'assets/images/favicons/');

is set but then for some reason
<link rel="shortcut icon" href="....assets/images/favicon.ico">
are not displayed, just "og:image" is set to incorect url(without site link), the problem is line 1642 of theme_functions_include.php :
if (is_dir($folder)) {


Or fix line 121 OpenGraph.php :

self::$data['image'] = defined('THEME_ICON') ? THEME_ICON.'mstile-150x150.png' : $settings['siteurl'].'images/favicons/mstile-150x150.png';

to something like :

self::$data['image'] = defined('THEME_ICON') ? $settings['siteurl'].THEME_ICON.'mstile-150x150.png' : $settings['siteurl'].'images/favicons/mstile-150x150.png';
0 replies
R
Anonymous User
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions
answered
Veteran Member

If you want to change files names and add another meta tags then simply copy this function into your theme.php https://github.com/PHPFusion/PHPFusio...1632-L1652

If you only wants change path to favicons then define constant in theme. E.g.const THEME_ICON = THEME.'images/favicons/'; - This will load the favicons from your theme.
0 replies
S
sasha2002
S
  • Junior Member, joined since
  • Contributed 26 posts on the community forums.
  • Started 9 threads in the forums
answered
Junior Member

The problem here is in line 121 of OpenGraph.php. If i will use THEME_ICON then no HTTPS link in opengraph.
I've already done this, just overwrited this function, but i think this is incorrect. But MEH, done this and go cool
0 replies

Category Forum

General Discussion

Labels

None yet

Statistics

  • Views 0 views
  • Posts 4 posts
  • Votes 0 votes
  • Topic users 3 members

3 participants

S
S
  • Junior Member, joined since
  • Contributed 26 posts on the community forums.
  • Started 9 threads in the forums
R
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions
N
N
  • Junior Member, joined since
  • Contributed 28 posts on the community forums.
  • Started 6 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet