Topic Options
#43633 - 05/29/13 06:20 AM Specific template file for my skin
Tom R. Offline
OL Newbie

Registered: 10/27/11
Posts: 20
Loc: France
Hi!

I need some specific pages. For testing,
as it said in the PSM administration guide, i have created a page named "template-bonjour.php" (just duplicated template.php), i have modified the class of the body element like that :
Code:
<body class="bonjour">

In the guide, it's not indicate how to call this page in browser.
I tried :
site.php?pageid=bonjour&page=1&init=true
and
site.php?pageid=bonjour
but it doesnt work. I just get an "Unauthorized Access"

Thank you for help
Regards
Tom

Top
#43672 - 06/03/13 04:51 AM Re: Specific template file for my skin [Re: Tom R.]
Tom R. Offline
OL Newbie

Registered: 10/27/11
Posts: 20
Loc: France
Up?

For a b2c shop, i need lots of additional pages.

Top
#43695 - 06/03/13 02:47 PM Re: Specific template file for my skin [Re: Tom R.]
Raphael Lalonde Lefebvre Offline
OL Expert

Registered: 10/14/05
Posts: 4953
Loc: Objectif Lune Montreal
Tom,

I recommend that you contact Technical Support, so that they can investigate this with you. You can go to our web site, and go to Support->Report an Issue, to open a support ticket.

Regards,
Raphaël Lalonde Lefebvre

Top
#43739 - 06/06/13 06:45 AM Re: Specific template file for my skin [Re: Tom R.]
Tom R. Offline
OL Newbie

Registered: 10/27/11
Posts: 20
Loc: France
Hello,

I have opened a ticket about that, someone from OL called me, and told me to ask my reseller...
So, i contacted Canon France, who were sorry and asked me to contact OL support for advices for skin conception...

I was thinking that was a simple question.
The process to create a specific page is describe here, but nothing about how to call these pages...
http://help.objectiflune.com/en/printshop-mail-web-administration-guide/Default_CSH.html#/5946.html

i'm a little bit confused and disapointed, what can i do?
I need this fonctionality to build additional content pages.


regards,
Tom

Top
#43743 - 06/06/13 11:20 AM Re: Specific template file for my skin [Re: Tom R.]
Raphael Lalonde Lefebvre Offline
OL Expert

Registered: 10/14/05
Posts: 4953
Loc: Objectif Lune Montreal
Hi Tom,

We ended up asking our PrintShop Mail Web developers for an answer, and this is what they suggest:

Quote:

Add the "custom_static_page.php" from the attached zip file to the "pages" folder located in the PSM web site folder. It contains a basic page that

The html code below shows a simple link to the this page:
<a href="site.php?pageid=custom_static_page">Link to your custom page</a>

This you can do by adding it to the template file, add it to the welcome message text or inject into a specific part of the page using JavaScript. The following code adds a link to the end of the menu bar using JavaScript/jQuery:

<script language="JavaScript">
$(document).ready(function(){
$("#mainmenu").append("<li><a href='site.php?pageid=custom_static_page'>Link to your custom page</a></li>">;
});
</script>



I have uploaded the .php file that they mention on an FTP, which will remain active for 5 days:

Host : ftp.ca.objectiflune.com
Folder : /app-ftp-users/OL18/
Username : OL18
Password : h7b3yFDN

Feel free to connect to this FTP to grab the file.

Regards,
Raphaël Lalonde Lefebvre

Top
#43744 - 06/06/13 11:37 AM Re: Specific template file for my skin [Re: Tom R.]
Tom R. Offline
OL Newbie

Registered: 10/27/11
Posts: 20
Loc: France
Thank you !

That works perfectly.
Thank you very much, i can now continue working smile

regards,
Tom

Top