Forums

How to Include something on 3 of 4 pages? (2 posts)

  1. tiernbop
    Member
    Posted 3 years ago #

    I have 3 static pages. On one of those pages, I'd like to include a grid from the ExtJS Library.

    The only way to include the library, that I could figure out was to modify the header.php for the theme to include all of the .js files I need.

    The problem I have now, is that the ExtJs grid I created is included on all of my pages.

    I tried to put the javascript tags inside the page context, through the page editor, but that doesn't seem to do the trick, as it converts the html tags to > < tags.

    What's the easiest way to either tell the page or template to conditionally render some of the content?

  2. tiernbop
    Member
    Posted 3 years ago #

    Silly me, I figured it out. I just created a new page template, worked like a charm :)

Topic Closed

This topic has been closed to new replies.

About this Topic