- Posts: 21
COMMUNITY FORUM
Subtitle
- Jose orlando de lima
-
Topic Author
- Offline
- Junior Member
Less
More
11 years 2 months ago - 11 years 2 months ago #126689
by Jose orlando de lima
Subtitle was created by Jose orlando de lima
How do I create an extra field for subtitle.
Exemple:
[img size=480]www.dropbox.com/s/m344ob1glifi90f/sub.jpg[/img]
globoesporte.globo.com/sp/futebol/campeonato-paulista/noticia/2014/03/douglas-tanque-responde-rogerio-ceni-apos-penalti-pega-bola-ai.html
Exemple:
[img size=480]www.dropbox.com/s/m344ob1glifi90f/sub.jpg[/img]
globoesporte.globo.com/sp/futebol/campeonato-paulista/noticia/2014/03/douglas-tanque-responde-rogerio-ceni-apos-penalti-pega-bola-ai.html
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
11 years 1 month ago #126690
by Lefteris
Replied by Lefteris on topic Re: Subtitle
Hi. You don't need extra fields for that. Use the introtext as short description and fulltext to provide the full article.
Please Log in or Create an account to join the conversation.
- Jose orlando de lima
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
11 years 1 month ago #126691
by Jose orlando de lima
Replied by Jose orlando de lima on topic Re: Subtitle
This text will be submitted before opening the article and then open.
Sorry give me another hint on this.
Sorry give me another hint on this.
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
11 years 1 month ago #126692
by Lefteris
Replied by Lefteris on topic Re: Subtitle
You mean that it will be displayed only in lists? That's what i also mean. You can see an example at demo.getk2.org/categories. However if you insist on making an extra field you can create it as usual and then apply the styles you wish. You can call an extra field in item.php like that :
<?php
echo $this->item->extraFields->EXTRAFIELDALIASHERE->name;
echo $this->item->extraFields->EXTRAFIELDALIASHERE->value ;
?>
Please Log in or Create an account to join the conversation.
- Jose orlando de lima
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
11 years 1 month ago #126693
by Jose orlando de lima
Replied by Jose orlando de lima on topic Re: Subtitle
Thanks i'll try after post the result.
Thanks
Thanks
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
11 years 1 month ago #126694
by Lefteris
Replied by Lefteris on topic Re: Subtitle
You are welcome.
Please Log in or Create an account to join the conversation.