| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
SingaporeForum
Joined: 01 Jan 2008 Posts: 9
|
Posted: Wed Jan 02, 2008 12:02 pm Post subject: Work fine but has a problem. |
|
|
I am using phpBB 3.0.0. Installed Advanced phpBB3 SEO mod Rewrite V 0.4.0 using the premod files. .htaccess generated and copy to subdomain root. After activated subforum and installed last topic post mod, I went on to install phpBB3 SEO No Duplicate V 0.4.0RC1.
After several testing found a problem with {U_VIEW_TOPIC}
When viewing topics using prosilver template, I found that {U_VIEW_TOPIC} only work on the topic title and does not work on the post title and warp url.
Topic title url is ok
Post title url is showing only #p5 in source code.
the mini post icon url is ok
the warp url is also showing only #wrap in source code.
Something is wrong somewhere but I am afraid I am not good enough.
I wonder how I can get the post title and warp url to point to the correct url? Any advise?
BTW, my site url is http://forum.topsites.sg |
|
|
| Back to top |
|
 |
|
 |
SingaporeForum
Joined: 01 Jan 2008 Posts: 9
|
Posted: Thu Jan 03, 2008 6:38 am Post subject: Re: Work fine but has a problem. |
|
|
OK, I found the problem but do not understand why this is happening.
I used the ACP Styles Template Edit Prosliver viewtopic_body.html to check for the line.
The correct one should be
| Quote: | | <h3 <!-- IF postrow.S_FIRST_ROW -->class="first"<!-- ENDIF -->><!-- IF postrow.POST_ICON_IMG --><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><a href="{U_VIEW_TOPIC}#p{postrow.POST_ID}">{postrow.POST_SUBJECT}</a></h3> |
but instead I saw this
| Quote: | | <h3 <!-- IF postrow.S_FIRST_ROW -->class="first"<!-- ENDIF -->><!-- IF postrow.POST_ICON_IMG --><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><a href="#p{postrow.POST_ID}">{postrow.POST_SUBJECT}</a></h3> |
Why did this happen despite uploading it to the correct folder? And also why is the ACP Styles template editor able to update the file when the chmod permission is 644? |
|
|
| Back to top |
|
 |
SingaporeForum
Joined: 01 Jan 2008 Posts: 9
|
Posted: Thu Jan 03, 2008 7:30 am Post subject: Re: Work fine but has a problem. |
|
|
OK, after playig with the ACP Style Template edit/cache/details, I think i know what is happening.
BTW, all the templates files has to be chmod to 666 and templates directory chmod to 777 in order to use the filesystem. Though I think folder does not need to chmod to 777, but that's the way to make it work. |
|
|
| Back to top |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 4006
|
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |