Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-10-06 03:56:40
- philbert25
- Member
- Registered: 2008-10-06
- Posts: 12
links not connecting to created sections
I am using TextPattern for the first time and testing it locally. I am using this format to link to sections.
<ul>
<txp:section wraptag=“li” link=1 title=1 name=“about-erma” />
</ul>
I have created all of the corresponding sections, but when I click on the the link I get this response.
Not Found
The requested URL /erma/about-erma/ was not found on this server.
Does anyone know what might be causing this? Thanks in advance.
Offline
Re: links not connecting to created sections
You would need to use absolute paths.
<ul>
<txp:section wraptag=“li” link=1 title=1 name=“/about-erma” />
</ul>
You could also use txp:section_list instead.
Last edited by MattD (2008-10-06 04:56:32)
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Re: links not connecting to created sections
MattD wrote:
You would need to use absolute paths.
Still sleeping Matt? :D That is Textpattern’s txp:section tag, and you just adviced to use invalid section name… :D Made me laugh, so good advice though.
philbert25 wrote:
Does anyone know what might be causing this?
Do you have ModRewrite enabled on your server? If not, enable it. What you said, it seems that clean URLs don’t work, and the possibly reason is cause modrewrite that is disabled. Other way around is to use Textpattern with messy urls, by changing permanent link scheme to messy
under your TXP prefs.
Last edited by Gocom (2008-10-06 08:38:52)
Offline
#4 2008-10-06 15:00:03
- philbert25
- Member
- Registered: 2008-10-06
- Posts: 12
Re: links not connecting to created sections
Thanks, I had problems getting clean urls to work in the installation. I will try you suggestions later when I have access to the computer it’s installed locally on.
Offline
Re: links not connecting to created sections
Wow. I must have been out of it.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
#6 2008-10-06 20:01:07
- philbert25
- Member
- Registered: 2008-10-06
- Posts: 12
Re: links not connecting to created sections
Thank you guys so much. Switching to messy URL’s worked. When I go live with the site, I will be sure to get clean URL’s working.
Offline