1
vaf0r
newbie question
  • 2005/12/2 11:56

  • vaf0r

  • Just popping in

  • Posts: 8

  • Since: 2005/12/2


Hello, i am new with this and i cant figure out how to make a for exampel a link page with just simple links in html i want to link my button "links" to links.php i have figure out how to do theth but i want to use same theme as on my site (now links.php is open _blank) Hope some one understand what i mean my english sux :)

2
JMorris
Re: newbie question
  • 2005/12/2 12:31

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


First, welcome to XOOPS!

If you want to make a simple HTML links page without using one of the Web Links modules, you'll need to use a page wrapper module to wrap your static HTML page in XOOPS. You can do this using the TinD, Content, or the PageWrap modules. With those modules, you simply code your HTML page (using any tool you like [Dreamweaver, Frontpage, etc]) then follow the module's instructions on adding content.

For instance, with PageWrap, adding content is just a matter of opening module's index.php and posting your HTML between the PHP statements, like so...

include("../../mainfile.php");
include(
XOOPS_ROOT_PATH."/header.php");
$xoopsOption['show_rblock'] = 1;
?>


Articles

Some Title

include(XOOPS_ROOT_PATH."/footer.php");
?>


I believe there is quite a bit of information about this topic in the XOOPS FAQ, you may want to give it a look.

Hope this helps.

James
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

3
vaf0r
Re: newbie question
  • 2005/12/2 12:50

  • vaf0r

  • Just popping in

  • Posts: 8

  • Since: 2005/12/2


Tank u James u have msn or icq so i can get some help ? :) i am realy newbie on this

4
JMorris
Re: newbie question
  • 2005/12/2 12:56

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


The following link covers how to do what it is you want to do, you may want to start there.

http://mywebresource.com/xfd/

Again, this is also covered in the XOOPS FAQ. You may want to look there as well.

If you're not comfortable writing HTML, may I suggest going through the short primers at http://www.w3schools.com/

Hope this helps.

James
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

5
vaf0r
Re: newbie question
  • 2005/12/2 13:04

  • vaf0r

  • Just popping in

  • Posts: 8

  • Since: 2005/12/2


It dont help me very mutch this links. It shod be more easy if i can show u the webpage, i dont want to post url here so pm or email shod be the best. Send me a email and i reply back to u info@xpinjo.se

6
JMorris
Re: newbie question
  • 2005/12/2 13:15

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


vaf0r,

I have only a limited amount of time each day I can volunteer to help answer questions. If you read completely through the links I gave you, you will find the answers to your questions.

I'm sorry, but this is the best I can offer.

Best Regards,

James
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

7
vaf0r
Re: newbie question
  • 2005/12/2 13:23

  • vaf0r

  • Just popping in

  • Posts: 8

  • Since: 2005/12/2


Okey well i understand, i post url here then check <--removed per posters request--> in the top menu u have "hem","Escorter","Länkar" Länkar in Swedish is links and when i press "länkar" i want them to open in same window with same page content menu logo footer etc i cant figure out how to do theth :) mabye u understand beter my question now.

8
JMorris
Re: newbie question
  • 2005/12/2 14:32

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


Yes, I understand better. I apologize.

Ok, first things first...

In your center block, you've got HTML head and body tags that should not be there. Change the code in the block from...
<div class="blockContent">DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head>
<
title>Untitled Documenttitle>
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<
style type="text/css">

style>head>

<
body>
<
div align="center">
  <
class="style13">Svenska <span class="style17">escortspan>tjejer och killarp>
  <
class="style8"><span class="style14">P&aringDom h&auml;r sidorna kan du hitta l&auml;nkar till olika Escorttjejer och -killarH&auml;r Finns &auml;ven en hel del l&auml;nkar till olika gratis sexsidor och sexshoparspan>.p>

  <
class="style15 style8">OBS!p>
  <
class="style15 style16">Du m&aring;ste vara minst 18&aring;r f&ouml;r att vistas p&aringdom h&auml;r sidorna d&aringdet finns erotiskt och pornografiskt material.p>
  <
class="style8 style15">&nbsp;p>
div>

body>
html>div>


To...
<div align="center">
  <
class="style13">Svenska <span class="style17">escortspan>tjejer och killarp>
  <
class="style8"><span class="style14">P&aringDom h&auml;r sidorna kan du hitta l&auml;nkar till olika Escorttjejer och -killarH&auml;r Finns &auml;ven en hel del l&auml;nkar till olika gratis sexsidor och sexshoparspan>.p>

  <
class="style15 style8">OBS!p>
  <
class="style15 style16">Du m&aring;ste vara minst 18&aring;r f&ouml;r att vistas p&aringdom h&auml;r sidorna d&aringdet finns erotiskt och pornografiskt material.p>
  <
class="style8 style15">&nbsp;p>
div>


This will remove the styles on the paragraphs though, you'll need to add those inline, like so...

<span style="color: #000000;font-weight: bold;">escortspan>


Now, about the navigation bar...

The problem you're having there is that the links are not being parsed correctly. In themes/7dana-clean/theme.html, change the links so that they use the full URL and are foced to open in the same window, like so...

<a href="http://yoursite.com/register.php" target"_self">Registera>


I hope this helps.

James
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

9
vaf0r
Re: newbie question
  • 2005/12/2 14:48

  • vaf0r

  • Just popping in

  • Posts: 8

  • Since: 2005/12/2


Ty James i got it to work now :) if u can please remove the message where i submited my url. ty :) have a nice weekend.

10
JMorris
Re: newbie question
  • 2005/12/2 15:31

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


URLs removed or changed to yoursite.com. Glad that worked for you.

Best Regards,

James
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

Login

Who's Online

270 user(s) are online (46 user(s) are browsing Support Forums)


Members: 0


Guests: 270


more...

Donat-O-Meter

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

Latest GitHub Commits