Drupal breadcrumb and title in separate block to content?


Author Message
Rich

Posted: 9/28/2009
Quote message 

Hi there,

Not sure if anyone know the answer but it's got me stumped! Searched but cannot find exact problem elsewhere.

using artisteer created them. For all content that I create Drupal is creating one block for breadcrumb and title and another for the content but admin page they are all in one block (what I want).

I have included page output below. The blocks are contained within two divs with class "art-Post" I have marked the 1st andf 2nd blocks below.

Any help much appreciated

Rich

-------------------------------------




<div class="art-content">

************************************* 1ST BLOCK
<div class="art-Post">
<div class="art-Post-tl"></div>
<div class="art-Post-tr"></div>
<div class="art-Post-bl"></div>
<div class="art-Post-br"></div>
<div class="art-Post-tc"></div>
<div class="art-Post-bc"></div>
<div class="art-Post-cl"></div>
<div class="art-Post-cr"></div>
<div class="art-Post-cc"></div>
<div class="art-Post-body">
<div class="art-Post-inner">
<div class="art-PostContent">
<div class="breadcrumb"><a href="/">Home</a></div><h2 class="with-tabs">test Page 2</h2><ul class="arttabs_primary"><li><span class="active art-button-wrapper "><span class="l"></span><span class="r"></span><a href="/testpage2" class="active art-button">View</a></span></li><li><span class="art-button-wrapper "><span class="l"></span><span class="r"></span><a href="/node/6/edit" class="art-button">Edit</a></span></li></ul><div class="cleared"></div>
</div>
<div class="cleared"></div>

</div>

</div>
</div>


************************************* 2ND BLOCK

<div class="art-Post">
<div class="art-Post-tl"></div>
<div class="art-Post-tr"></div>
<div class="art-Post-bl"></div>
<div class="art-Post-br"></div>
<div class="art-Post-tc"></div>
<div class="art-Post-bc"></div>
<div class="art-Post-cl"></div>
<div class="art-Post-cr"></div>
<div class="art-Post-cc"></div>
<div class="art-Post-body">
<div class="art-Post-inner">
<div class="art-PostContent">
<div class="art-article"><p>degdfgt</p>
</div>
</div>
<div class="cleared"></div>

</div>

</div>
</div>
</div>
<div class="art-sidebar1"><div class="art-Block clear-block block block-user" id="block-user-1">
<div class="art-Block-tl"></div>
<div class="art-Block-tr"></div>
<div class="art-Block-bl"></div>
<div class="art-Block-br"></div>
<div class="art-Block-tc"></div>
<div class="art-Block-bc"></div>
<div class="art-Block-cl"></div>
<div class="art-Block-cr"></div>
<div class="art-Block-cc"></div>
<div class="art-Block-body">


<h2 class="subject">admin</h2>

<div class="art-BlockContent content">
<div class="art-BlockContent-body">

<ul class="menu"><li class="leaf first"><a href="/user/1">My account</a></li>
<li class="collapsed"><a href="/node/add">Create content</a></li>
<li class="collapsed"><a href="/admin">Administer</a></li>
<li class="leaf last"><a href="/logout">Log out</a></li>
</ul>
</div>
</div>


</div>
</div>
</div>

 
Marcus

Posted: 10/8/2009
Quote message 

I am having the same problem. Would appreciate a solution if anyone has one!
 
Phil

Posted: 10/8/2009
Quote message 

I have had the same problem since upgrading to version 2.3 I contacted support about it and it turns out that this is a new feature of the system that they intend to keep, here is a quote from the support conversation
Quote :
Thanks again for the input.
We have made the changes in the most recent version of Artisteer to adhere to the most common and current trends.
I think you'll like the difference as you get used to it.
Thanks again for using Artisteer!

I have uninstalled version 2.3 and reverted to version 2.2 as this works as I would expect, i.e. keeping the post title with the post body.

 
Phil

Posted: 10/8/2009
Quote message 

I have just investigated further into this and in version 2.3 the code being outpout is

<div class="art-post">
<div class="art-Post-inner">
<div class="art-PostContent">
Post title in here
</div>
</div>
</div>
<div class="art-post">
<div class="art-Post-inner">
<div class="art-PostContent">
Post content in here
</div>
</div>
</div>

Which just doesnt seem right, putting the title in one 'post' and then putting the post content in another 'post' following it.

In the previous version the code output was
<div class="art-post">
<div class="art-Post-inner">
<div class="art-PostMetadataHeader">
Post title in here
<div class="art-PostContent">
Post content in here
</div>
</div>
</div>

Which makes much more sense

I suggest anyone suffering from this issue contact support to ask why it was changed in this way

 
marcus

Posted: 10/9/2009
Quote message 

Thanks for that Phil.
It doesn't make any sense. Why would anyone want their content to appear in this way??!
 
ds

Posted: 10/14/2009
Quote message 

Just purchased and created first theme and this is a worry. Cannot understand at all why anyone whould think this is a good idea.
Off to hack it!
 
Len

Posted: 10/15/2009
Quote message 

Does anyone have some more info about this? Which file should i take?
 
danbuntu

Posted: 10/24/2009
Quote message 

Quote ds:

Just purchased and created first theme and this is a worry. Cannot understand at all why anyone whould think this is a good idea.


I have to agree with the others in this thread. spliting the breadcrumb into a different block is just a pain, even more so when hiding the breadcrumb using css still outputs the block.

It would be much more useful to beable to select where you want the breadcrumb to go and even better be able to turn it off completely.
 
Chris

Posted: 11/8/2009
Quote message 

This has been driving me crazy, it really undermines the look of a finished professional website, and does not resemble the preview of what the articles were supposed to look like inside of artisteer...
 
Matthijs

Posted: 11/9/2009
Quote message 

The title is now in the right place .. so, upgrade your version to the newest one!
 
Duncan

Posted: 1/5/2010
Quote message 

:*) Is it? I'm not sure it is....

I don't think it's fixed - no offence Matthijs, but I think the original comments still stand - it isn't better.

- this is really wierd feature/bug - I can't see how it's useful at all.
 
Jago

Posted: 9/20/2011
Quote message 

Quote Duncan:

:*) Is it? I'm not sure it is....


It is not fixed. I have that problem.

<div class="art-layout-cell art-content"><div class="art-post">     <div class="art-post-body" style=" "> <div class="art-post-inner art-article"> <div class="art-postcontent"> <h2 class="element-invisible art-postheader">You are here</h2><div class="breadcrumb art-postcontent"><a href="/">Home</a></div> </div> <div class="cleared"></div>  </div>  		<div class="cleared"></div>     </div> </div>                                                  <div class="region region-content">       <div class="region region-content">     <div class="block block-system" id="block-system-main">      	     			 <div id="node-4" class="node node-page" about="/?q=home" typeof="foaf:Document"> <div class="art-post">     <div class="art-post-body"> <div class="art-post-inner art-article"> <h2 class="art-postheader" property="dc:title" datatype=""><img src="/sites/all/themes/Pinchos/images/postheadericon.png" width="24" height="24" alt="">Home</h2> <div class="art-postcontent"> <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p><strong>Pinchos</strong> is a <em>Tapas Bar</em> in Bukit Bintang area, Kuala Lumpur.</p> </div></div></div> </div> <div class="cleared"></div>  </div>  		<div class="cleared"></div>     </div> </div>  </div> 	</div>  </div>   </div> </div>


The second div from top, the one with class art-post, is completely useless. It just has a link back to home, but that breadcrumb is horrible, and it is not possible to make it display:none;

Please Artisteer, find something to fix that.
 
Jago

Posted: 9/20/2011
Quote message 

I forgot to mention that the full code included is the class art-layout-cell / art-content, in which all the content is placed.
 
Patrik

Posted: 8/11/2012
Quote message 

Hi all,
the answer lies in drupal7_theme_methods.php - line 13-24.