Page 1 of 1

Popeye template customization

Posted: Mon Jul 29, 2024 9:36 pm
by audricd
Hello,

First of all, sorry I am not a web developer. Or a developer of any kind for that matter, I have some concepts in HTML / CSS / PHP / Python, but very novice at it all.

I would like the Popeye template, at its frontpage: to display the content of the articles, rather than just linking them.

Popeye listing one article:
Image

Alternative listing the content of the article:
Image

I am assuming it is somewhere along these lignes of php/home.php,
Image
but I am far too unfamiliar with PHP and Bludit, and I dont want to break it over and over by myself until I figure it out. If I even do.

Re: Popeye template customization

Posted: Sat Aug 03, 2024 2:19 pm
by wjar
This should work: replace the following part of the file php/home.php in the Popeye theme folder

Code: Select all

<!-- Page description -->
<?php if ($pageTmp->description()) : ?>
<p class="mb-1 form-text"><?php echo $pageTmp->description(); ?></p>
<?php endif ?>
<!-- End Page description -->
with

Code: Select all

<!-- Page content -->
<p class="mb-1 form-text"><?php echo $page->content(); ?></p>
<!-- End Page content -->

Re: Popeye template customization

Posted: Sat Aug 03, 2024 9:02 pm
by audricd
Hello,
Thank you very much for your reply!
Image

That is definitely a step in the right direction, but there is more I would like to do from this point. The title / category and timestamp of the article entry above it. And its still not clear to me but a column / menu on either side (it looks weird / empty as I see it right now)

I think I will try with other themes and see if I like something else better and is more configurable without manually tweaking php files.

Thank you very much!

Re: Popeye template customization

Posted: Sun Aug 04, 2024 8:00 am
by wjar
Since themes are not really configurable, you have to try other themes until you find one suiting your needs. The other way is to create your own theme. This is what I did on basis of an existing theme.

Re: Popeye template customization

Posted: Fri Aug 23, 2024 12:55 pm
by joho
audricd wrote: Mon Jul 29, 2024 9:36 pm First of all, sorry I am not a web developer. Or a developer of any kind for that matter, I have some concepts in HTML / CSS / PHP / Python, but very novice at it all.

I would like the Popeye template, at its frontpage: to display the content of the articles, rather than just linking them.
I know this is not what you asked for, but maybe the bs5plain theme gets you closer to what you want?