External Theme Page - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: External Theme Page (/showthread.php?tid=2833) |
External Theme Page - Johonwayni - 2012-02-27 Hello, Can I create an external file to theme page? Simple: Site: work on www.example.com themes : http://www.example.com/theme/v1/page1.php to http://sub.example.com/page1.php for page1.php, what I need to add the system files? External Theme Page - Connie - 2012-02-27 try that and tell us ;=) I wonder why sometimes people ask before testing (in this case if you have this subdomain already configured, it would take you just 3 minutes) but to answer your question takes us a lot of time ;=) External Theme Page - Johonwayni - 2012-02-27 Connie Wrote:try that and tell us ;=) Haha! Connie! Screen: Code: Fatal error: Call to undefined function get_page_clean_title() in ... I want to run theme-code(tags) in page.php okay, what needs to include system files? or is this possible? External Theme Page - Johonwayni - 2012-02-28 support :/ ? External Theme Page - Connie - 2012-02-28 maybe nobody has answer for you? Well, I have none, sorry External Theme Page - Carlos - 2012-02-29 I don't understand what you want to do. Normal GetSimple pages get the data for title, content, etc. from the corresponding xml file. Where would your page1.php get its data from? External Theme Page - Johonwayni - 2012-03-11 Carlos Wrote:I don't understand what you want to do. Hello Carlos, My goal: 1/2: 2/2: External Theme Page - yojoe - 2012-03-11 if you have access to shell on your hosting account, why don't you create a symlinks to template directories ? External Theme Page - Johonwayni - 2012-03-11 yojoe Wrote:if you have access to shell on your hosting account, why don't you create a symlinks to template directories ? Sorry, I did not understand. Could you explain a little? External Theme Page - yojoe - 2012-03-11 Johonwayni Wrote:Sorry, I did not understand. Could you explain a little?look here: http://en.wikipedia.org/wiki/Symbolic_link External Theme Page - Carlos - 2012-03-12 @Johonwayni Haha, nice graphic examples. :-) I've done some quick experiment. Assuming both the GS site and the subdomain are in the same server, but different folders, this could be the code for your carlos.php (or johonwayni.php) file: Code: <?php In my test site, GS is in /htdocs/gs31/, and the subdomain is in /htdocs/sub/ (hence the "../gs31/" at the beginning). I've used Innovation theme, change the 2 lines where it appears to your theme's folder. It more or less works. Don't know if there are potential problems (with plugins, etc.), as I say this is just a quickie. edit:I've made some changes, now get_navigation() renders the menu. External Theme Page - Johonwayni - 2012-03-12 Carlos!! |