Search found 12 matches

by koljaxyz
Fri Mar 04, 2022 9:18 am
Forum: Themes
Topic: How to fetch all uploaded images
Replies: 4
Views: 1079

Re: How to fetch all uploaded images

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.
Nice! This worked, thank you! ♥
by koljaxyz
Thu Mar 03, 2022 1:36 pm
Forum: Themes
Topic: How to fetch all uploaded images
Replies: 4
Views: 1079

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() ?> But...
by koljaxyz
Sat May 23, 2020 12:34 pm
Forum: General
Topic: publish .pdf of .doc files
Replies: 17
Views: 14629

Re: publish .pdf of .doc files

Edi wrote: Thu Jan 02, 2020 12:22 am As HTML link (with the absolute path to the file).
And how do I get the absolute path in the backend?
by koljaxyz
Sun May 10, 2020 9:41 am
Forum: General
Topic: How does Bludit handle URLs?
Replies: 4
Views: 2228

Re: How does Bludit handle URLs?

Perfect, this works!
by koljaxyz
Sat May 09, 2020 7:37 pm
Forum: General
Topic: How does Bludit handle URLs?
Replies: 4
Views: 2228

Re: How does Bludit handle URLs?

Edi wrote: Fri May 08, 2020 10:15 pm Is the template contact.php used for a page with a title like contact?
Yes, the page is titled with "contact" and I named the template the same.

How can I link an other page in this mail php file?

Code: Select all

header("Location: contact.php?mailsend");
by koljaxyz
Fri May 08, 2020 12:55 pm
Forum: General
Topic: How does Bludit handle URLs?
Replies: 4
Views: 2228

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....
by koljaxyz
Sat May 02, 2020 11:33 am
Forum: Allgemein
Topic: Content auf der Startseite editierbar machen
Replies: 11
Views: 4354

Re: Content auf der Startseite editierbar machen

Danke, jetzt funktioniert es wie gewünscht!

Nur für mein Verständnis: Wenn ich jetzt noch ein weiteres Template benutzen wollen würde, wie müsste ich es dann integrieren?
by koljaxyz
Fri May 01, 2020 2:30 pm
Forum: Allgemein
Topic: Content auf der Startseite editierbar machen
Replies: 11
Views: 4354

Re: Content auf der Startseite editierbar machen

Welchen Code verwendest Du nun? Der Code, den du als letztes hier geschrieben hast, unter "Du kannst folgendes verwenden:" hat den Ferhler bei mir verursacht. Folgenden Code habe ich jetzt gerade drin und dieser funktioniert: <?php if ($WHERE_AM_I == 'page') { if ($page->slug() == 'home')...
by koljaxyz
Fri May 01, 2020 11:12 am
Forum: Allgemein
Topic: Content auf der Startseite editierbar machen
Replies: 11
Views: 4354

Re: Content auf der Startseite editierbar machen

Ich habe den Code in die index.php gepackt, das verursacht einen Error. Was meinst Du mit "auch das Page Template drunter ausgegeben"? Auf der Startseite wurde erst der Inhalt mit dem start.php Template dargestellt und dann noch zusätzlich mit dem page.php Template. Also doppelter Content....
by koljaxyz
Thu Apr 30, 2020 6:35 pm
Forum: Allgemein
Topic: Content auf der Startseite editierbar machen
Replies: 11
Views: 4354

Re: Content auf der Startseite editierbar machen

Danke. Und wie kann ich mehrere Templates zuordnen? Wenn Seite "Kontakt" ist aufgerufen, lade Kontakt.php <?php if ($WHERE_AM_I == 'page') { if ($page->slug() == 'home') { include(THEME_DIR_PHP.'start.php'); } if ($page->slug() == 'kontakt') { include(THEME_DIR_PHP.'kontakt.php'); } else {...