31
AAINC
Re: IFrames module
  • 2004/1/13 3:17

  • AAINC

  • Not too shy to talk

  • Posts: 121

  • Since: 2003/10/18


Hello,
Can you get this mainfile.php?

include('/data/members/free/tripod/uk/k/c/s/kcskingdom/htdocs/mainfile.php);

This format.htm?
http://members.lycos.co.uk/kcskingdom/modules/cjaycontent/content/format.htm

This allinone.php?
http://www.utopiatemple.com/allinone.php

This poor script does not know if it is coming or going.
Please take no offense, I believe you are going the long way around.

If you can get all these files, put them in the module folder and call them that way.

I would make the form (form.php)its own page within the module, being the first page called into the iFrame. The mainfile you put in an include folder in the module folder and call it from there. Not real sure bout format and allinone, probably just go in module folder so that can be called in iframe.

You only need to open iframe you do not need the iframe links code (javascript). That just a neat little javascript to open links WITHIN an iframe. So all that code that in within the myhoroscope index.php is useless and confusing your code.

That is without looking at the three files mentioned above. I am guessing that you could combine some of the code in above three files and compact it.

Any chance of getting access to to the above files?
It would be best to not even use iframe but actually make new module.

My ebay beta is a javascript run module. It is pulling from ebay and comission junction.
http://archangelartifacts.com/modules/ebay/


AAINC



32
AAINC
Re: IFrames module
  • 2004/1/12 0:20

  • AAINC

  • Not too shy to talk

  • Posts: 121

  • Since: 2003/10/18


Quote:
<?
include("../../mainfile.php");
include("../../header.php");
//standard for module name recognition
$ModName = "My Horoscope";
?>
<table width="100%" align="center" >
<tr>
<td align="center"><big><strong>Daily Horoscopes</strong></big><br>
<br>
<a href="javascript:jumpto('http://www.scopes-mart.com/horoscopes.php?sign=Aries&use=absent')"><small>Aries</small></a> <a href="javascript:jumpto('http://www.scopes-mart.com/horoscopes.php?sign=Taurus&use=absent')"><small>Taurus</small></a> <a href="javascript:jumpto('http://www.scopes-mart.com/horoscopes.php?sign=Gemini&use=absent')"><small>Gemini</small></a> <a href="javascript:jumpto('http://www.scopes-mart.com/horoscopes.php?sign=Cancer&use=absent')"><small>Cancer</small></a> <a href="javascript:jumpto('http://www.scopes-mart.com/horoscopes.php?sign=Leo&use=absent')"><small>Leo</small></a> <a href="javascript:jumpto('http://www.scopes-mart.com/horoscopes.php?sign=Virgo&use=absent')"><small>Virgo</small></a> <a href="javascript:jumpto('http://www.scopes-mart.com/horoscopes.php?sign=Libra&use=absent')"><small>Libra</small></a> <a href="javascript:jumpto('http://www.scopes-mart.com/horoscopes.php?sign=Scorpio&use=absent')"><small>Scorpio</small></a> <a href="javascript:jumpto('http://www.scopes-mart.com/horoscopes.php?sign=Sagittarius&use=absent')"><small>Sagittarius</small></a> <a href="javascript:jumpto('http://www.scopes-mart.com/horoscopes.php?sign=Capricorn&use=absent')"><small>Capricorn</small></a> <a href="javascript:jumpto('http://www.scopes-mart.com/horoscopes.php?sign=Aquarius&use=absent')"><small>Aquarius</small></a> <a href="javascript:jumpto('http://www.scopes-mart.com/horoscopes.php?sign=Pisces&use=absent')"><small>Pisces</small></a><br></td>
</tr>
<tr>
<td>
<center>
<!--CHANGE LINKS BELOW TO YOUR OWN-->
<br>
<script language="javascript">
<!--
//Drop-down Document Viewer II- © Dynamic Drive(www.dynamicdrive.com)
//For full source code, 100's more DHTML scripts, and TOS,
//visithttp://www.dynamicdrive.com
//Specify display mode (0 or 1)
//0 causes document to be displayed in an inline frame, while 1 in a new browser window
var displaymode=0
//if displaymode=0, configure inline frame attributes (ie: dimensions, intial document shown
var iframecode='<iframe id="external" style="width:100%;height:710px" src="http://www.scopes-mart.com/horoscopes.php"></iframe>'

/////NO NEED TO EDIT BELOW HERE////////////

if (displaymode==0)
document.write(iframecode)
function jumpto(inputurl){
if (document.getElementById&&displaymode==0)
document.getElementById("external").src=inputurl
else if (document.all&&displaymode==0)
document.all.external.src=inputurl
else{
if (!window.win2||win2.closed)
win2=window.open(inputurl)
//else if win2 already exists
else{
win2.location=inputurl
win2.focus()
}
}
}
//-->
</script>
</center>
</td>
</tr>
</table>
<?
include(XOOPS_ROOT_PATH."/footer.php");
?>


view here:
http://archangelartifacts.com/modules/myhoroscope/

Olde version of MyHoroscope. Is example of a iFrame module. Multiple links at top opening in iFrame. Two Blocks one showing example of calling javascript in block. Other block with image links opening new window.

http://archangelartifacts.com/modules/mydownloads/singlefile.php?cid=5&lid=6

Adjust width, height and links.

AAINC



33
AAINC
Re: Include Own Contents in Layout??
  • 2003/12/29 14:02

  • AAINC

  • Not too shy to talk

  • Posts: 121

  • Since: 2003/10/18


Quote:

hui11 wrote:

hope this will help some of you guys out.


hui11,
Most excellent, please get with XOOPS doc developers and post this technique in the wiki.
Alot can benefit from this, if they want to go this route.
Me I am lazy and would have made simple mod with blocks to do same or used a clone of the news mod.

Thank you for sharing the code.

Site is coming along nicely. Last year I got into Diablo II for a while, after playing about six months I started selling the items i found through a friends ebay account, i could not believe people were buying digital items found in a game.

I keep going back to FPS, still addicted to Tribes 2 Renegades Mod, Play everyday. Recently downloaded the XMP addon for unreal II, sweet addon. Full multiplayer fraggfest. No lag or resource hog like the single player was/is.

AAINC

Olde Heat.Net Saying:

Total World Peace Through Cyberviolence.

Stimulate the reptilian part of your brain.



34
AAINC
Re: Include Own Contents in Layout??
  • 2003/12/29 13:42

  • AAINC

  • Not too shy to talk

  • Posts: 121

  • Since: 2003/10/18


Quote:

Stewdio wrote:
to make your own custom error pages


Errodocs beta 0.1
works good. server must allow htaccess. ErrorDocs for XOOPS allows the 404, 401, 400 and 403 errors to look like your site, not the plain ones the server shows.
Really basic, one file in your root directory and an addition to your htaccess.

example of 404
http://archangelartifacts.com/nofile.php

xoops news article:
https://xoops.org/modules/news/article.php?storyid=1072

download:
http://archangelartifacts.com/modules/mydownloads/viewcat.php?cid=2

I hear there was an olde XOOPS module to do similar, though I do not have link to it.

AAINC



35
AAINC
Re: recipe module
  • 2003/12/28 15:34

  • AAINC

  • Not too shy to talk

  • Posts: 121

  • Since: 2003/10/18


I have a couple client sites still running phpnuke,and on one i am running the recipe mod for phpnuke.
download here:
http://phpnuke.visayas.dk/modules.php?name=Downloads&d_op=viewdownload&cid=1

view here:
http://phpnuke.visayas.dk/modules.php?name=Recipes

above links to developer site of the phpnuke recipe module

someone port it over?



36
AAINC
Re: Headlines and Amazon XML
  • 2003/12/28 15:22

  • AAINC

  • Not too shy to talk

  • Posts: 121

  • Since: 2003/10/18


yes i could iframe
http://stores.ebay.com/archangelartifacts

or direct people to my beta ebay module
http://archangelartifacts.com/modules/ebay/

what the ebay xml does is create a list of your items, quantity, prices, sorta like a catalogue or a price sheet.
someday i will just create the css file so that customers can print that price sheet (xml) from a XOOPS module.

right now i am making three free themes and several client themes plus have a couple XOOPS modules i need to finish... then we have the corporate business to take care of and a regular job. i need about 24 hours more per day.

I havent play with amazon xml, but sounds like it has possibilities.



37
AAINC
Re: Include Own Contents in Layout??
  • 2003/12/28 15:13

  • AAINC

  • Not too shy to talk

  • Posts: 121

  • Since: 2003/10/18


winrar kept saying it was corrupted, downloaded several times do not know why it would not unpack for me.
anyways multimenu download from here.
http://malaika.s31.xrea.com/modules/mydownloads/visit.php?cid=2&lid=9



38
AAINC
Re: Headlines and Amazon XML
  • 2003/12/28 10:33

  • AAINC

  • Not too shy to talk

  • Posts: 121

  • Since: 2003/10/18


Most excellent idea.
I would like to show my ebay store XML through Xoops

http://esssl.ebay.com/GetListings/archangelartifacts

I am still learning smarty, info overload right now, too many projects going on. No DOM trees for me right now.
AAINC



39
AAINC
Re: First time login as Admin, it appears "Incorrect Login!........."
  • 2003/12/28 10:01

  • AAINC

  • Not too shy to talk

  • Posts: 121

  • Since: 2003/10/18


Not familar with win2k server.
This thread talks of install manual, do not know if it made into the wiki though.
https://xoops.org/modules/newbb/viewtopic.php?topic_id=14454&forum=1#forumpost58934
AAINC



40
AAINC
Re: Include Own Contents in Layout??
  • 2003/12/28 9:47

  • AAINC

  • Not too shy to talk

  • Posts: 121

  • Since: 2003/10/18


multimenu is sweet, adds up to four blocks.
Beautiful admin side, easy to use.
have four test blocks on my site. (for awhile)
appears to draw from style.css i guess the td#mainmenu a.menuMain. looks kinda dorky with my css file. no top border, had same prob with imenu, if i added to css to make border on all four sides, it would double on bottom/top border. as you can see in the OffSite Links (iMenu block.




TopTop
« 1 2 3 (4) 5 6 7 ... 10 »



Login

Who's Online

234 user(s) are online (133 user(s) are browsing Support Forums)


Members: 0


Guests: 234


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits