Search found 142 matches

by bayerberg
Sat Apr 27, 2024 11:50 pm
Forum: Plugins
Topic: SEO Suite for Bludit
Replies: 6
Views: 3824

Re: SEO Suite for Bludit

damn... instead of making it a plugin I dida a full theme. need to dig it up. thanks for reminding me :)
by bayerberg
Mon Mar 25, 2024 11:32 pm
Forum: General
Topic: Custom fields on parent page
Replies: 2
Views: 799

Re: Custom fields on parent page

Thanks! That was almost it :) I'm after something a bit more elaborate. I want to show custom fields of a parent page on a child page.
by bayerberg
Thu Mar 21, 2024 9:56 pm
Forum: General
Topic: Custom fields on parent page
Replies: 2
Views: 799

Custom fields on parent page

Hi all!

How to check if the parent page has anything in custom field 'xxx'? We have $page->parentMethod() but dont think we can fetch $page->custom('xxx') through that...
by bayerberg
Wed Feb 14, 2024 1:25 am
Forum: Plugins
Topic: Suggestions about the way Plugins are presented
Replies: 1
Views: 449

Re: Suggestions about the way Plugins are presented

rewriting all of my plugins as we speak, will include all the info plus a little bit extra. Bludit plugin repo site needs a bit of work as well, would be nice to publish the same info there so anyone interested would be sure that what he is getting (possibly buying) is going to work with the install...
by bayerberg
Wed Aug 23, 2023 12:29 am
Forum: General
Topic: Custom fields via plugin?
Replies: 0
Views: 30779

Custom fields via plugin?

As we got the possibility to create plugins that go with themes is there a way to control $site->customFields() via plugins? I want to add { "medialink": { "type": "string", "placeholder": "Youtube, Soundcloud, Vimeo and others", "position"...
by bayerberg
Fri Jul 21, 2023 2:56 pm
Forum: General
Topic: Options/Template
Replies: 5
Views: 8417

Re: Options/Template

nope, all the css, js and images are pulled from current theme folder. you might be able to fetch php partials from other themes but it wont look good.

there might be a way to switch themes though. will need to investigate :)
by bayerberg
Sun Jul 16, 2023 11:19 am
Forum: General
Topic: Options/Template
Replies: 5
Views: 8417

Re: Options/Template

hmmm... it was implemented but you needed a theme that had templates included. modify index.php if ($WHERE_AM_I == 'page') { if ($page->template()) { include(THEME_DIR_PHP.$page->template().'.php'); } else { include(THEME_DIR_PHP.'page.php'); } } and create template pages. dont forget to name them i...
by bayerberg
Sun Jun 18, 2023 1:23 am
Forum: General
Topic: Pagination - page children / orphan pages
Replies: 8
Views: 6742

Re: Pagination - page children / orphan pages

Anyone has a method for paginating page children? I'll settle for next / previous links :)
by bayerberg
Sat Jun 17, 2023 4:39 pm
Forum: General
Topic: Parent submenu (list children on child page)
Replies: 4
Views: 5229

Re: Parent submenu (list children on child page)

aaand looks like i did it! <?php echo '<hr/><nav><ul>'; $children = $page->parentMethod('children'); foreach ($children as $child) { echo '<li>&raquo; <a href="'.$child->permalink().'">'.$child->title().'</a></li>'; } echo '</ul></nav><hr/>'; ?>
by bayerberg
Sat Jun 17, 2023 4:33 pm
Forum: General
Topic: Parent submenu (list children on child page)
Replies: 4
Views: 5229

Parent submenu (list children on child page)

What's the quickest method of listing siblings of a static page? I have a static parent page and want to create a menu that shows only parent + child pages. Something like this
Parent
- childPage
- childPage
- childPage