Joomla - Artisteer and Header Position


Author Message
Joomla Newbie

Posted: 6/18/2009
Quote message 

Can someone explain to me what position the "header" is located? I am using the code extension ?tp=1 and where I want my header, I do not see a "header" position. Reason being, I want ultimately use Header Image Module. Also, can someone tell me why the header names in the following page are in dotted lines? http://www.artisteer.com/?p=help_joomla#joomla4 Thanks in advance!
 
your web pros

Posted: 6/18/2009
Quote message 

Hi,

apparently theres no header module at this moment.

the dotted lines means that its movable, either top of menu(user3) or bottom of menu(user3)

The only thing you could do is create a position as header.

your web pros - pongz
 
Joomla Newbie

Posted: 6/18/2009
Quote message 

Any good examples on how to create a position as a header?
 
Your web pros

Posted: 6/18/2009
Quote message 

yo,

Open your templatedetails.xml - you can find it on you file directories, it is under your /templates/templatesname/templateDetails.xml

on that file, you'll find this section


<positions>
<position>breadcrumb</position>
<position>left</position>
<position>right</position>
<position>top</position>
<position>user1</position>
<position>user2</position>
<position>user3</position>
<position>user4</position>
<position>footer</position>
</positions>



add the code on that one. after that go to your index.php on your joomla administrator.

find this section <div class="Header">, it should be around top area.
add this code after that:

<?php if ($this->countModules('nmod1')) : ?>

<div>
<jdoc:include type="modules" name="nmod1" style="xhtml" />
</div>
<?php endif; ?>


it will look like this

<div class="Header">
<?php if ($this->countModules('nmod1')) : ?>
<div>
<jdoc:include type="modules" name="nmod1" style="xhtml" />
</div>
<?php endif; ?>
<div class="Header-png"></div>
<div class="Header-jpeg"></div>
<div class="logo">


Hope this helps

your web pros - pongz
 
Joomla Newbie

Posted: 6/19/2009
Quote message 

Very cool. I got it to work. I had to change the code just a little bit to match the other naming conventions of the Artisteer naming convention. My code fix was:

<div class="art-Header">
<?php if ($this->countModules('nmod1')) : ?>
<div>
<jdoc:include type="modules" name="header" style="artsyle outline" />
</div>
<?php endif; ?>
<div class="art-Header-png"></div>
<div class="art-Header-jpeg"></div>
<div class="art-Logo">


I've got a little clean up to do, but thanks a MILLION for your assistance.
 
Joomla Newbie

Posted: 6/19/2009
Quote message 

OK, so it worked if I used the link with ?tp=1, but if I used my normal link name, it goes back to the default picture that was up there from before.
 
Joomla Newbie

Posted: 6/19/2009
Quote message 

Please disregard that last comment. I figured it out. I see you used the following line for "troubleshooting". The include was only called if the ?tp=1 was in the header. So I deleted
<?php if ($this->countModules('nmod1')) : ?>
and
<?php endif; ?>


Again, Thanks!!
 
your web pros

Posted: 6/19/2009
Quote message 

welcome.

ow, ya, i forgot to tell you to change some naming convension but im glad it helped you alot.

your web pros - pong
 
Joomla Newbie

Posted: 6/19/2009
Quote message 

Hopefully this will be the last question, but I am using the above code and the ?tp=1 value is still displaying in the header. However, it is not in the URL bar at all. Any thoughts on how to get that from displaying? Current code:

<div class="Header">
<div>
<jdoc:include type="modules" name="header" style="artsyle outline" />
</div>
<div class="Header-png"></div>
<div class="Header-jpeg"></div>
<div class="logo">
</div>

 
Joomla Newbie

Posted: 6/19/2009
Quote message 

I need to stop posting before I try something. I got rid of 'style="artsyle outline'. My message now does not show up. Thanks!
 
Your Web PRos

Posted: 6/20/2009
Quote message 

Hi,

I think your not suppose to take off the xhtm coz its part of the code.

only the "nmod" you have to change.

<div class="Header">
<?php if ($this->countModules('nmod1')) : ?>
<div>
<jdoc:include type="modules" name="nmod1" style="xhtml" />
</div>
<?php endif; ?>
<div class="Header-png"></div>
<div class="Header-jpeg"></div>
<div class="logo">

you have to add this <position>nmod</position> at your your templatedetails.xml - you can find it on you file directories, it is under your /templates/templatesname/templateDetails.xml

on that file, you'll find this section


<positions>
<position>breadcrumb</position>
<position>left</position>
<position>right</position>
<position>top</position>
<position>user1</position>
<position>user2</position>
<position>user3</position>
<position>user4</position>
<position>footer</position>
</positions>

how that helps.

your web pros - pongz


 
Aumcara

Posted: 6/22/2009
Quote message 

Hello Your,

I have followed the here above instruction and I can now assign a banner in the art-header position within Joomla.

Hower, I do have a little issue....

When entering a banner in that position (let's call it "nmod1" ... :

A) she's placed in the very middle of the width of the page ..and in my case I wanted to have it aligned with the right hand border of my template

B) the link of the banner is propagated on the entire width instead of only related to the banner who'is in that position .... and so, if I have a company logo over there ... it will link to the banner instead of the link on the logo :-P

Can someone let me knw what I could do in order to solve those 2 above issues ...

remark: using div aliign="center" did not help unfortunatly.

thanks for your replies.