- Posts: 214
COMMUNITY FORUM
facebook share
- George Nasis
- Topic Author
- Offline
- Elite Member
Less
More
9 years 4 months ago #144078
by George Nasis
facebook share was created by George Nasis
hallo there,
i am trying to change something
in the preview of the facebook share, there is author`s name. how can i change that to author`s username?
thank you very much
i am trying to change something
in the preview of the facebook share, there is author`s name. how can i change that to author`s username?
thank you very much
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 4 months ago #144102
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic facebook share
Hello George,
The author meta tag isn't generated from K2.
This is a core Joomla! feature.
The author meta tag isn't generated from K2.
This is a core Joomla! feature.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- George Nasis
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 214
9 years 4 months ago #144103
by George Nasis
Replied by George Nasis on topic facebook share
hallo krikor,
thank you for the information!you saved me time before start to search all files!
have you any idea where i can find it in joomla core?
thank you
thank you for the information!you saved me time before start to search all files!
have you any idea where i can find it in joomla core?
thank you
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 4 months ago #144104
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic facebook share
www.inmotionhosting.com/support/edu/joomla-3/metadata/author-meta-tag
Here you go.
You can then set a custom meta with this function
docs.joomla.org/JDocumentHTML/addCustomTag
Here you go.
You can then set a custom meta with this function
docs.joomla.org/JDocumentHTML/addCustomTag
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- George Nasis
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 214
9 years 4 months ago #144106
by George Nasis
Replied by George Nasis on topic facebook share
thank you krikor,
i understand that the first link is to enable the author meta
and the second to write javascript to display what i want.
But where exactly should i write this?
and how am i supposed to bring the username of the author on each page of k2 item? :/ (
thank you
i understand that the first link is to enable the author meta
and the second to write javascript to display what i want.
But where exactly should i write this?
and how am i supposed to bring the username of the author on each page of k2 item? :/ (
thank you
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 4 months ago #144127
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic facebook share
You can get all of the user's info here: docs.joomla.org/Accessing_the_current_user_object
Now override the item.php file and you can build your code based on these links I sent you to display the user's username.
More on overrides can be found here:
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
Now override the item.php file and you can build your code based on these links I sent you to display the user's username.
More on overrides can be found here:
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- George Nasis
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 214
9 years 4 months ago #144133
by George Nasis
Replied by George Nasis on topic facebook share
hallo krikor,
really thank you for your interest.
i am not sure if there is a misunderstanding about what i mean.
i attach an image to be more specific
http://imgur.com/plSLCqG
of course i have override too many times too many templates but how am i supposed to change the user->name to user-> username?
everything in the item.php for author is about k2 staff and not for joomla core or facebook share..
thank you
really thank you for your interest.
i am not sure if there is a misunderstanding about what i mean.
i attach an image to be more specific
http://imgur.com/plSLCqG
of course i have override too many times too many templates but how am i supposed to change the user->name to user-> username?
everything in the item.php for author is about k2 staff and not for joomla core or facebook share..
thank you
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 4 months ago #144150
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic facebook share
Yes, this info is generated from your meta tags.
These tags are being generated from Joomla! not from K2.
You need to write your own script if you want to override Joomla!'s behaviour.
Also by accessing Joomla!'s user object you have access to all the (Joomla!) user's info.
These tags are being generated from Joomla! not from K2.
You need to write your own script if you want to override Joomla!'s behaviour.
Also by accessing Joomla!'s user object you have access to all the (Joomla!) user's info.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- George Nasis
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 214
9 years 4 months ago #144151
by George Nasis
Replied by George Nasis on topic facebook share
hi krikor,
yes i imagined so.
have you any idea where exactly is there the php file of Joomla! core?
thank you
yes i imagined so.
have you any idea where exactly is there the php file of Joomla! core?
thank you
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 4 months ago #144156
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic facebook share
I am sorry but I do not know.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.