Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Display specific page in sidebar
#1
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
Reply
#2
you can use components for that, try it!
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#3
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 ^^)
Reply
#4
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/
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#5
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.
Reply
#6
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 !
Reply




Users browsing this thread: 1 Guest(s)