Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • bicker Friend
    #167406

    I’m just getting started with joomla (and unfortunately have an insanely short timeframe to get done what is needed :(). I want to put a logo next to the logo-text div, rather than having to choose between the two. I can do this by editing the template’s header.php file. What I’ve tried that would result in my copying or cloning files to get this done has failed, resulting either in ignoring my changes, or losing necessary formatting (with the header bar reduced to a very thin sliver).

    I am wondering if there is an easy way to override blocks/header.php in JA Social, so that I can put my mod in its own file, and then just tell the template to use my php file instead of blocks/header.php.

    Trimud Friend
    #406284

    Hi bicker,

    I have created custom theme that overrides header.php file.
    Please download it here: 15030

    After this go to Your template -> Themes tab and under “UPLOAD PACKAGE FILE” select custom_header.zip and upload it.
    Than go to Profiles tab and under “Theme Settings” click edit icon, select Custom_Header and click Apply.
    Than click Apply in templates button and You are finished with this.

    Now in order to make changes to header.php use Your FTP client and go to templates/ja_social/local/themes/Custom_Header/blocks/header.php

    CSS changes should be made in templates/ja_social/local/themes/Custom_Header/blocks/css/template.css

    Best Regards


    1. custom-header.zip
    bicker Friend
    #406512

    Thank you so much for the reply. To be sure I understand, could you please confirm if my understanding is correct? If, let’s say, I just use the built-in theme “green-color”. Does that mean that I can override any of the php files in …templates/ja_social/blocks by putting a copy into …templates/ja_social/local/themes/green-color/blocks ? (The specifics of where to put what files to get what kind of overriding behavior is not clear in any of the documentation I’ve managed to read and understand, so far.)

    Updated: I just did that, and it isn’t working. :confused:

    Updated again: Okay, I think I’m getting it, but only through trial-and-error: The documentation is very inadequate in this regard. It seems that only local themes can be overridden.

    One other thing that is not clear in the documentation: It seems that when you copy a style, you are copying only the association of a style name and its page assignments to a default profile (the left side of the page). The profiles are not copied… there doesn’t appear to be an explicit manager for profiles. If you change a profile in one style, you’re changing it in copies of the style.

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

This topic contains 3 replies, has 2 voices, and was last updated by  bicker 13 years, 3 months ago.

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