Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • DreamWeb Friend
    #137376

    Hi there. I’m using JA_Rochea for a site I’m running.

    I just LOVE the Frontpage styling of Quartz.. with the large Date automatically being placed beside the content, etc.

    Is there an easy way to move this style over to Rochea?

    I see that the code that controls this is likely

    .contentpaneopen_fp

    But simply copying all related CSS to the Rochea CSS doesn’t do the trick (duh!) 😉

    Am I missing something easy?

    Thanks!

    .d

    ShannonN Friend
    #287696

    DreamWeb;107604Hi there. I’m using JA_Rochea for a site I’m running.

    I just LOVE the Frontpage styling of Quartz.. with the large Date automatically being placed beside the content, etc.

    Is there an easy way to move this style over to Rochea?

    I see that the code that controls this is likely

    .contentpaneopen_fp

    But simply copying all related CSS to the Rochea CSS doesn’t do the trick (duh!) 😉

    Am I missing something easy?

    Thanks!

    .d

    Have you thought of just assigning the Quartz template to your Front Page and adjusting content to suit leaving the rochea template assigned to all other areas? May be a tad easier timewise than modding code?

    Just my thoughts
    ShannonN

    DreamWeb Friend
    #287862

    Hey Shannon.

    Thanks for the input.. but I think it would still take some heavy modding to get the Quartz template to look ‘in sync’ with the rochea template. This sounds like more work than what I was asking for. But, maybe I’m just not ‘seeing’ it in the same way you are.

    Hmm! I’ll have to give it some more thought.

    I’d still love to figure out a solution to my original question though!

    David

    ShannonN Friend
    #287866

    DreamWeb;107818Hey Shannon.

    Thanks for the input.. but I think it would still take some heavy modding to get the Quartz template to look ‘in sync’ with the rochea template. This sounds like more work than what I was asking for. But, maybe I’m just not ‘seeing’ it in the same way you are.

    Hmm! I’ll have to give it some more thought.

    I’d still love to figure out a solution to my original question though!

    David

    Send a PM to Menalto ( resident customise guru)
    He could advise you and assist in custom work

    Menalto Friend
    #288888

    Just sendt you a PM regarding this for some more info

    melron Friend
    #293087

    How did you solve that, because I’d like to use that ja_quartz date’s style on ja_zinc template’s frontpage?

    scotty Friend
    #293110

    Backup first and then open /templates/ja_zinc/html/com_content/frontpage/default_item.php and find on line 50…

    [php]<?php if ($this->item->params->get(‘show_create_date’)) : ?>
    <span class=”createdate”>
    <?php echo JHTML::_(‘date’, $this->item->created, JText::_(‘DATE_FORMAT_LC2’)); ?>
    </span>
    <?php endif; ?>[/php]and delete.

    Now find on line 19….
    [php]<div class=”contentpaneopen<?php echo $this->item->params->get( ‘pageclass_sfx’ ); ?>”>[/php]and change to…
    [php]<div class=”contentpaneopen<?php echo $this->item->params->get( ‘pageclass_sfx’ ); ?>”>

    <?php if ($this->item->params->get(‘show_create_date’)) : ?>
    <span class=”createdate”>
    <?php echo JHTML::_(‘date’, $this->item->created, ‘%a – %d <br /><span class=”month”>%b</span>’); ?>
    </span>
    <?php endif; ?>[/php]and save.

    Now open template.css and find on line 478…

    .createdate {
    padding-right: 6px;
    margin-right: 5px;
    background: url(../images/vline.gif) no-repeat right center;
    }

    and change to…

    .createdate {
    color: #cccccc;
    background: #000000;
    border: 2px solid #999999;
    display: block;
    text-transform: uppercase;
    text-align: center;
    width: 70px;
    float: left;
    margin-right: 10px;
    }

    span.month{
    font-weight: bold;
    font-size: 150%;
    }

    Adjust styling above to suit whatever theme of Zinc you are using.

    melron Friend
    #293132

    Thanks!

    I did not even knew there is default.item.php file.. These new templates are very complex and its difficult to modified them when You dont understand much php.. (and english you may say) 😀

Viewing 8 posts - 1 through 8 (of 8 total)

This topic contains 8 replies, has 5 voices, and was last updated by  melron 15 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum