Search found 21 matches

by kohbarg
Thu May 28, 2020 8:30 pm
Forum: Plugins
Topic: API-Plugin with another endpoint (get)
Replies: 0
Views: 828

API-Plugin with another endpoint (get)

Hi,
there is an easy way to endpoint not just transferring the whole pages, but just an array of selected parts.
For example: List key, position, permalink of all static pages to create navigation in a subdomain.
You don't need all the content for that.

Would appreciate any help, thank you.
by kohbarg
Thu May 28, 2020 8:13 pm
Forum: Plugins
Topic: api mit Verzeichnisschutz
Replies: 2
Views: 296

Re: api mit Verzeichnisschutz

Mittlerweile habe ich erfahren: mein Wunsch hat mit der Bludit-Api nichts zu tun. Das müsste ich über die fetch()-Methode regeln (XMLHttpRequest).
Ist aber für mich nicht so ganz easy :roll: : Ich lass es lieber.
Eine weitere Frage zur API stelle ich dann mal im Nachbarforum (Englisch).
Danke
by kohbarg
Wed May 27, 2020 1:44 pm
Forum: Plugins
Topic: api mit Verzeichnisschutz
Replies: 2
Views: 296

api mit Verzeichnisschutz

Moin, ich hab mich jetzt mal an das API-Plugin gewagt. Der Abruf von Seien klappt einwandfrei mit diesem Beispiel: <script> fetch("https://www.example.com/api/pages?token=eaf5df0a626145cc6d37b76f3eccc826&published=true&static=true", { method: 'get' }).then(function(response) { return response.json()...
by kohbarg
Wed Jan 22, 2020 5:31 pm
Forum: Plugins
Topic: What kind of plugins/ themes do you need?
Replies: 30
Views: 6500

Re: What kind of plugins/ themes do you need?

Edi wrote:
Tue Jan 21, 2020 7:44 pm
Hm... This is what the plugin does.
Funny, not for me, of course I can edit everything, but not even the article preview works. I will then test the extended version.
by kohbarg
Tue Jan 21, 2020 11:13 am
Forum: Plugins
Topic: What kind of plugins/ themes do you need?
Replies: 30
Views: 6500

Re: What kind of plugins/ themes do you need?

Another wish: extend the maintenance mode. Only the visitor sees the maintenance message, the logged-in admin can continue to edit.
by kohbarg
Tue Jan 21, 2020 11:09 am
Forum: Plugins
Topic: What kind of plugins/ themes do you need?
Replies: 30
Views: 6500

Re: What kind of plugins/ themes do you need?

padawan wrote:
Sat Nov 16, 2019 12:49 pm
An option to display/filter posts by category in the admin backend would be a great plugin or admin theme functionality :)
Yes, that would be a good addition...
by kohbarg
Fri Nov 22, 2019 5:52 pm
Forum: Themes
Topic: Aktives Menüelement
Replies: 12
Views: 2460

Re: Aktives Menüelement

So auf die schnelle: // Pages order by position if (ORDER_BY=='position') { // Get parents $parents = buildParentPages(); //Hier gibts noch kein $parent nur $parents (mit s) //$active = ($parent->key() == $url->slug())? 'active': ''; foreach ($parents as $parent) { //Vielleicht sollte die Abfrage hi...
by kohbarg
Thu Nov 21, 2019 6:39 pm
Forum: Themes
Topic: Aktives Menüelement
Replies: 12
Views: 2460

Re: Aktives Menüelement

Eine Möglichkeit: Such dir in deinem Theme im Ordner /php die navbar.php. Dort findest du meist: <!-- Static pages --> <?php foreach ($staticContent as $staticPage): ?> <li class="nav-item"> <a class="nav-link " href="<?php echo $staticPage->permalink(); ?>"><?php echo $staticPage->title(); ?></a> <...
by kohbarg
Sun Oct 13, 2019 5:14 pm
Forum: Themes
Topic: latest post
Replies: 1
Views: 619

Re: latest post

Hi,
latest posts I've seen on devtheme https://themes.bludit.com/theme/devtheme

Code: Select all

$listOfKeys = $pages->getList(1, 3);
Maybe you can use that.