Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Questions
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Important - The support forums are now in "read-only" mode as we transition to an alternative help desk solution. Feel free to contact us here with any of your questions or search the forums for an existing solution.
 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 4th, 2013, 01:08 PM
Aichels Aichels is offline
 
Join Date: Feb 2013
Posts: 77
Default Title block

Sorry to get back to you about same question, but I just now noticed that my title block is not showing, if you go to homepage and then click to next page.

Referring to this post /show...ighlight=title
  #2  
Old April 4th, 2013, 02:04 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

That's because you mentioned you wanted it to appear on every page except the homepage.

To include the title on every page, including the homepage which has been paginated, change your code to this:

HTML Code:
<?php if ( is_dfr() && ( !is_dfr('home') || substr_count($_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"], '/') > 1 ) ) : ?>
	<div id="pagetitle" class="row">
		<div class="grid_12">
			<h1>
				Shop 
			</h1>
		</div>
		<div class="clear"> </div>
	</div>
<?php endif; ?>
Eric
  #3  
Old April 4th, 2013, 02:31 PM
Aichels Aichels is offline
 
Join Date: Feb 2013
Posts: 77
Default

Sorry for not mentioning that.

Thank you now it's good.
  #4  
Old April 10th, 2013, 09:18 AM
Aichels Aichels is offline
 
Join Date: Feb 2013
Posts: 77
Default

Hi, unfortunately my title block is showing in blog and contacts page again.

I was changing my store page and homepage name for SEO reasons when I noticed that this block is double in contacts and blog. So I changed names back, but that block is still double. Code is still there exactly like you gave me. Can you please help me?
  #5  
Old April 10th, 2013, 09:34 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

What template file is that code in?

Eric
  #6  
Old April 10th, 2013, 10:07 AM
Aichels Aichels is offline
 
Join Date: Feb 2013
Posts: 77
Default

title.php
  #7  
Old April 10th, 2013, 10:18 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

I'm not sure why that wasn't working but this works:

HTML Code:
<?php if ( is_page(2606) && ( !is_dfr('home') || substr_count($_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"], '/') > 1 ) ) : ?>
	<div id="pagetitle" class="row">
		<div class="grid_12">
			<h1>
				Shop 
			</h1>
		</div>
		<div class="clear"> </div>
	</div>
<?php endif; ?>
2606 is the ID for your "Store" page.

Eric
  #8  
Old April 10th, 2013, 10:25 AM
Aichels Aichels is offline
 
Join Date: Feb 2013
Posts: 77
Default

Awesome quick fix.

Thank you.
  #9  
Old May 3rd, 2013, 03:38 AM
Aichels Aichels is offline
 
Join Date: Feb 2013
Posts: 77
Default

Hi,

I'm trying to add this Title block different page I created. How do I do it? I was trying by just adding another page id - didn't work. Then I tried copy all code and add page id and still nothing.

Is there something that I'm missing?
  #10  
Old May 3rd, 2013, 04:28 AM
Aichels Aichels is offline
 
Join Date: Feb 2013
Posts: 77
Default

Sorry, I got it sorted. That was theme settings conflict.
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
block from store macfink Feature Requests 6 March 4th, 2013 02:57 PM
Block from cat/block from store not working mcleare Problems 6 May 10th, 2012 02:30 PM
Block from store macfink Questions 5 August 13th, 2011 08:27 AM


All times are GMT -5. The time now is 01:15 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.