21
trspice
I need help with this simple module
  • 2008/5/21 4:41

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


I have created this module for a page on my site and it works fine except for the lines in red. Can someone help with the proper coding to make the page title display?

This is the code for index.php in the module folder

include("../../mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
echo "
$xoops_pagetitle
";
include_once(XOOPS_ROOT_PATH."/uploads/genres.txt");
?>

include(XOOPS_ROOT_PATH."/footer.php");
?>
There's nothing but science....
The Reggae Album



22
trspice
Re: I want to remove the option for people to register themselves
  • 2008/5/21 0:05

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Edit 2 files to remove the registration link

This is for your user.php page
/modules/system/templates/system_userform.html
Comment line 11 as below


This is for the login block
/modules/system/templates/blocks/system_block_login.html
Comment line 14 as below


If you have already disabled user registration in system>preferences then don't worry about someone going directly to your register.php page because they can't register.
There's nothing but science....
The Reggae Album



23
trspice
Re: I need a hack to display HTML in debaser module
  • 2008/5/20 23:50

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Still searching for a solution.....
There's nothing but science....
The Reggae Album



24
trspice
Re: I need a hack to display HTML in debaser module
  • 2008/5/19 22:05

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


So can the debaser module be modified to process HTML?
There's nothing but science....
The Reggae Album



25
trspice
Re: I want to remove the option for people to register themselves
  • 2008/5/19 21:43

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Post the link to your site. Disable the Login block.
There's nothing but science....
The Reggae Album



26
trspice
Re: I want to remove the option for people to register themselves
  • 2008/5/19 19:30

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Have you looked at the System>Preferences>User Settings in your administration area? The very first option is to disallow user registration. You should get familiar with the program. Go through everything in the administration.
There's nothing but science....
The Reggae Album



27
trspice
I need a hack to display HTML in debaser module
  • 2008/5/19 18:55

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


I am using Debaser 0.92 and I have replaced the DHTML editor with TinyEditor as the global editor. When I Post content in the Additional info area of the single file upload of debaser it displays with the HTML tags. Can someone assist with making the module recognize and properly execute the HTML?

Thanks
There's nothing but science....
The Reggae Album



28
trspice
How do I make the button color change for page in view?
  • 2008/3/24 15:26

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


I want a button color or image to change or highlighted for the page being viewed. I tried a:active but it didn't work. I see it working in the WFChannel administration but can't see how the code is executing though it appears to be javascript.

Does anyone know how to do this?
There's nothing but science....
The Reggae Album



29
trspice
Re: How can I use HTML in block titles?
  • 2008/3/11 16:26

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


stefan88, it does work perfectly. I had to clear the template cache. Many thanks. Now I can go crazy with block titling and I know many other users will benefit from this.
There's nothing but science....
The Reggae Album



30
trspice
Re: How can I use HTML in block titles?
  • 2008/3/11 7:18

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


stefan88 thanks for the response. I tried the method you proposed but the tags show in the title with no effect.

I don't know how to use smarty to make this work. Can you suggest the method?
There's nothing but science....
The Reggae Album




TopTop
« 1 2 (3) 4 5 6 ... 19 »



Login

Who's Online

144 user(s) are online (61 user(s) are browsing Support Forums)


Members: 0


Guests: 144


more...

Donat-O-Meter

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

Latest GitHub Commits