First time here? Check out the FAQ!
2

Get footer from url?
 

Could I fetch the HTML for the footer from a url?

I 'm using a CMS to serve html chunks and I already have a footer, which I 'd hate to have to maintain separately.

I 'm guessing I 'll have to modify the python code someplace, but a hint where that place is would be very helpful

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
igalanis's avatar
21
igalanis
asked 13 years ago

Comments

see more comments

1 Answer

1

The simplest is to insert an iframe in askbot/skins/default/templates/blocks/footer.html, but it may not be the best for SEO.

There is no hook currently in the python code to insert footer via an http call, but it could be added.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
updated 13 years ago, answered 13 years ago
link

Comments

see more comments