Welcome to TalkGraphics.com
Results 1 to 7 of 7

Thread: Embedding php

  1. #1
    Join Date
    Jul 2014
    Posts
    5

    Default Embedding php

    Hi all

    I'm working on a site that will have embedded PHP, will generate content.
    When it displays I need to to format text and headings as per the rest of the site.
    Eg if I have an <h1> tag that's generated via the php will it display in the same format or does Xara rely on have the class set?

    Thanks in advance

    Brian

  2. #2
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,743

    Default Re: Embedding php

    Quote Originally Posted by ukeventlighting View Post
    Hi all

    I'm working on a site that will have embedded PHP, will generate content.
    When it displays I need to to format text and headings as per the rest of the site.
    Eg if I have an <h1> tag that's generated via the php will it display in the same format or does Xara rely on have the class set?

    Thanks in advance

    Brian
    You would have to add the Class "Heading_1" to the H1 Tag: <h1 class="Heading_1">...</h1>.
    This is set up in custom_styles.css.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  3. #3
    Join Date
    Jul 2014
    Posts
    5

    Default Re: Embedding php

    Thanks for such a quick reply Acorn, sorted (I think)

    Regards

    Brian

  4. #4
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,743

    Default Re: Embedding php

    The Xara design needs to have some text is generates showing Heading 1 somewhere; it can be hidden.

    You can do the same for H2 to H4 with Heading_2 to Heading_4.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  5. #5
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,895

    Default Re: Embedding php

    There's no Heading_4 Acorn
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  6. #6
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,743

    Default Re: Embedding php

    Quote Originally Posted by Egg Bramhill View Post
    There's no Heading_4 Acorn
    Egg, just checking you were there.

    Fingers! Heading_3, not Heading_4.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  7. #7
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,895

    Default Re: Embedding php

    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

 

 

Tags for this Thread

Bookmarks

Posting Permissions

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