Results 1 to 9 of 9

Thread: The category page Title not change

  1. #1
    Join Date
    Jan 2007
    Posts
    17

    Default The category page Title not change

    I use IndexUDX1.2 version right now.

    I've add the specific title for each category but in the browser title not change, how to fix?


    EX

    Top > Cat A > Cat B

    I go to category edit via admin and try to edit Cat B and fill in "Page Title" box for a specific name let's say "Special".

    But when I update category and try to view the "Cat B" page, title still be "Browse by category: Cat A > Cat B - Page 1" which it should be "Browse by category: Cat A > Special - Page 1" from my understanding.

    How to fix this?
    or
    That "Page Title" filling box not really work at all?



    Thanks in advance for every advices,

  2. #2
    Join Date
    Jan 2007
    Posts
    17

    Default

    I mean the box with these description below:


    This text will appear in window title bar.
    It may help you improve your page rank in search engine.
    If you leave it blank the page title will be the category name.

  3. #3
    Join Date
    May 2004
    Location
    New Zealand
    Posts
    600

    Default

    do you have an example of the page?

  4. #4
    Join Date
    Jan 2007
    Posts
    17

    Default

    Browse by category: Hosting By Region > Albania - Page 1

    and other categories on the site as well.

    each category, I fill in the "Page Title" box via admin with different sentence or name than category's name. but title bar seem not change

  5. #5
    Join Date
    May 2004
    Location
    New Zealand
    Posts
    600

    Default

    In your template files under the header file

    what is it showing in the code for title?

    Thats where id start playing around with... Im not sure about the v1.? though compared to some of my older sites but im sure thats where i played with it till it worked.....

  6. #6
    Join Date
    Jan 2007
    Posts
    17

    Default

    header.html file

    Code:
    	<title><%$title%></title>
    	<meta http-equiv="content-type" content="text/html; charset=<%$charset%>" />
    	<meta name="keywords" content="<%$meta_keywords%>" />
    	<meta name="description" content="<%$meta_description%>" />
    browse.html file

    Code:
    <%if $header%>
    	<%$header%>
    <%else%>
    	<%capture name="pg_title"%><%t a=$page_title b=$current_page%>Browse by category: %1 - Page %2<%/t%><%/capture%>
    	<%include file="header.html"
          title=$smarty.capture.pg_title
          meta_keywords="$meta_keywords"
          meta_description="$meta_description"
    	%>
    <%/if%>

    both of them are default ones actually.
    what I understand is the key is code in browse.html file.
    but I just wonder that the "Page Title" function should work by default something like that.

    If I don't fill that box, ok title on browser will show category's name.
    But if I fill that box, title on browser will show as I filled.

    But it seem not working like that.

  7. #7
    Join Date
    May 2004
    Location
    New Zealand
    Posts
    600

    Default

    what happens if you comment out that line in the browse code..... id try it but my code has been modified to much so isnt the same as yours

  8. #8
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    Your browse.html and header.html look good.
    I tested with 2.4, have no any problem.

    Try to check the value of <%$page_title%>, because this is passed to header.html.

    So in browse.html, put <%$page_title%>.
    Then access the category page where the title is modified.

    If it doesn't work, then something wrong with the browse.php or database (idx_category).

    You can also send me ftp access if you want me to check it.

  9. #9
    Join Date
    Jan 2007
    Posts
    17

    Default

    thanks a lot dody,

    your mention about browse.php guide me to the point.
    just found out that page title are changed to something like category path code.

    it's working properly now after change, thanks again

Similar Threads

  1. How I change Page Title and keywords
    By fahd in forum INDEXU DELUXE v1.x
    Replies: 4
    Last Post: 05-28-2009, 06:23 PM
  2. change title top > name category
    By miguelangel in forum Pre-Sales Questions
    Replies: 0
    Last Post: 10-05-2005, 12:31 PM
  3. change title top > name category
    By miguelangel in forum Indexu Lite
    Replies: 0
    Last Post: 10-03-2005, 12:07 PM
  4. Change title of the search page results
    By craven in forum v5.x
    Replies: 8
    Last Post: 11-17-2002, 06:58 PM
  5. 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
  •