Clicky

Portal - Online Partials for RapidWeaver
menu Menu

rjhweb design

rjhweb design

fast, flexible fair

Ninja News

RapidWeaver News & Reviews

Portal - Online Partials for RapidWeaver

Your website has standard Headers and Footers and sometimes contains elements within a page that change on a regular basis; Special Offers, for instance. As an experienced Weaver, you probably use Stack's Partials so that when you make alterations to a single element, your site will automatically update everywhere that a partial is used. The problem is that if your partial contains an image that image will be downloaded each time you load a new page that contains that image.

Enter Portal from Joe Workman. Portal is a set of two stacks and a theme. The theme is important and MUST be used for your Portal In stack pages. It ensures that your content is correctly saved as .php elements and can be imported with the Portal Out stack.
The Portal Out stack then outputs your Portal content on every page that it's required. As a simple mnemonic, just remember that with the IN stack, you're putting content into the Portal, with the OUT stack, you're requesting data out of the Portal.

Instead of publishing your complete website (as is often necessary when using Partials), you only need to publish your altered Portal IN pages to ensure that all of your content is automatically updated. And the added advantage is that any images contained within a Portal page are cached so that they don't need to be reloaded. This is a game changer!

Using Portal is conceivably simple: build a Portal IN page that contains the content that needs to be repeated (using the Portal theme). Add a Portal OUT stack to a page that needs duplicate content and define the page that you wish to import. Publish.
Remember that you are using .php and that whilst RW can now render .php pages, you need to preview your Portal page before you can preview the imported pages.

Portal works with any theme, but there's a bonus for Foundation users. the IN stack has a setting for Foundation so that, if you use Foundation specific stacks on your portal page, you will not see the message that you haven't used the Foundation theme (remember, you MUST use the Portal theme for everything to work).

Partials – Great, but old hat! My future websites will use Portal instead!

blog comments powered by Disqus
  • Stacks Image 35399
  • Stacks Image 35402
  • Stacks Image 35405
  • Stacks Image 35408
  • Stacks Image 35411
  • Stacks Image 35414
  • Stacks Image 35417
  • Stacks Image 35420
  • Stacks Image 35423
  • Stacks Image 35426
  • Stacks Image 35429
  • Stacks Image 35432
  • Stacks Image 35435
  • Stacks Image 35438
  • Stacks Image 35441
  • Stacks Image 35444
  • Stacks Image 35447
  • Stacks Image 35450
  • Stacks Image 35453
  • Stacks Image 35456
  • Stacks Image 35459
  • Stacks Image 35462
  • Stacks Image 35465
  • Stacks Image 35468
  • Stacks Image 35471
  • weaverthemes
  • Stacks Image 35477
  • Stacks Image 35480
  • Stacks Image 35483

Links to the developers ® All trademarks cited on this page are the property of their respective owners.

x

Don’t miss a post!
Sign up for our monthly newsletter.

A monthly digest of all the latest updates from our RapidWeaver blog, keeping you up to date with the hottest new stacks and themes.

* indicates required

Contact Information

My Image

rjh web design

265 Moo 2
Mae Na Toeng Nai, Pai
Mae Hong Son
Thailand 58130

About Us

We design websites and print-products for small businesses at reasonable prices. We specialise in Responsive Web Design.

Legal

This site uses Cookies to determine the best method of display in combination with your browser.
We do not harvest or sell personal information.
© rjh web design 2010—16

This website was built with loving care on a Mac using Foundation. For more information, contact me.