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

Setting PageNavigator label to 'title' does nothing #6

Open
set321go opened this issue Oct 27, 2011 · 0 comments
Open

Setting PageNavigator label to 'title' does nothing #6

set321go opened this issue Oct 27, 2011 · 0 comments

Comments

@set321go
Copy link

the documentation says that there are 3 options for the 'label' on the page navigator
http://www.jformer.com/documentation/form-features/page-navigator/

setting to title or prefixLabels gives the same result.

My modification is to just display the title if it is set to


 if ($this->pageNavigator['label'] == 'title'){
     $pageNavigatorLabelText = strip_tags($jFormPage->title);
 } else {
     $pageNavigatorLabelText = '' . $jFormPageArrayCount . ' ' . strip_tags($jFormPage->title);
 } 

this was added on line 1027 in the production code the equivilent line is 695 of the JFormer.php file on the project site

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

1 participant