1 (edited by didou038 2011-12-17 20:16:47)

Topic: [SOLVED] Display specific page in sidebar

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 ;)

Re: [SOLVED] Display specific page in sidebar

you can use components for that, try it!

|--
Die deutsche GetSimple-Webseite: http://www.Get-Simple.de = the german Get-Simple-Website!
Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forum/forum/16/german-deutsch/

Re: [SOLVED] Display specific page in sidebar

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 ^^)

4 (edited by shawn_a 2011-12-12 14:05:07)

Re: [SOLVED] Display specific page in sidebar

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/

Re: [SOLVED] Display specific page in sidebar

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').

I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.

6 (edited by didou038 2011-12-13 09:08:28)

Re: [SOLVED] Display specific page in sidebar

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 !