Hi, did you try to test it with the edit on GIST site?
Jan
Open Graph - Intro Image
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Open Graph - Intro Image
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 18 May 2015, 08:53
Re: Open Graph - Intro Image
Please tell me what is GIST site, i use the code from Github, please would you like to check my administrator site? Please Helppppp me!!!!!!
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Open Graph - Intro Image
Hi, did you read this whole post here? If you need the same feature like componentegd described and modified, you need to customize the code like he did. Not sure what is the goal I see your administration?
Jan
Jan
If you find Phoca extensions useful, please support the project
- componentegd
- Phoca Member
- Posts: 21
- Joined: 31 Mar 2015, 22:39
- Location: Rio de janeiro - Brazil
- Contact:
Re: Open Graph - Intro Image
Hi. Please, calm down and explain to us what you really need. I didn't got it.sotisanis88 wrote:Please tell me what is GIST site, i use the code from Github, please would you like to check my administrator site? Please Helppppp me!!!!!!
Jan, did you have any advance in this topic by yourself?
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Open Graph - Intro Image
Hi, no, I finished the Phoca Cart Beta 2 yesterday, so now I have time to look at it. I will see if this can be implemented or it is in conflicts, etc. etc.Jan, did you have any advance in this topic by yourself?
Will let you know.
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Open Graph - Intro Image
The question, how it should work, there are a lot of options:
a) you now you have added introimage in articles - then the best method is to have parameter in plugin to set only intro image
b) more variable way is: Try to find the introimage - if found, it will be used, if not the script will try to find the image in article?
I think b) is the better one?
Jan
a) you now you have added introimage in articles - then the best method is to have parameter in plugin to set only intro image
b) more variable way is: Try to find the introimage - if found, it will be used, if not the script will try to find the image in article?
I think b) is the better one?
Jan
If you find Phoca extensions useful, please support the project
- componentegd
- Phoca Member
- Posts: 21
- Joined: 31 Mar 2015, 22:39
- Location: Rio de janeiro - Brazil
- Contact:
Re: Open Graph - Intro Image
I think option B is better.Jan wrote:The question, how it should work, there are a lot of options:
a) you now you have added introimage in articles - then the best method is to have parameter in plugin to set only intro image
b) more variable way is: Try to find the introimage - if found, it will be used, if not the script will try to find the image in article?
I think b) is the better one?
Jan
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Open Graph - Intro Image
Ok, set it in next version, I will publish it soon.
There is the following rule:
- if there is image set in parameters of the plugin, such will be used
- if not then the image will be searched in intro image parameter of the article
- if not then the image will be searched in fulltext image parameter of the article
- if not found, then the image from article body will be used (if found)
Jan
There is the following rule:
- if there is image set in parameters of the plugin, such will be used
- if not then the image will be searched in intro image parameter of the article
- if not then the image will be searched in fulltext image parameter of the article
- if not found, then the image from article body will be used (if found)
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Open Graph - Intro Image
If you find Phoca extensions useful, please support the project