111
rcjohnson
Re: Using an Include( ) and its not working...
  • 2004/9/16 22:17

  • rcjohnson

  • Not too shy to talk

  • Posts: 187

  • Since: 2004/7/23


When I look at my source code after the html has been loaded, the php tags are right out in the open, like its not even being processed...



112
rcjohnson
Re: Using an Include( ) and its not working...
  • 2004/9/16 22:10

  • rcjohnson

  • Not too shy to talk

  • Posts: 187

  • Since: 2004/7/23


Quote:

by pdaddict on 2004/9/16 10:25:00

try <{php}>include("navbar.htm");<{/php}>

by DonXoop on 2004/9/16 10:45:17

Maybe cleaner:

<{include file="$xoops_rootpath/my_custom_files/navbar.inc"}>

<{include file="navbar.inc"}>


when I entered the above lines, they just show up like normal text...

I don't think im "getting" the idea of how to do this.




113
rcjohnson
Using an Include( ) and its not working...
  • 2004/9/16 21:08

  • rcjohnson

  • Not too shy to talk

  • Posts: 187

  • Since: 2004/7/23


Im not sure Im doing this right, but Im tryign to use an "include()" statement in my theme.html page to insert a navigatin bar.

Here is an example of what I have written:
<td background="<{$xoops_imageurl}>images/back_line.jpg"" class="line">
<?
include("navbar.htm");
?>
</td>
The navbar.htm is in the same folder as the theme.html....

Im just learning all this stuff and don't understand what Im doing wrong...when I view the site, absolutly nothing appears in that row of the table.

Thanks for the help!




114
rcjohnson
Re: An incredible letter in a newbb module!!!
  • 2004/9/14 17:25

  • rcjohnson

  • Not too shy to talk

  • Posts: 187

  • Since: 2004/7/23


ahh, i understand what you are saying now.....im not sure where that header comes from. It has to be coming from teh newbb template somewhere though. Since that "V" character does not show up at your site root, than it is coming from a newbb template.....

In anycase, if you do find out where it is, you'll still need to update the html files, or perhaps clean out the templates cache folder...

Im new to this as well...so, sorry for pointing you in the wrong direction.



115
rcjohnson
Re: An incredible letter in a newbb module!!!
  • 2004/9/14 17:20

  • rcjohnson

  • Not too shy to talk

  • Posts: 187

  • Since: 2004/7/23


maybe also try to update your theme.html files. After you edit the theme.html to remove the character, go to the System Administration Menu:
SysAdmin | Preferences | General Settings.
Locate teh Box that says: "Update module template .html files from themes/your theme/templates directory?"

Change it to YES.

After it has been updated, change it back to "NO."



116
rcjohnson
Re: An incredible letter in a newbb module!!!
  • 2004/9/14 16:36

  • rcjohnson

  • Not too shy to talk

  • Posts: 187

  • Since: 2004/7/23


All you need to do is open your /themes/uds/theme.html file in wordpad or some other editor and simply delete the "v" from the top line. Save and upload it back to the orignial location.

Be sure to make a backup copy first.





117
rcjohnson
Re: How to display database data?
  • 2004/9/8 18:25

  • rcjohnson

  • Not too shy to talk

  • Posts: 187

  • Since: 2004/7/23


Im just trying to figure out how to display a value from a database.....

I have a page from a tinycontent module that lists information about one of our products. I just want to pull a value from a table in my database.

lest say the database is called: xoops_service, and my table name is "XDS_VER", with one row called "CURRENT_VERSION"

I would like to extract the value of "CURRENT_VERSION" and display it on my html page.



118
rcjohnson
How to display database data?
  • 2004/9/8 17:51

  • rcjohnson

  • Not too shy to talk

  • Posts: 187

  • Since: 2004/7/23


I've been poking around...and without being to cryptic....is there an easy way to display a db value in a static html page?

I just want to add a table in our XOOPS MySQL database, and display the current value on a static page.

Is there an easy way to do this?



119
rcjohnson
Re: I need some advice......
  • 2004/9/8 14:07

  • rcjohnson

  • Not too shy to talk

  • Posts: 187

  • Since: 2004/7/23


Quote:
1. I have just read the topic about blogger & XOOPS - are they totally integratable?


There are a few blog packages around. I understand that they are.

Quote:
2.Does anyone know if a theme exists based on bright yellow/blue colours? (Like the Netscape Toy Factory 7 theme)

Check out the Themes area in the download section. There are quite a few themes, and they are very easy to modify. I think the Lycos theme has the colors your asking about.

Quote:
3. Is there a chatroom module available? If there is - is it any good?

There is a xoopschat mod. It is not that great though. I think there is also another mod that can do the same thing.

Quote:
4. What is the difference between XOOPS & exoops, & are modules interchangable between the two?
I have no idea really, when you find out, let me know. I've been looking for that answer myself. I've seen a few exoops modules hacked to be compatable with regular xoops, so I don't think they are exactly interchangable.



120
rcjohnson
Re: How can I show a number of news in the front page?
  • 2004/9/8 1:49

  • rcjohnson

  • Not too shy to talk

  • Posts: 187

  • Since: 2004/7/23


yes it is possible. I think you set the number of news articles to display in the news pref's.

You acn also time/date stamp for when you want the news item to expire.




TopTop
« 1 ... 9 10 11 (12) 13 14 15 ... 17 »



Login

Username:
Password:

Lost Password? Register now!

Who's Online

87 user(s) are online (59 user(s) are browsing Support Forums)


Members: 0


Guests: 87


more...

Donat-O-Meter

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

Latest GitHub Commits