xoops forums

majstor76

Just popping in
Posted on: 2009/6/24 18:23
majstor76
majstor76 (Show more)
Just popping in
Posts: 1
Since: 2009/6/24
#1

PD-Downloads and html inside description

Im starting gps tracks site and evaluating XOOPS for that. Tried PD-Downloads and its good enough but i really want to put something like this

http://www.gpsvisualizer.com/display/ ... 17040-95.178.133.243.html

somewhere on the page with link. Is it possible? Maybe with some other block?
Are there maybe blocks which are better for what i need?

tnx

ghia

Community Support Member
Posted on: 2009/6/24 22:54
ghia
ghia (Show more)
Community Support Member
Posts: 4954
Since: 2008/7/3 1
#2

Re: PD-Downloads and html inside description

majstor76, Welcome to the XOOPS forum!

WF-downloads is also a very popular download module.
I think you can use the gpx or whatever file for your downloadlink (see here in the module repository for an example of downloading) and in the description you insert an iframe, which then shows the track image.
Depending on the editor available or used for entering the description, there might be some configuration steps necessary to allow iframes.
Or with a WYSIWYG editor, you can embed it in the raw html with these instructions for adding the track image inside html.
Quote:
If you want to transplant this map into another Web page, by far the best method is to simply include it in a IFRAME tag (see http://www.gpsvisualizer.com/faq.html#google_html).
But, if you must paste the code into another page, be sure to include all of these parts:
1. The DOCTYPE declaration and the extra attributes in the "html" tag (xmlns:v=...) that allow Internet Explorer for Windows to render polylines (tracks)
2. The "div" tags that contain the map and its widgets
3. Three sections of JavaScript code:
a. Your Google Maps API key and the maps.google.com code
b. "gv_options" and the code that calls "functions.js" on maps.gpsvisualizer.com
c. The "GV_Map" function, which contains all the geographic info for the map

adium

Just popping in
Posted on: 2010/5/11 1:43
adium
adium (Show more)
Just popping in
Posts: 99
Since: 2005/1/18
#3

Re: PD-Downloads and html inside description

I am wanting to just add regular HTML so that I can format it anyway I want and add flash to some of the descriptions.

Anyone able to find a way to allow HTML in the descriptions?