Results 1 to 3 of 3

Thread: title problem.

  1. #1
    Join Date
    Aug 2003
    Posts
    233

    Question title problem.

    Good morning,
    Friday FINALY

    Oh well thanks to Esm my link portal is live and 100 times better then my old links 2 system.

    I did manage to change all the titles based on the titlle.php file hack I saw and what I don't understand although the main page
    http://www.atozfitness.com/indexu contains the modified title evry single other page shows <%title%> .

    Did I miss something ?
    best
    Lewis
    Best
    Lewis
    www.AtoZfitness.com/indexu

  2. #2
    Join Date
    Dec 2003
    Posts
    28

    Default Re: title problem.

    Originally posted by lewisw
    Good morning,
    Friday FINALY

    Oh well thanks to Esm my link portal is live and 100 times better then my old links 2 system.

    I did manage to change all the titles based on the titlle.php file hack I saw and what I don't understand although the main page
    http://www.atozfitness.com/indexu contains the modified title evry single other page shows <%title%> .

    Did I miss something ?
    best
    Lewis
    I'm not sure what you are asking here. Below is how I modified my 'browse.php' to show a Site Title along with the <%page_title%>:

    ################################################## #########
    ##SHOW CATEGORY TITLE IN CATEGORY PAGES
    ################################################## #########

    1. IN: /browse.php

    A. FIND:
    $title = $titles["1102"];

    CHANGE TO:
    $title = $titles["1102"];
    // MOD START FULL TITLE IN CATEGORY PAGES
    $title2 = $titles["1102-1"];
    // MOD STOP FULL TITLE IN CATEGORY PAGES


    A. FIND:
    if(empty($pg_title)) $page_title = $title;
    else $page_title = $pg_title;

    CHANGE TO:
    if(empty($pg_title)) $page_title = $title;
    // MOD START FULL TITLE IN CATEGORY PAGES
    // else $page_title = $pg_title;
    else $page_title = str_replace("<%page_title%>",$pg_title,$title2);
    // MOD START FULL TITLE IN CATEGORY PAGES


    2. IN: /titles.inc.php

    A. FIND:
    $titles["1102"] = "<%category%> .::. SITE TITLE";

    ADD AFTER THAT:
    // MOD TO SHOW FULL TITLE WHEN CATEGORY TITLE IS PRESENT
    $titles["1102-1"] = "<%page_title%> .::. SITE TITLE";
    // MOD END

    That's what worked for me. Hope that is helpful.

  3. #3
    Join Date
    Aug 2002
    Location
    Germany
    Posts
    1,180

    Default ?

    Perhaps I don't understand the problem , too

    Why don't you code blank HTMl and the template tag ?

    Frank

Similar Threads

  1. Special letter problem in other languages
    By Frank71 in forum Help Wanted/Job Request
    Replies: 13
    Last Post: 10-03-2006, 06:52 AM
  2. Page Title & Meta Tags
    By anosh in forum v5.x
    Replies: 1
    Last Post: 12-15-2003, 05:47 AM
  3. Unique Title & Url
    By beshoo in forum v3.2
    Replies: 0
    Last Post: 11-18-2002, 07:32 AM
  4. Replies: 0
    Last Post: 11-01-2002, 10:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •