[SOLVED] Print layout not working in 1.2.3 DEV
[SOLVED] Print layout not working in 1.2.3 DEV
Has anyone else realized that the print layouts are not functioning properly in 1.2.3 DEV? As usual, I put [PRINT]print_link_text[/PRINT] in the footer of a template. Clicking on it opens a new window, which appears to be the same as the parent page. You can see what I'm talking about here: http://www.usspec.com/index.phtml. (Click the print link in the bottom right.)
This feature works properly in 1.2.1-DEV. Any assistance will be appreciated.
This feature works properly in 1.2.1-DEV. Any assistance will be appreciated.
Last edited by Ben on Sun 26. Jun 2005, 19:38, edited 1 time in total.
I noticed that the docu site is not using the re-write functionality. Do you think this is the reason that print layouts work properly for the docu site and not for me? I tested another of my 1.2.3 DEV sites (http://www.photoscripts.com) and found that the print layouts don't work here either. The print link is in the page footer on the right.
I did some investigating and tried replacing the // print layout button replacement code in /include/inc_front/content.func.inc.php at line 482 with the code from 1.1 RC4 and the print layouts still don't work. What's weird is they work for all installations on the same server prior to 1.2.3 DEV. Any ideas where else I could look or things I could try to get this going?
helloBen wrote:I noticed that the docu site is not using the re-write functionality. Do you think this is the reason that print layouts work properly for the docu site and not for me? I tested another of my 1.2.3 DEV sites (http://www.photoscripts.com) and found that the print layouts don't work here either. The print link is in the page footer on the right.
no i don't think that this has something to do with the rewrite. cos teh rewrite still runnign in the background. (via htaccess) it's only disable in the conf.inc.php
Surprisingly, the issue actually is tied to the re-write functionality! Try the two following sites - both are using 1.2.3 DEV, one with re-write, one without. Here they are:
http://www.usspec.com - using rewrite - print link in bottom right
http://www.photoscripts.com - not using rewrite - print link in bottom right
So ... what could have changed between 1.2.1 and 1.2.3 that is causing print layouts to not work correctly when url rewrite is in use?
http://www.usspec.com - using rewrite - print link in bottom right
http://www.photoscripts.com - not using rewrite - print link in bottom right
So ... what could have changed between 1.2.1 and 1.2.3 that is causing print layouts to not work correctly when url rewrite is in use?
Last edited by Ben on Sat 11. Jun 2005, 00:20, edited 1 time in total.
- Oliver Georgi
- Site Admin
- Posts: 9907
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
-
- Posts: 69
- Joined: Sun 25. Jul 2004, 01:53
rescamilla, thanks for the pointer, but I have {CONTENT} in the majority of my templates, except for a few that have a line or two of HTML beneath the {CONTENT} tag.
I have yet to see anyone else who is using 1.2.3 DEV with the re-write function where print layouts are working properly. Does anyone have a site where I can see it working?
I have yet to see anyone else who is using 1.2.3 DEV with the re-write function where print layouts are working properly. Does anyone have a site where I can see it working?
- Oliver Georgi
- Site Admin
- Posts: 9907
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
I have just seen this thread, and it is interesting for me as I had pointed this out earlier at the bug tracking site. As I hadn't seen any other mention of this before, and with Oliver pointing out that no changes had been made from his end, I take it that the error lies somewhere on my side.
I also have the rewrite function on and have exactly the same problem as Ben ... the feature worked during 1.2.1-DEV but is not during 1.2.3-DEV
I also have the rewrite function on and have exactly the same problem as Ben ... the feature worked during 1.2.1-DEV but is not during 1.2.3-DEV
Cyrus
Cyrus - are you using 1.2.3 DEV at http://www.thepromotiongroup.com? I couldn't tell b/c you disabled source view. It seems that you have the problem with print layouts on this site, just like I do.
Does any have an idea of something we could try to help fix this issue?
Does any have an idea of something we could try to help fix this issue?