test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • hamlethub Friend
    #163834

    I am attempting to add facebook like code into every article. However, I would like to have it different for different templates/profiles.

    There is a method for putting the facebook code into an article using the default.php.

    Should I insert this code into …templates/ja_teline_iv/blocks/content.php so that it will be inserted into every article?

    Because I would like this to be different for different profiles, is there any way I can put a php file in the …templates/ja_teline_iv/local/themes/theme1/ directory that will override the content.php file?

    Thanks!

    thangnn1510 Friend
    #390916

    Hi hamlethub!

    Your way to change content.php based on profiles:

    <blockquote>Should I insert this code into …templates/ja_teline_iv/blocks/content.php so that it will be inserted into every article?

    Because I would like this to be different for different profiles, is there any way I can put a php file in the …templates/ja_teline_iv/local/themes/theme1/ directory that will override the content.php file?</blockquote>

    Won’t work. We have no good way in this case.

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

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

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