Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Munesh Singh Friend
    #179643

    I need code for profiles so that i can change logo url according to profiles

    For example.

    I use default profile, the logo url should be http://www.xyz.com
    Or
    if the profile is orange, the logo url shoud be http://www.bakd.com

    Plz send the solution asap.

    Thanks in advance.
    Peeyush Gupta

    HeR0 Friend
    #463261

    Hi Znetindia
    You can change it in profile setting and hook code in templates/template_using/blocks/header.php

    Regards,

    Sherlock Friend
    #463342

    Hi znetindia,

    In this case you can assign a specific theme for each of your profiles, For example you have a blue profile that is assigned the blue theme, then you can do as following to achieve that you want
    You copy the folder of pluginssystemjat3jat3base-themesdefaultblocks paste it to the blue theme folder templatesyour_templatethemesblue
    Then you open the file templatesyour_templatethemesblueheader.php you would see this code
    <h1 class=”logo”>
    <a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $siteName; ?></span></a>
    </h1>

    Here you change the href=”index.php” to the url you want, For example href=”http://www.xyz.com”
    Doing this way you can achieve different logo urls for different themes/profiles

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

This topic contains 3 replies, has 3 voices, and was last updated by  Sherlock 12 years, 3 months ago.

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