Search found 142 matches
- Sat Apr 27, 2024 11:50 pm
- Forum: Plugins
- Topic: SEO Suite for Bludit
- Replies: 6
- Views: 4005
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
- Mon Mar 25, 2024 11:32 pm
- Forum: General
- Topic: Custom fields on parent page
- Replies: 2
- Views: 1649
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: 1649
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: 725
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: 30813
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: 8481
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: 8481
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: 6772
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: 5636
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: 5636
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