Results 1 to 5 of 5
  1. #1
    New Pligger SportsGuy's Avatar
    Joined
    Aug 2007
    Posts
    21
    Thanks
    Received:0
    Given: 0

    Editing the title (not story titles, meta title)

    OK, so the title tag isn't really "meta", but you know...

    I want to know how to change that bit. I found the meta tag template earlier, so that's covered.

    Still puzzled over where to change the main title, though.

    UPDATED:

    Found this in the pligg.tpl file via another post here:

    <title>{$pretitle}{#PLIGG_Visual_Name#}{$posttitle }</title>
    So, where can I find the info feeding into this little thing?

  2. #2
    Pligg Developer/Admin kbeeveer46's Avatar
    Joined
    Jun 2006
    Posts
    3,215
    Thanks
    Received:1
    Given: 0
    Are you talking about the title of the page that shows up in the title bar of a web browser as shown in this picture?



    You can edit that in the .php files. Every php file should have code that looks like this that sets the page title

    Code:
    $main_smarty->assign('posttitle', " / " . $main_smarty->get_config_vars('PLIGG_Visual_Profile_ModifyProfile'));
    That code is in profile.php and sets the page title for the profile page.

    In /templates/your_template/pligg.tpl you will see where <title></title> is used in the html code
    Code:
    <title>{$pretitle}{#PLIGG_Visual_Name#}{$posttitle}</title>

  3. #3
    New Pligger SportsGuy's Avatar
    Joined
    Aug 2007
    Posts
    21
    Thanks
    Received:0
    Given: 0
    Quote Originally Posted by kbeeveer46 View Post
    Are you talking about the title of the page that shows up in the title bar of a web browser as shown in this picture?

    Yes

    You can edit that in the .php files. Every php file should have code that looks like this that sets the page title

    Code:
    $main_smarty->assign('posttitle', " / " . $main_smarty->get_config_vars('PLIGG_Visual_Profile_ModifyProfile'));
    That code is in profile.php and sets the page title for the profile page.
    Excellent

    In /templates/your_template/pligg.tpl you will see where <title></title> is used in the html code
    Code:
    <title>{$pretitle}{#PLIGG_Visual_Name#}{$posttitle}</title>
    ...and my original question remains - how do I edit this code to get the desired result? When I last made a change to the code I originally posted in my first post, it broke the site - so clearly it didn't like my change.

    Seeing the reference in the "Smarty" code is great, but again, what do I do?

    My goal is NOT to remove any post titles hat are included in titles, but to remove the reference to Pligg and place my own information in it's place.

  4. #4
    Pligg Developer/Admin kbeeveer46's Avatar
    Joined
    Jun 2006
    Posts
    3,215
    Thanks
    Received:1
    Given: 0
    If you still see Pligg in the name then you need to change the name of your site in admin > modify language. I think it's the first entry.

  5. #5
    New Pligger SportsGuy's Avatar
    Joined
    Aug 2007
    Posts
    21
    Thanks
    Received:0
    Given: 0
    Thanks kbeeveer! Worked as easily as that. Man, I HATE when I over think things...

Similar Threads

  1. Story description as Meta title tags!How to fix this?
    By herisetiyawan in forum Questions & Comments
    Replies: 1
    Last Post: 10-27-2010, 04:15 PM
  2. Meta Title
    By uniqueape in forum Questions & Comments
    Replies: 1
    Last Post: 07-31-2010, 11:45 AM
  3. How to make the meta tag of the story page the story title
    By oobie11 in forum Questions & Comments
    Replies: 0
    Last Post: 02-20-2010, 12:32 AM
  4. How can i change story meta title?
    By pipihail in forum Questions & Comments
    Replies: 1
    Last Post: 12-07-2009, 05:14 PM
  5. Story title as meta tag
    By chat2fanna in forum Questions & Comments
    Replies: 1
    Last Post: 09-25-2008, 04:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Web Hosting Services by Midphase Dreamhost Web Hosting Donate to Pligg