By mauricio herzog on Friday, 18 December 2015
Posted in General Issues
Replies 3
Likes 0
Views 489
Votes 0
Hi, I am trying out the custom fields, but I notice that they only appear after the blog description, and only after clickin on Read More. I would like for the custom fields to appear on top, and the rest of the blog description would come after.

Thanks

Mauricio
Hello,

Firstly, to display it on the Easyblog Frontpage listing, you must enable this option: http://screencast.com/t/x2GM2vXx in Backend>Easyblog>Settings>Layout>Listing. Then you might want to open these two files:
../components/com_easyblog/themes/vintage/blogs/latest/default.main.php - Blog listing
../components/com_easyblog/themes/wireframe/blogs/entry/default.php - Blog entry (after clicking readmore)

In these files, you can find for these codes:

// ../components/com_easyblog/themes/wireframe/blogs/entry/default.php
<?php if ($post->fields && $this->entryParams->get('post_fields', true)) { ?>
<?php echo $this->output('site/blogs/entry/fields', array('fields' => $post->fields)); ?>
<?php } ?>

// ../components/com_easyblog/themes/vintage/blogs/latest/default.main.php
<?php if ($post->fields && $this->params->get('post_fields', true)) { ?>
<?php echo $this->output('site/blogs/entry/fields', array('fields' => $post->fields, 'post'=>$post)); ?>
<?php } ?>


This is where it loads the custom fields. You can move these codes to change the position. Please give it a try.
·
Friday, 18 December 2015 11:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Nik, I was able to try a few of the templates and I realized that:

- Greenie, the theme I would like to use does not have any "blogs" folder, so it does not have "entry" or "latest"
- Some themes have the "latest" folder, but only the Wireframe has the "entry" folder
- I was not able to find a way to include the fields information on the slideshow of the featured blogs (at the top of the homepage).

Please, let me know if you can help.

Tks

Mauricio
·
Tuesday, 22 December 2015 00:11
·
0 Likes
·
0 Votes
·
0 Comments
·
By default, all themes would be inheriting from the "wireframe" theme. If there is no files or folders in your greenie theme, edit the files in /components/com_easyblog/themes/wireframe/
·
Tuesday, 22 December 2015 00:20
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post