228511
Bassman
Re: Need a design made as xoops theme
  • 2004/10/28 0:27

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


ok... i'll start working on it now



228512
zimi1
Re: Need a design made as xoops theme
  • 2004/10/28 0:25

  • zimi1

  • Just popping in

  • Posts: 4

  • Since: 2004/10/28


well.. i hope i understand u right.. if i do then this would be fine.. could u help me?



228513
spspt
Newbie guide to MySQL-Apache_PHP
  • 2004/10/28 0:25

  • spspt

  • Just popping in

  • Posts: 1

  • Since: 2004/10/28


Hi,

This is a newbie guide to install the necessary components to run a XOOPS box.
It is intended primarily for Slackware 10 but there's no reason why it should not work with other distros. Here goes :)


Mysql
First things first, after installing the package we need to create the default database.
Issue the command: # mysql_install_db

Next we need to set the MySQL daemon password but first try to launch mysql:
Issue the command: #mysqld_safe &
It gives out an error that is to be expected since it's unable to create the sock.
This happens because the package as well as the compile in slackware don't generate all the necessary permissions. In the case of the compile process it even fails to create some of the necessary directories.

To correct the permissions issue the command:
chown -R mysql.mysql /var/lib/mysql

Let's try and execute MySQL again:
mysqld_safe &

If all goes well you should have successfully launched mysql
Let's change the MySQL daemon password (this is the password you’ll use to connect to MySQL in XOOPS setup):
#mysqladmin -u root password (your password here)

* Lets try logging in to mysql, if a prompt MySQL appears you're home free:
#mysql -u root -p

Apache
Next, let's compile apache, the following command enables modular loading of components to the Apache web server, issue the command inside the uncompressed directory created from the source code:
./configure --enable-module=so --enable-rule=SHARED_CORE

Next issue the command:
# make && make install

That's it. Apache is now installed and ready to go :)
Try it out with: #apachectl start
Point your browser to the localhost, you should see the default web page


PHP
The final piece of the puzzle, the php scripting language.
Let's compile the source with support for apache 2 and mysql, issue the command inside the uncompressed directory created from the source code:
#./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
What this does that’s essential to php/apache is to insert the load module php with the correct path into the apache configuration file (httpd.conf).

Next we need to issue the command:
#cp php.ini-dist /usr/local/lib/php.ini
This puts the .ini file with the right configuration on the right place :)

The final piece of the puzzle is to add the necessary changes to the init apache file, the ‘httpd.conf’.
Inside the httpd.conf locate the Addtype section and insert these 2 lines:
AddType application/x-httpd-php .php .phtml .inc
AddType application/x-httpd-php-source .phps

-this tells the apache server to supply these x-application to the browsers, so they know how to Interpret the site.
Just out of curiosity the second line is the one that makes it compatible with Firefox :)

Last but not least we need to tell apache to look for home pages with php extensions.
Locate the line ‘DirectoryIndex’ and replace it with the one bellow:
DirectoryIndex index.html index.html.var index.php index.phtml index.inc

Save the changes to httpd.conf
Relaunch apache with the command:
#apachectl restart

Assuming you already copied the XOOPS html dir to the document root dir of apache and renamed it to xoops. Point your browser to localhost/xoops and voila, you should see the XOOPS config screen :)

Hope this has been helpful. This is my no means new or something that I discovered.
This is simply a guide with stuff that really works taken from a gazillion support docs and forum posts made by some pretty cool guys.
Have fun with your new XOOPS box. It is truly an amazing software.



228514
Bassman
Re: Need a design made as xoops theme
  • 2004/10/28 0:20

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


looks to be fairly straightforward. what you have in your left column will depend on how you have your blocks arranged. If you want it fixed width like you have shown, it will help to only use left and centre/centre blocks.



228515
zimi1
Need a design made as xoops theme
  • 2004/10/28 0:16

  • zimi1

  • Just popping in

  • Posts: 4

  • Since: 2004/10/28


Hi people..
I tried to convert my design to a XOOPS theme but failed.

So i ask here if somebody could help me

u find the design under : www.atnight-network.de/atn/bla.html

the text i wrote in there are just suggestions.. if its not possible like this u can make it the way its possible. but the "normal" look of the site with the boxes, content area, menu area, banner etc. shouldnt be changed

i would be very glad if someone could help me :(

i cant give u much for doing this for me, but credits on the page are something i can do. also a link to your site is possible.
if you have a little button to your page (like 88x40 pixels) this could also be displayed on every page.

please contact me if u want to learn more about this or if u have questions.. sf@atnight-network.de



228516
ackbarr
Re:What file contains $xoopsTpl class?

XoopsTpl API Docs

However based on the rest of your statement it is important for you to know that the XoopsTpl object does not control the page title (not really anyway)

The default theme (and most other themes) has this line in the theme smarty file (theme.html)

<title><{$xoops_sitename}> - <{$xoops_pagetitle}></title>


Which tells the Smarty Template Engine to take the assigned values for xoops_sitename and xoops_pagetitle and add them in the title.

"Where do those values get filled?" you may ask. The answer is they are filled in header.php:

$xoopsTpl->assign('xoops_pagetitle'$xoopsModule->getVar('name'));


Before you run off to header.php to mess with these lines, let me ask a question. What information are you wanting to put in the page title? If it is an article, you probably want to put the article title up there, if it is a forum post, you probably want the name of the thread up there. If this is the case, the proper way to deal with this problem is to add a line in the module page you want to modify:

$xoopsTpl->assign('xoops_pagetitle''Your Page Title');


You'll find that XOOPS gives full control over the title tag (being that it is a variable that an application can modify), but the modules themselves need to assign relevant information to the template.



228517
Eugney
Re:snx_weather... legal?
  • 2004/10/27 23:59

  • Eugney

  • Not too shy to talk

  • Posts: 162

  • Since: 2004/7/25


Yeah your right



228518
brash
Re:snx_weather... legal?
  • 2004/10/27 23:57

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


If they are offering the content in an RSS feed then you'd have to think there are no issues. I'd still check to be certain if you are concerned about it though.



228519
brash
Re:really quick (prob stupid question)
  • 2004/10/27 23:54

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Are you running XOOPS at all? As far as I know the MyDownloads module relies on the XOOPS framework and cannot be run as a stand alone module.



228520
Eugney
Re:Online petition module?
  • 2004/10/27 23:51

  • Eugney

  • Not too shy to talk

  • Posts: 162

  • Since: 2004/7/25


You know he would mate







Login

Who's Online

139 user(s) are online (91 user(s) are browsing Support Forums)


Members: 0


Guests: 139


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