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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,970
  • Latest: bynw
Stats
  • Total Posts: 196,058
  • Total Topics: 21,338
  • Online today: 234
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 149
  • Total: 149

TinyPortal Block? PROBLEM.

Started by Atomiq25, October 15, 2009, 09:39:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Atomiq25

fist of all, thank for tinyportal very useful tool

i have a little problem that i need to resolve, i made a block, but i want to
implement a menu that depends on a file a .JS file, so in first place i dont
know where is located every block i make in tinyportal, lets think i make
a new block called "wall of fame" in html, any information i put in that specific
block, where it goes??? what folder is it located?

in the tp-files?

i just need to know that so i can put my .JS file and start my menu

thanks in advance if you're reading this.


Renegd98

Someone with coding knowledge can help you with most of this.. but the data you put in a block is saved in the database.. not a file...

And please do as G6 as requested and provide the data requested.

IchBin

You can either copy/paste your js code into your block, or you can make a link to it. It's just like putting it into an HTML file, only the code is saved in the database.

Atomiq25

ok found how to, i went to the database, that is where all the blocks are stored

what i did is locate my file in my ftp server, then i made a htm & java script block

then i put the code, but i have speficified this time to read my .JS from another location

so this is is how it ended; http://siniestro-ro.com/sbddmyeu/index.php

if you want to put a menu like that in your website send me a PM

so i can guide you, thanks, and spread the knowleadge.. so we make everything easier ; )

NCSurfer

Kool menu, glad you were able to get it working.

ZarPrime

Yes, very nice menu.  I will mark this topic solved. :up:

ZarPrime

Atomiq25

i got bored with the last one, and i changed my menu to this one, is so much better

and i did a section for login, that when you login that little area becomes a menu with the options of the user, like messages, edit profile etc:

http://siniestro-ro.com/sbddmyeu/index.php

i would like to make this of a mod, does anybody have a guide to make a mod or a tinyportal module?

ZarPrime

Quote from: Atomiq25 on October 22, 2009, 09:51:27 AM
i would like to make this of a mod, does anybody have a guide to make a mod or a tinyportal module?

At this time, there is not yet a guide for making TinyPortal Modules.  This is on the todo list but won't be written before TintPortal 1.0 beta 5 is released.  Even after that, it might take awhile for Bloc to write the Guide.

ZarPrime

This website is proudly hosted on Crocweb Cloud Website Hosting.