Search found 141 matches
- Mon Mar 25, 2024 11:32 pm
- Forum: General
- Topic: Custom fields on parent page
- Replies: 2
- Views: 97
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.
- Thu Mar 21, 2024 9:56 pm
- Forum: General
- Topic: Custom fields on parent page
- Replies: 2
- Views: 97
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...
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...
- Wed Feb 14, 2024 1:25 am
- Forum: Plugins
- Topic: Suggestions about the way Plugins are presented
- Replies: 1
- Views: 237
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...
- Wed Aug 23, 2023 12:29 am
- Forum: General
- Topic: Custom fields via plugin?
- Replies: 0
- Views: 30759
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"...
- Fri Jul 21, 2023 2:56 pm
- Forum: General
- Topic: Options/Template
- Replies: 5
- Views: 8374
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
there might be a way to switch themes though. will need to investigate
- Sun Jul 16, 2023 11:19 am
- Forum: General
- Topic: Options/Template
- Replies: 5
- Views: 8374
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...
- Sun Jun 18, 2023 1:23 am
- Forum: General
- Topic: Pagination - page children / orphan pages
- Replies: 8
- Views: 6668
Re: Pagination - page children / orphan pages
Anyone has a method for paginating page children? I'll settle for next / previous links
- Sat Jun 17, 2023 4:39 pm
- Forum: General
- Topic: Parent submenu (list children on child page)
- Replies: 4
- Views: 4903
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>» <a href="'.$child->permalink().'">'.$child->title().'</a></li>'; } echo '</ul></nav><hr/>'; ?>
- Sat Jun 17, 2023 4:33 pm
- Forum: General
- Topic: Parent submenu (list children on child page)
- Replies: 4
- Views: 4903
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
Parent
- childPage
- childPage
- childPage
- Fri Apr 29, 2022 12:53 am
- Forum: Themes
- Topic: Makeitblu Barebones - skeleton theme for Bludit 3.xx
- Replies: 0
- Views: 9749
Makeitblu Barebones - skeleton theme for Bludit 3.xx
Hi. I made a theme! Again! This one is for anyone who wants to get into creating themes for Bludit . It has every variable you need in place, css that is so skinny it looks dead and has no fluff trailing anywhere! To make matters even better everything is commented properly so even if you don't exac...