1
deathilic
How to rename a modules name inside a url
  • 2008/2/18 21:04

  • deathilic

  • Just popping in

  • Posts: 17

  • Since: 2007/4/27


Hi there,

I would like to know how to change a modules name.
I've used short urls using .htaccess and it does give short urls when i'm typing them in the url but it won't show when I simply click the modules name from the main menu.
So now I'm figuring out a way about how to use those short urls on modules. I've used .htaccess and changed a name from a module from modules/xfguestbook to guestbook.php. Which looks nicer and cleaner in side a url.
Now since I can't change module links in system_block_mainmenu.html cause it won't allow module name changing. And changing every file name in side a module folder and changing them in xoops_version won't work as well, especially since I want to use short urls for this.

So how do I gotta do this. I'm guessing I would have to do this in side the database.

Is there a simple way or do I have to overhaul everything?

Btw I used a short url hack and it didn't work. I couldn't install the short url even when safemode was turned off and attributes such as fopen were turned on.

Also in a faq I read there was something about renaming modules. But I had to move the folders and start renaming the new one and add some lines ( or something ). But I'm afraid when I do that all my data is going to be lost such as messages from the geustbook.


So anyone got a solution. Anyone know how to get ShortUrls workings?



2
deathilic
Re: How can I edit the Home content?
  • 2007/12/23 23:47

  • deathilic

  • Just popping in

  • Posts: 17

  • Since: 2007/4/27


Yeah that is true but I still would like to have "mywebsite.com" without the "/modules/mypage" behind mywebsite.com when I enter the site.

So i like to show my website as simply mywebsite.com without mywebsite.com/modules/mypage.
And mywebsite.com/index.php or mywebsite.com/home.php is fine as well.

Any of you know a solution to this?

Thanks in advanced!



3
deathilic
Re: How can I edit the Home content?
  • 2007/12/23 16:33

  • deathilic

  • Just popping in

  • Posts: 17

  • Since: 2007/4/27


Hi, I got it pretty much working now. Thanks guys!
I didn't knew I had to go to the admin pannel and general settings and change the setting from "Module for your start page"
So it's now set on mypage module and so it now works.


Is there a possibility that it could simply show as mywebsite.com/index.php and not:
mywebsite.com/modules/mypage.
I rather like it this way:
mywebsite.com/ or website.com/index.php

If that can be done it would be awesome!



4
deathilic
Re: How can I edit the Home content?
  • 2007/12/21 17:34

  • deathilic

  • Just popping in

  • Posts: 17

  • Since: 2007/4/27


Hi thanks alot for your modules guys! But it couldn't install, Quest gave me one that did install. But I can't figure out how to add content to the main introduction page. What do I have to change module so a page will show up when you enter the site. Cuase now my website has alot of content ( it is currently closed ) and when you access the website it reads mysite.nl without any file extension behind it like index.php.
Shouldn't there normally be a direct link to a index page and since the index page is already used how can I then add content to the frontpage?

It is all pretty unclear to me.

Thanks in advanced. And you guys help is much appreciated!



5
deathilic
Re: How can I edit the Home content?
  • 2007/12/20 12:29

  • deathilic

  • Just popping in

  • Posts: 17

  • Since: 2007/4/27


Hi thanks for your reply,

However I can't seem to find mypage anywhere so I can't make any frontpage contents. I have searched everywhere on the web for mypage but it seems that it does not exist anymore.

If you got a link to mypage it would be hugely appreciated also if you have any other ways to solve this problems please let me know.



6
deathilic
Re: How can I edit the Home content?
  • 2007/12/19 18:00

  • deathilic

  • Just popping in

  • Posts: 17

  • Since: 2007/4/27


Yeah I did place custom blocks, but I need to place text and stuff on my frontpage. It's a sort of introduction text I need to place, so a introduction about the website and stuff.



7
deathilic
Re: How can I edit the Home content?
  • 2007/12/19 17:44

  • deathilic

  • Just popping in

  • Posts: 17

  • Since: 2007/4/27


Doesn't seem to me that I can add content to the frontpage,
With the other links I used the XOOPS method, adding a php file then adding the link to mainmenu. But I couldn't do it with the Frontpage.



8
deathilic
How can I edit the Home content?
  • 2007/12/19 17:26

  • deathilic

  • Just popping in

  • Posts: 17

  • Since: 2007/4/27


Hi,

I would like to know how I can add text the home content ( the first first page from where you come in if you type a adress )
I check system_block_mainmenu.html and there I only saw a smarty tag
<a class="menuTop" href="<{$xoops_url}>/"><{$block.lang_home}></a>

Without any referal to any page. I would prefer not to use modules for this. So how can I add content to that page?

Thanks in advanced.



9
deathilic
Textarea linebreak problem in xfguestbook
  • 2007/10/22 21:51

  • deathilic

  • Just popping in

  • Posts: 17

  • Since: 2007/4/27


Hi,

I've got a problem with linebreaks in xfguestbook.
Whenever I write a message and the click submit button the message will be seen inside a textarea by users of the site.
But it doesn't line break the sentences.
Whenever I want to type like this:
"Hello There

Testing

Testing"

It displays like this:
"Hello There <br /> Testing <br /> Testing"

I'm guessing there is a faulty script somewhere inside a php page since it probably has to be </br> instead of <br />, but I can't find out where the bug is located or if it isn't a bug how to fix it?

Any help would hugely be appreciated.

Thanks in advanced!

ps: I know little about php, I saw a topic on another website about this problem and not XOOPS related, but didn't had a clue how to and where to correct the problem.



10
deathilic
Re: html pages
  • 2007/6/13 16:52

  • deathilic

  • Just popping in

  • Posts: 17

  • Since: 2007/4/27


Yeah same here




TopTop
(1) 2 »



Login

Who's Online

181 user(s) are online (119 user(s) are browsing Support Forums)


Members: 0


Guests: 181


more...

Donat-O-Meter

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

Latest GitHub Commits