Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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? |
#2
|
|||
|
|||
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... |
#3
|
||||
|
||||
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. |
#4
|
||||
|
||||
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. |
#5
|
|||
|
|||
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 07:55 PM. |
#6
|
||||
|
||||
The link squiggler posted shows the proper content and title for me (as a visitor), not the index one
__________________
asp.net stole my soul. |
#7
|
|||
|
|||
Your right IntoRain. I edited my previous comment to reflect what squiggler mentioned.
|
|
|
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 11:13 AM |
Certain Pages Redirect? | Brookreed | Questions and Supports | 11 | 08-19-2013 02:12 AM |
Cannot Make custom .php pages on site- Redirect issue | Infernette | Questions and Supports | 1 | 06-10-2013 07:58 PM |
Index content on levelup pages? | Tequila | Questions and Supports | 6 | 02-27-2010 04:03 PM |
Why do I have 2 index pages? | Tezna | Questions and Supports | 6 | 04-19-2009 05:20 PM |
What's New? |
What's Hot? |
What's Popular? |