1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Trying to remove page title & subtitle

Discussion in 'SiteBuilder' started by visionburst, Feb 17, 2009.

  1. visionburst

    visionburst Guest

    0
     
    My logo already includes the page title and subtitle, so I want to remove it from the design area of the template. Can anyone tell me how I can do this?

    I don't want to just leave these blank because if I do that, they won't show up in the title tags for the page.
     
  2. Dmitry Frantsev

    Dmitry Frantsev Golden Pleskian

    28
    57%
    Joined:
    Sep 19, 2005
    Messages:
    1,911
    Likes Received:
    0
    There is no way to remove title and subtitle from design area of the template. You can only leave it as blank. As I know in future versions page title tag should be defined separately.
     
  3. visionburst

    visionburst Guest

    0
     
    Is there a way to edit the template directly?

    I am not advanced enough to follow your instructions on creating new templates, but is there a way to duplicate existing templates and make minor edits to the duplicate version?

    Thanks!
     
  4. Dmitry Frantsev

    Dmitry Frantsev Golden Pleskian

    28
    57%
    Joined:
    Sep 19, 2005
    Messages:
    1,911
    Likes Received:
    0
    Yes, you can actually duplicate existing template easily and make any changes there directly. Let's say you wish to get duplicate template for 'template'. All files related to template are stored in /usr/local/sitebuilder/htdocs/templates/template directory. You need to copy files and change template name in info.xml file, so

    # cp -rp /usr/local/sitebuilder/htdocs/templates/template /usr/local/sitebuilder/htdocs/templates/template_duplicate

    After that edit file /usr/local/sitebuilder/htdocs/templates/template_duplicate/info.xml and update template id from:

    <template id="template" to <template id="template_duplicate"

    Id should be the same as directory name. After that run following command to update list of templates in Sitebuilder database:

    # sb_config --update_templates

    Do not forget to add new template into appropriate plan so it could be available through Wizard.
    As soon as template is ready you can go into /usr/local/sitebuilder/htdocs/templates/template_duplicate directory and make any changes you need there.
    Hope it helps.
     
Loading...