[SOLVED] Display specific page in sidebar - 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: [SOLVED] Display specific page in sidebar (/showthread.php?tid=2481) |
[SOLVED] Display specific page in sidebar - didou038 - 2011-12-11 Hi all ! I want to display in the sidebar, a specific page (very short like a description). My idea is : 1- create a new page called sidebar-description (for example) 2- in the sidebar code in template.php call a function with sidebar-description in parameter 3- the sidebar display the page sidebar-description. I think i have to use get_page_content()) function but I'm not sure and I don't know how. Is my idea good ? Thanks, Regards [SOLVED] Display specific page in sidebar - Connie - 2011-12-11 you can use components for that, try it! [SOLVED] Display specific page in sidebar - didou038 - 2011-12-11 Great ! not exactly what I want but it works well ! Thanks ps: I wanted to go through a specific page to access the options layout of the text editor and then further facilitate the use of the sidebar. (google translate sorry, i'm tired ^^) [SOLVED] Display specific page in sidebar - shawn_a - 2011-12-13 I was trying to do this exact same thing right now. I want a sidebar component that loads a sidebar page. I thought you could do that with like get_content() or get_page_slug() But i cant figure it out yet. I don't want my actual content in the component, just a page include. edit: Found the answer here http://get-simple.info/forum/topic/2720/getpagecontentpageid/ [SOLVED] Display specific page in sidebar - mvlcek - 2011-12-13 shawn_a Wrote:I want a sidebar component that loads a sidebar page. If you use the I18N plugin, you can use get_i18n_content('my-page-slug'). [SOLVED] Display specific page in sidebar - didou038 - 2011-12-13 Great! thank you for this! exactly my request! I'm beginning to understand how getsimple works, and I think I'll forget Joomla! there is not enough to plug-in, but the few that there are great! Thanks all for the job ! |