GetSimple Support Forum

Full Version: [SOLVED] Display specific page in sidebar
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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 Wink
you can use components for that, try it!
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 ^^)
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/...entpageid/
shawn_a Wrote:I want a sidebar component that loads a sidebar page.
I thought you could do that with like get_content() or get_page_slug()

If you use the I18N plugin, you can use get_i18n_content('my-page-slug').
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 !