321
davidthomas1
Re: XOOPS Physical Path.

It looks like you haven't installed XOOPS yet. You'll need to install first.

Go to yourxoopsfolder/install/index.php and try from there.

I'm no expert. I used CPanel's Fanstastico to install XOOPS automatically.

If you want to install XOOPS, you need to do more than simply upload the files. It requires a database to be created + configured too. I think the install script takes care of all that.

Have you installed XOOPS yet?



322
davidthomas1
Re: XOOPS Physical Path.

Check the settings in mainfile.php

It's in the main folder of your XOOPS installation.

You'll need to open it in an FTP program or CPanel File Manager.

Make sure the physical path matches the path to your XOOPS installation on your webserver.



323
davidthomas1
Re: XOOPS Physical Path.

You mean the physical path in mainfile.php?

You need to enter the path to your XOOPS installation on the webserver.

e.g.

define('XOOPS_ROOT_PATH', '/home/wyger/public_html/yourxoopsfolder');

usually, the path has "/home/yourusername/public_html" first but you'll need to customise it for your implementation.



324
davidthomas1
customise admin zone hover menu links

Hi there,

Does anyone know how to customise the links in the hover menu on the admin page (the menu that appears when you hover the mouse over the admin page icon)

I know there is a file called menu.php in the admin folder for the module BUT...

I want to remove the 'preferences' link that appears at the bottom of the menu. It doesn't show up in the menu.php file and is the cause of my problems.

When a user who has permission to admin a module logs in and enters the admin zone, if they click that 'preferences' link, they get a 'permission denied' message.

It's because it links to a system/admin.php?... link and not a module/admin.php?... link so the user has no permission.

Somehow, it's added automatically, but the xoopsheadline module somehow gets away without it.

Do you know how to clear the 'preferences' link menu item for a specific admin icon hover menu?



325
davidthomas1
Re: IE and Firefox issue.

BTW, I can't change the theme to PHPkaox, no block visible for anonymous visitor.

Using Firefox and IE it looks the same. The default theme looks fine to me...

However, I sympathise, I've had similar troubles with Firefox and IE.

You may need to edit the relevant module/blocks template file and create a <div align="left">your content here</div> code block to align the text in IE.



326
davidthomas1
Re: getting rids of modules link ?

I had this same question earlier.

You can choose whatever name you like for your module but you need to edit the module files to do so.

Normally, there is a reference in the xoops_version.php file that specifies the module URL/folder.

Ideally, it would be a matter of simply changing that variable's value but in reality, the module path is hard-coded in other parts of the module.

I used a text editor

TextPipe

To do a mass search/replace of the module name / folder text in all the module files prior to upload / install. You can download a free trial.

However, you should, I think leave some of the text intact (for example readme.txt) to respect the original authors name for the module.

Also, bear in mind, if you change the table names, module name text etc... it may interfere with future updates for that module.

perhaps there is another way, that would be tidier.

In any case, search/replace worked for me, I renamed tinycontent to content and it works perfectly



327
davidthomas1
Re: how can i use this php code in a block

dang, I noticed those unescaped quotes too... I thought it was just a typo in the forum!

glad you solved the problem, nice work!



328
davidthomas1
Re: Need Help with Tiny Content

That is odd

Have you edited any of the module code / templates etc...?

If so, you may have inadvertently changed something to get this result.

It must have something to do with the way the $content variable contents are rendered on the screen.

There are these line in tinycontent's index.php:

ob_start();
include($includeContent);
$content = ob_get_contents();
ob_end_clean();
//$content = include($includeContent);

somehow, the problem probably comes from there. You could try uncommenting the //$content = incl... part and see if that helps,

sorry I can't help more,

good luck!



329
davidthomas1
Re: Need Help with Tiny Content

Hi there,

Have you checked the permission settings for your registered users group? Admin>Groups>Registered Users

They will need to have tinycontent module access and access to the tinycontent blocks.

does that help?



330
davidthomas1
Re: how can i use this php code in a block

I had some trouble with including PHP code in a block.

I solved it by using an iframe.

Maybe it will help you too.

Here's my code :

<IFRAME SRC="{X_SITEURL}randomquote/slang_quote.php" WIDTH=100% HEIGHT=50 marginwidth='0' marginheight='0' hspace='0' vspace='0' TITLE="Japanese Slang" frameborder='0'></IFRAME>

Just change the SRC to your file URL (i.e "SRC={X_SITEURL}scroll.php") and adjust the height and width to suit.

BTW: I think you don't need a leading "/" after the {X_SITEURL}.

I saved it as an HTML block.

does that work for you?




TopTop
« 1 ... 30 31 32 (33) 34 35 36 »



Login

Who's Online

250 user(s) are online (174 user(s) are browsing Support Forums)


Members: 0


Guests: 250


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