11
shansta22
Html Page trick
  • 2005/3/7 4:39

  • shansta22

  • Just popping in

  • Posts: 38

  • Since: 2005/2/13


G'day,
Just a little trick that i thought i might share..
I accidentally did this while editing my html head/footer wrap pages.. Since I have been using XOOPS I have always added html pages using a blank.php and inserting my html in between <?php tags,
like below: (had to put the html/php tags in brackets)

(?php)
include("mainfile.php");
include("header.php");
$xoopsOption['show_rblock'] = 1; //0 for no right block
?>

(html)
(head)
MY HTML WHATEVA IT IS
(?php)
include("footer.php");
?>

then saving it as whateverhtmlpage.php..

When opening the page it would just show your standard XOOPS page title, whatever it is, mine is Talking Sport - For Aussie Sport Fanatics..

But today I was editing my html.php and I accidentally inserted the:

(?php include("mainfile.php"); include("header.php"); $xoopsOption['show_rblock'] = 1; //0 for no right block
?>

just after the (body) tag and the:

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

just before the (/body) tag

And then i added My page title as follows:

TITLE)Talking Sport - Links(TITLE
LINK REV="made" href="mailto:shan@talkingsport.net"
META NAME="keywords" CONTENT="blah, blah, blah, blah"
META NAME="description" CONTENT="Talking Sport - Links"
META NAME="author" CONTENT="shan"
META NAME="ROBOTS" CONTENT="ALL"

So now when I go to those html pages I actually get the html title instead of the standard XOOPS page title..

If you want to see want I mean exactly you can visit any one of my html pages here..

http://talkingsport.net/aboutus.php
http://talkingsport.net/privacy.php
http://talkingsport.net/links.php
http://talkingsport.net/2005-fixtures.php

I am not sure if someone has done this before but if not I thought it would be handy to know for your future html pages..

Download links.php to have a look at exactly what i mean..

Hope this post wans't to long & I hope it helps someone

shan.



12
shansta22
posted in wrong section
  • 2005/3/7 2:36

  • shansta22

  • Just popping in

  • Posts: 38

  • Since: 2005/2/13


bah



13
shansta22
Re: Admin Design
  • 2005/3/7 2:00

  • shansta22

  • Just popping in

  • Posts: 38

  • Since: 2005/2/13


you just upload it via ftp to you XOOPS main directoy...



14
shansta22
Re: New Opinions
  • 2005/3/6 16:52

  • shansta22

  • Just popping in

  • Posts: 38

  • Since: 2005/2/13


thanks, 1 it is..

'Official XOOP' rollover label?? you've lost me!


shan..



15
shansta22
New Opinions
  • 2005/3/6 16:35

  • shansta22

  • Just popping in

  • Posts: 38

  • Since: 2005/2/13


Hello,

I have just made 3 icons for my block header and I am not sure which one looks the best.. Can people please have a look at the screen-shot i have put on my host and give me an opinion.. Its the little "TS" logo on the right of the top menu block... I have numbered them 1 2 & 3
You can see the screen-shot here:

http://www.talkingsport.net/test/logo.gif



thanks,
shan



16
shansta22
Editing CSS
  • 2005/3/6 13:43

  • shansta22

  • Just popping in

  • Posts: 38

  • Since: 2005/2/13


Hello,


could someone tell me if I wanted to add color style to all the "submit" "search" buttons how would I add that in the style.css?

cheers,
shan



17
shansta22
Re: Admin Design
  • 2005/3/6 13:32

  • shansta22

  • Just popping in

  • Posts: 38

  • Since: 2005/2/13


thanks mate, looks heaps better



18
shansta22
Re: Loading Please Wait
  • 2005/3/6 11:25

  • shansta22

  • Just popping in

  • Posts: 38

  • Since: 2005/2/13


will this work on the redirect page?



19
shansta22
Admin Design
  • 2005/3/6 10:56

  • shansta22

  • Just popping in

  • Posts: 38

  • Since: 2005/2/13


Anyone know a theme for XOOPS admin area? I would like to tidy things up abit..

cheers,
shan



20
shansta22
XoopsPoll
  • 2005/3/5 19:03

  • shansta22

  • Just popping in

  • Posts: 38

  • Since: 2005/2/13


Hello,

Just wondering if anyone knows how I can have polls in seperate blocks, instead having them on top of each other.. I am using xoopspoll hacked at the moment..


cheers,
shan.




TopTop
« 1 (2) 3 4 »



Login

Who's Online

185 user(s) are online (129 user(s) are browsing Support Forums)


Members: 0


Guests: 185


more...

Donat-O-Meter

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

Latest GitHub Commits