11
cRuNcHiE
Re: How can i make a block with links+sublinks, ive had a go but sublinks always show
  • 2004/1/27 13:28

  • cRuNcHiE

  • Just popping in

  • Posts: 18

  • Since: 2004/1/12


I think that only works for modules? I guess i have to figure out a way to turn my set of wrapped html pages into a module?



12
cRuNcHiE
Re: How can i make a block with links+sublinks, ive had a go but sublinks always show
  • 2004/1/27 11:19

  • cRuNcHiE

  • Just popping in

  • Posts: 18

  • Since: 2004/1/12


cheers, tried this, but it just seems to show the sublinks no matter what still.

<table cellspacing="0"> <tr> <td id="mainmenu">
<a class="menuTop"href="{X_SITEURL}!tutorweb!.php">Tutor WEB</a>
<!-- start module menu loop -->
<a class="menuMain" href="{X_SITEURL}!tutormain!.php">TutorMain</a>

<{if $SCRIPT_NAME == $X_SITEURL."/!tutormain!.php}>
<a class="menuSub"href="{X_SITEURL}!page1!.php">Page1</a>
<!-- end module menu loop -->

<{/if}>
<!-- end module menu loop -->
</td>
</tr>
</table>



Any other ideas on what im doing wrong?

cheers



13
cRuNcHiE
How can i make a block with links+sublinks, ive had a go but sublinks always show
  • 2004/1/27 0:03

  • cRuNcHiE

  • Just popping in

  • Posts: 18

  • Since: 2004/1/12


What id like to do is have a custom block that links to some html pages that i have wrapped with xoops.

Id like to make a menu system that has for example, just a link called Index

When people click that link id like it to expand in the block and show sublinks like this

Index
-Page1
-Page2
-Page3

etc etc


ive had a go by using the following code, but the sublinks are always shown in the block, i only want them to appear when the index link is clicked so that it doesnt clutter the page with links.

heres the code i tried

<table cellspacing="0"> <tr> <td id="mainmenu">
<a class="menuTop"href="{X_SITEURL}!tutorweb!.php">Tutor WEB</a>
<!-- start module menu loop -->
<a class="menuMain" href="{X_SITEURL}!main!.php">Main Index</a>
<a class="menuSub"href="{X_SITEURL}!page1!.php">page1</a>
<a class="menuSub"href="{X_SITEURL}!page2!.php">page2</a>
<a class="menuSub"href="{X_SITEURL}!page3!.php">page3</a>
<!-- end module menu loop -->
</td>
</tr>
</table>


with that it displays the following all the time.

+Tutor Web
+Main Index
+page1
+page2
+page3


whereas id like it to initially only show
+Tutor Web
+Main Index

and not show the page1,page2 etc till Main Index is clicked. any ideas ?

cheers

cRuNcHiE





14
cRuNcHiE
Re: some news feeds not showing up in headlines module? can see them in browser
  • 2004/1/26 18:44

  • cRuNcHiE

  • Just popping in

  • Posts: 18

  • Since: 2004/1/12


k cheers, i'll give that a go,

cant get it to work with this one either tho :(

http://www.drownedinsound.com/feeds/news.rss

cheers anyway, will let u know how i get on!



15
cRuNcHiE
Re: Module to post some internal or external HTML pages IN THE MIDDLE FRAME
  • 2004/1/26 18:03

  • cRuNcHiE

  • Just popping in

  • Posts: 18

  • Since: 2004/1/12


Or, if you already have a website built in html and want to wrap it with XOOPS just make a new file in the root of your website folder

e.g htmlweb.php

and inside it put this

<?php
include("mainfile.php");
include("header.php");
opentable();
?>

<body bgcolor="#FFFFFF" text="#000000">
<iframe src="http://yourdomain.com/!htmweb!/index.htm" width="100%" height="1420" name="Iframe Mysite">Iframe Mysite</iframe>
</body>

<?php
closetable();
include("footer.php");
?>



put the html website inside the !htmlweb! folder or whatever u want to call it and voila!

Alternativly the src=" bit above could be any url e.g www.google.com

Once thats done u can test it by going tohttp://yourdomain.com/htmlweb.php

to make a link to it just make a new block and make a hyperlink to the file in there




hope that helps




16
cRuNcHiE
some news feeds not showing up in headlines module? can see them in browser
  • 2004/1/26 17:15

  • cRuNcHiE

  • Just popping in

  • Posts: 18

  • Since: 2004/1/12


Ive got a few news feeds already on my site but im trying to add some feeds from one site that are .php files with xml inside them

e.g

http://www.falmusic.co.uk/concertrss091.php

when i put this in the headlines module it doesnt seem to load the xml. Ive tried each ISO setting etc, is there anything else i can try? It works fine for other normal .rss/.xml feeds but not this one which is .php :(

cheers

cRuNcHiE



17
cRuNcHiE
invision power board module + xoops 2.0.6 RC error!
  • 2004/1/25 23:59

  • cRuNcHiE

  • Just popping in

  • Posts: 18

  • Since: 2004/1/12


Just tried to install this with XOOPS 2.0.6 RC and i get this error when trying to view my site

Warning [PHP]: main(/files/home2/iamcrunchie/kernel/handlerregistry.php): failed to open stream: No such file or directory in file include/common.php line 86

replacing the common.php with the original seems to get the site back up and running again. Any ideas on how to get this module working with 2.0.6?

cheers



18
cRuNcHiE
xoops+IPB module, how do u redirect where a user goes after login?
  • 2004/1/13 0:29

  • cRuNcHiE

  • Just popping in

  • Posts: 18

  • Since: 2004/1/12


By default it seems to go straight to the Invision powerboard profile page after a user logs in, but id like it to go to the main sites home-page.

any ideas how?
if this has been answered already, sorry! i did search!

cheers

crunchie




TopTop
« 1 (2)



Login

Who's Online

231 user(s) are online (148 user(s) are browsing Support Forums)


Members: 0


Guests: 231


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