Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bootstrap sidebar formatting error #24

Open
metbril opened this issue Jun 21, 2016 · 1 comment
Open

Bootstrap sidebar formatting error #24

metbril opened this issue Jun 21, 2016 · 1 comment

Comments

@metbril
Copy link

metbril commented Jun 21, 2016

When used with the bootstrap theme, the first entry in the sidebar is right aligned. The rest of the lines is left aligned like it should.

Syntax:

~~DIR::?noheader&list&ego&collapse~~
@picc09
Copy link

picc09 commented Feb 18, 2017

Issue depends on bad init of 'row_counter'.
When plugin builds table, at the first iteration, the value is null.
I don't know how to fix the problem, for now I changed the file "inc/parser/xhtml.php", at line 1381 the method tablerow_open() opens the TR tag and the problem is the use of class "row" in place of "row0".
The temporary fix consists to change

$class = 'row' . $this->_counter['row_counter'] ++;

to

$rowCount = $this->_counter['row_counter'] ++; $rowCount = is_null($rowCount) ? 0 : $rowCount; $class = 'row' . $rowCount;

I hope it could help you.
Bye.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants