Jump to content

TextFormatter module


naruttam
 Share

Recommended Posts

Hello developers,

I am a newbie to Processwire CMS or CMF. I am stuck in using the TextFormatter module. I need to have pagination for a page, but this page has a header with a 1022*1024 image, so when click on next page, I get the repeated header image. Is there a way to remove the header image on clicking next.  :rolleyes:

Link to comment
Share on other sites

I am assuming you are using the Pagination textformatter (there are a lot of text formatters)

With normal pagination, you can use $input->pageNum as LostKobrakai says - this might work with the pagination textformatter too.

So:

if ($input->pageNum < 2)  {
	$bigimage
}else{
	$littleimage;
}

Worth trying

Oh, and welcome to Processwire!

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...