Search found 16 matches
- Thu May 16, 2024 9:18 pm
- Forum: Themes
- Topic: Display regular pages on a static page that is not the homepage
- Replies: 7
- Views: 19685
Re: Display regular pages on a static page that is not the homepage
<?php
// Get all pages
$allPages = $pages->getList();
// Loop through all pages
foreach ($allPages as $pageKey) {
// Get the page object
$post = new Page($pageKey);
// Check if the page is not static
if ($post->type() !== 'static') {
echo '<h2>' . $post->title() . '</h2>';
echo '<p ...
// Get all pages
$allPages = $pages->getList();
// Loop through all pages
foreach ($allPages as $pageKey) {
// Get the page object
$post = new Page($pageKey);
// Check if the page is not static
if ($post->type() !== 'static') {
echo '<h2>' . $post->title() . '</h2>';
echo '<p ...
- Sat May 11, 2024 10:46 am
- Forum: Themes
- Topic: Display regular pages on a static page that is not the homepage
- Replies: 7
- Views: 19685
Re: Display regular pages on a static page that is not the homepage
Does not work either
- Sat Apr 27, 2024 12:51 pm
- Forum: Themes
- Topic: Display regular pages on a static page that is not the homepage
- Replies: 7
- Views: 19685
Re: Display regular pages on a static page that is not the homepage
🤔 This still does not show me the normal pages and I have no clue why. The pages I have created are listed within the "pages" tab. This should be correct.
If you have any additional plugins or themes that modify standard page behaviors, you might need to adjust the code to accommodate those ...
If you have any additional plugins or themes that modify standard page behaviors, you might need to adjust the code to accommodate those ...
- Mon Apr 22, 2024 9:54 pm
- Forum: Themes
- Topic: Display regular pages on a static page that is not the homepage
- Replies: 7
- Views: 19685
Display regular pages on a static page that is not the homepage
Hello! :)
I have the following page structure:
• Info (Static, defined as the frontpage in the backend)
• Projects (Static)
• Contact (Static)
• Project 1
• Project 2
• ...
In my index.php, I have:
if ($WHERE_AM_I == 'page') {
if ($page->slug() == 'information') {
include(THEME_DIR_PHP.'info ...
I have the following page structure:
• Info (Static, defined as the frontpage in the backend)
• Projects (Static)
• Contact (Static)
• Project 1
• Project 2
• ...
In my index.php, I have:
if ($WHERE_AM_I == 'page') {
if ($page->slug() == 'information') {
include(THEME_DIR_PHP.'info ...
- Fri Mar 04, 2022 9:18 am
- Forum: Themes
- Topic: How to fetch all uploaded images
- Replies: 4
- Views: 5913
Re: How to fetch all uploaded images
Nice! This worked, thank you! ♥nogajun wrote: Fri Mar 04, 2022 5:49 am I had the same problem.
I figured out that I needed to get a file list, so I wrote some simple code.
- Thu Mar 03, 2022 1:36 pm
- Forum: Themes
- Topic: How to fetch all uploaded images
- Replies: 4
- Views: 5913
How to fetch all uploaded images
Hello there,
in the backend, i uploaded a bunch of images. Now i want to render these in my template inside a foreach loop. I do not want to place the images inside the text editor, because i want text and images separately. I know i can get the cover image with <?php echo $page->coverImage ...
in the backend, i uploaded a bunch of images. Now i want to render these in my template inside a foreach loop. I do not want to place the images inside the text editor, because i want text and images separately. I know i can get the cover image with <?php echo $page->coverImage ...
- Sat May 23, 2020 12:34 pm
- Forum: General
- Topic: publish .pdf of .doc files
- Replies: 17
- Views: 24513
Re: publish .pdf of .doc files
And how do I get the absolute path in the backend?
- Sun May 10, 2020 9:41 am
- Forum: General
- Topic: How does Bludit handle URLs?
- Replies: 4
- Views: 4421
Re: How does Bludit handle URLs?
Perfect, this works!
- Sat May 09, 2020 7:37 pm
- Forum: General
- Topic: How does Bludit handle URLs?
- Replies: 4
- Views: 4421
Re: How does Bludit handle URLs?
Yes, the page is titled with "contact" and I named the template the same.Edi wrote: Fri May 08, 2020 10:15 pm Is the template contact.php used for a page with a title like contact?
How can I link an other page in this mail php file?
Code: Select all
header("Location: contact.php?mailsend");- Fri May 08, 2020 12:55 pm
- Forum: General
- Topic: How does Bludit handle URLs?
- Replies: 4
- Views: 4421
How does Bludit handle URLs?
Hi guys,
in my contact.php template I have built a contact form like in this turoial: https://www.youtube.com/watch?v=4q0gYjAVonI . When I click on the button, the mail will be sent, so everything is alright so far. But I don’t understand what to put in the last line.
header("Location: contact ...
in my contact.php template I have built a contact form like in this turoial: https://www.youtube.com/watch?v=4q0gYjAVonI . When I click on the button, the mail will be sent, so everything is alright so far. But I don’t understand what to put in the last line.
header("Location: contact ...

