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 02-21-2014, 11:52 AM
Vaporman87 Vaporman87 is offline
Member
 
Join Date: Feb 2014
Posts: 32
Gender: Male
Credits: 4,943
Vaporman87 is on a distinguished road
Default Custom pages redirect to index

I tested making a custom page using the ACP, but when I click on the link in the navigation menu, I am just shown the Main index page (but the URL shows the correct path in the browser, not the path to the Main page).

Help?
Reply With Quote
  #2  
Old 02-21-2014, 04:07 PM
Vaporman87 Vaporman87 is offline
Member
 
Join Date: Feb 2014
Posts: 32
Gender: Male
Credits: 4,943
Vaporman87 is on a distinguished road
Default

This is making zero sense to me. Nothing I can find give me any more understanding of how or why my created pages in the ACP are showing only the content of the index/main page, while still showing the proper path to the created page in the browser. Nothing in the database under links or under content looks out of the ordinary, or any different than what you see with other content pages.

Frustrating...
Reply With Quote
  #3  
Old 02-21-2014, 04:53 PM
IntoRain's Avatar
IntoRain IntoRain is offline
Moderator
 
Join Date: Jul 2013
Location: Portugal
Posts: 461
Gender: Female
Credits: 19,388
IntoRain is on a distinguished road
Default

Never had this happen to me... If everything's good on the database side, did you change anything in the page.php and pageview.php files?
If the custom pages/view/page doesn't work, you can also create pages anyway by adding .php files following the same scheme HoF uses (controller in main folder, view in the view folder, same functions in both files, index() function to show the page, construct on the controller, create the $document = $this->document and add a title to it in the view). You can follow for example what myadopts.php and myadoptsview.php look like
__________________


asp.net stole my soul.
Reply With Quote
  #4  
Old 02-21-2014, 06:39 PM
squiggler's Avatar
squiggler squiggler is offline
Squiggling since 1995
 
Join Date: Jul 2013
Posts: 185
Gender: Unknown/Other
Credits: 8,213
squiggler is on a distinguished road
Default

Since you created it in the ACP, the URL won't just be site.com/link
It will be site.com/pages/view/LINK
That's what you have to link to when editing the links. This is what you wanted, right?
__________________
Avatar courtesy of Doll Divine.
Reply With Quote
  #5  
Old 02-21-2014, 06:45 PM
Vaporman87 Vaporman87 is offline
Member
 
Join Date: Feb 2014
Posts: 32
Gender: Male
Credits: 4,943
Vaporman87 is on a distinguished road
Default

That's it squiggler!

Is it normal for the user to have to enter pages/view/custom into the URL area when creating a page? If so, this should probably be mentioned to the user somewhere in the page creation section.

That is to say, instead of this:

"Pages will appear at:
http://retro-daze.org/DigiChars/pages/view/pageurl"

It should say this:

"Page URLs entered here should be in this format: /pages/view/custom page name"

Last edited by Vaporman87; 02-21-2014 at 06:55 PM.
Reply With Quote
  #6  
Old 02-21-2014, 06:50 PM
IntoRain's Avatar
IntoRain IntoRain is offline
Moderator
 
Join Date: Jul 2013
Location: Portugal
Posts: 461
Gender: Female
Credits: 19,388
IntoRain is on a distinguished road
Default

The link squiggler posted shows the proper content and title for me (as a visitor), not the index one
__________________


asp.net stole my soul.
Reply With Quote
  #7  
Old 02-21-2014, 06:57 PM
Vaporman87 Vaporman87 is offline
Member
 
Join Date: Feb 2014
Posts: 32
Gender: Male
Credits: 4,943
Vaporman87 is on a distinguished road
Default

Your right IntoRain. I edited my previous comment to reflect what squiggler mentioned.
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
Mys v1.3.4 Seamless Login/Logout Redirect to Index Kyttias Mys v1.3.x Mods 13 06-03-2020 10:13 AM
Certain Pages Redirect? Brookreed Questions and Supports 11 08-19-2013 01:12 AM
Cannot Make custom .php pages on site- Redirect issue Infernette Questions and Supports 1 06-10-2013 06:58 PM
Index content on levelup pages? Tequila Questions and Supports 6 02-27-2010 03:03 PM
Why do I have 2 index pages? Tezna Questions and Supports 6 04-19-2009 04:20 PM


All times are GMT -5. The time now is 05:55 PM.

Currently Active Users: 9357 (0 members and 9357 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