TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,021
  • Total Topics: 21,332
  • Online today: 744
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 467
  • Total: 467

Standalone HTML article/page

Started by lebisol, October 13, 2007, 01:55:55 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lebisol

Is it possibile?
In other words being able to process article that does not load with JavaScript,CSS, blocks from TP...sort of a 'html code show&tell page'.
Or from SMF perspective 'open code' in new window and process.

I can see how it can be security risk as this page/article will load anything but it would beat the alternative of "save as.html" and then having to FTP this static page...managing FTP accounts and user based folders...
ideas?
many thanks!

IchBin

Sorry, but I don't see what you're asking about. TP doesn't have anything to do with what you're asking. The articles are loaded into the template files just like everything else. I don't see what you're trying to achieve by doing something like this. Could you elaborate more? The types of questions you seem to be asking I would suggest you just take TP and modify it to do what you need.

lebisol

#2
Hi IchBin,
Well, I don't have a problem of modding it or even getting this done to my needs....but it is the 'users' that may have.
Goal is to have a CSS article eg. "how to create a css decorations on links links"
pasting the css code in article would certainly be enough but now I would also like to show a 'demo page' of this css code in action.
Obviously  I can't show "a.hover,active,<head><body><script>...." in the article itself as it will inherit or interfear with template used in TP.

I guess I should have formed the question as 'Is there a file manager' that goes along with editor so I can upload my 'page.html' and then provide link to this page in article -without giving users (article authors) an FTP account?


Original question....I think that you answered it by:
Quotearticles are loaded into the template files
Thanks!
-
hm...I think I have too many questions/wishes/ideas and perhaps it is time to say forget users, I am building it for me. :)
-

bloc

Actually..in TP 1.0 you can specify a article to render without any blocks or html or css from the theme. A blank page, which the article itself provides everything from body tag to stylesheet. Only SMF copyright nees to remain as a small line underneath.

Would that be what you looking for?

lebisol

Yes yes 8)
Thanks Block, that is exactly what I was hoping for!
Yet another reason to look forward to 1.x
Thanks!

This website is proudly hosted on Crocweb Cloud Website Hosting.