Search found 30 matches

by bayerberg
Fri Apr 20, 2018 4:40 pm
Forum: General
Topic: [Resolved] How to get the permalink of a category
Replies: 2
Views: 26

Re: How to get the permalink of a category

i use something like this :

Code: Select all

      <?php
        if ($page->category()) {
        echo '<a href="'.DOMAIN_CATEGORIES.$page->categoryKey().'">'.$page->category().'</a>';
        };
      ?>
add it to page.php
by bayerberg
Fri Apr 20, 2018 1:48 pm
Forum: General
Topic: Removed user error
Replies: 1
Views: 14

Re: Removed user error

might be connected to this issue https://forum.bludit.org/viewtopic.php?f=6&t=1142
by bayerberg
Fri Apr 20, 2018 1:35 pm
Forum: General
Topic: Removed user error
Replies: 1
Views: 14

Removed user error

Had 2 users, created couple of pages using 2 logins. Removed one user (reasigned pages to admin). Now I get Uncaught Error on some of the pages: Fatal error: Uncaught Error: Call to a member function username() on boolean in /Users/martin/Documents/local_server/blud/bl-themes/bludit-blogr/php/home.p...
by bayerberg
Mon Apr 16, 2018 5:41 pm
Forum: Themes - Plugins - Extensions
Topic: [Plugin] Bludit Admin Tools
Replies: 1
Views: 59

[Plugin] Bludit Admin Tools

https://github.com/Bayerberg/Bludit-Admin-Tools Bludit-Admin-Tools Administrator tools - 3 strips for all your admin (and editor) needs Admin Tools Admin Panel Strip All your basic data - content, user and time Admin Tools Page Details Strip Page metadata & Edit page button Admin Tools Sidebar Panel...
by bayerberg
Fri Apr 13, 2018 1:15 pm
Forum: Themes - Plugins - Extensions
Topic: [Extensions] - Admin bar
Replies: 13
Views: 869

Re: [Extensions] - Admin bar

update for 2.x.x coming. need to plough through couple of projects first.
by bayerberg
Wed Apr 11, 2018 1:03 pm
Forum: General
Topic: Pagination - page children / orphan pages
Replies: 7
Views: 278

Re: Pagination - page children / orphan pages

ill finish and publish the site, you'll get whats going on in an instant :)

btw. in terms of orphan pages (posts) - is there a way to loop only those? I want to show (and paginate) only those without parents or children in a separate part of the website.
by bayerberg
Tue Apr 10, 2018 8:20 pm
Forum: General
Topic: Pagination - page children / orphan pages
Replies: 7
Views: 278

Re: Pagination - page children / orphan pages

I'm using 2 templates for product pages levelone.php (parent) and page.php (child) level one looks like this <div class="container"> <div class="row"> <div class="twelve columns"> <h1 class="title">Level one : <?php echo $page->title(); ?></h1> <?php if ($page->coverImage()): ?> <img src="<?php echo...
by bayerberg
Tue Apr 10, 2018 6:35 pm
Forum: General
Topic: Pagination - page children / orphan pages
Replies: 7
Views: 278

Re: Pagination - page children / orphan pages

yes, i want to paginate subpages. blog - thats done, but if I would like to create a product site pagination would be needed to limit how many sub-products are shown on one product page btw. as I see it there are 3 states of pages parent - has children (top level) child - has a parent (subpage) orph...
by bayerberg
Tue Apr 10, 2018 4:36 am
Forum: General
Topic: Pagination - page children / orphan pages
Replies: 7
Views: 278

Pagination - page children / orphan pages

my page.php has if ($page->children()){ foreach ($page->children() as $page) { if ($page->published()) { echo'<h4 class="title"><a href="'.$page->permalink().'">'.$page->title().'</a></h4>'; echo'<p>'.$page->description().'</p>'; echo'<p><a href="'.$page->permalink().'">'.$Language->get('Read more')...
by bayerberg
Tue Apr 10, 2018 4:24 am
Forum: General
Topic: bludit 2.3.4 - static page username() error
Replies: 4
Views: 264

Re: bludit 2.3.4 - static page username() error

will try to get it to show again. 100% sure it wasnt anything to do with loops, everything was working for other editors