Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 03-25-2013, 09:24 AM
Isura Isura is offline
Member
 
Join Date: Jun 2011
Posts: 38
Gender: Female
Credits: 8,126
Isura is on a distinguished road
Default Little problem with the Module Manager/ 1.3.3

I got a little problem with the sitebar modules. I added two links with the following php-code:
PHP Code:
$moduleContainer->add(new Comment("<a href=/languages/de>Deutsch</a> <a href=/languages/eng>English</a>")); 
Both links show up and work so far, until I opend the site in a new browser window. Then instead of treeofarvalus.de/languages/eng it opens treeofarvalus.de/languages.php/eng and shows the index.
I'm not sure if this is really an error with the script or with my browser settings. But I would really thankful if someone could find a solution or could tell me if he gets the same error.

Reproduce the error:
1. Go to www.treeofarvalus.de
2. click the link 'English' in the sidebar
3. it open /languages.php/eng instead of /languages/eng
If you click it again, it'll lead you to the right site.
__________________
Reply With Quote
  #2  
Old 03-25-2013, 09:41 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 333,883
Hall of Famer is on a distinguished road
Default

Well it works for me perfectly fine, perhaps you need to clear your cache?
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #3  
Old 03-25-2013, 09:48 AM
Isura Isura is offline
Member
 
Join Date: Jun 2011
Posts: 38
Gender: Female
Credits: 8,126
Isura is on a distinguished road
Default

Already done. Didn't help.

But if it works for you, than it might be really my browser settings or something like that.
__________________
Reply With Quote
  #4  
Old 03-25-2013, 09:52 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 333,883
Hall of Famer is on a distinguished road
Default

Well its working fine on my Firefox, what browser are you using? Just wondering.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #5  
Old 03-25-2013, 10:00 AM
Isura Isura is offline
Member
 
Join Date: Jun 2011
Posts: 38
Gender: Female
Credits: 8,126
Isura is on a distinguished road
Default

I use Firefox version 19.0.2

I found a way to fix this error for me. I change the code in this:
PHP Code:
 $moduleContainer->add(new Comment("<a href=http://treeofarvalus.de/languages/de>Deutsch</a> <a href=http://treeofarvalus.de/languages/eng>English</a>")); 
Don't know why exactly it need the 'http://'-Part in front of the link, but now it works.
__________________
Reply With Quote
  #6  
Old 03-25-2013, 10:53 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 333,883
Hall of Famer is on a distinguished road
Default

I see, but anyway I dont think adding http:// makes such difference. On a side note, Id personally write the code like this:

PHP Code:
$moduleContainer->add(new Link("languages/de""Deutsch"));  
$moduleContainer->add(new Link("language/en""English")); 
Try not to use the Comment Object unless it is meant to be a sentence or a paragraph. The GUI system is more powerful than you think. XD
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Content Manager Nemesis Other Chat 14 07-12-2012 12:22 AM
theme manager chinchillapals Questions and Supports 0 04-16-2012 05:46 PM
Backup Manager Blues Suggestions and Feature Requests 4 07-31-2009 08:27 PM


All times are GMT -5. The time now is 10:01 AM.

Currently Active Users: 9685 (0 members and 9685 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636