Closed

The blogrums are now closed. If you wish to visit them on there new home then you can find it here ( InnerVisions Blogrums ).

AuthorWidget displaying a certain page of each post..

B) Take a look when you have time to, explanation is easy but dont know if it's hard to write it..

not to give chance to any misunderstanding let me put it with a simple example..

Your 'all' posts have 2 pages everytime, you use the 1st page for overview, 2nd page for download links..

You want a widget to insert in some container so that you will be able to display a certain -let's say 2nd page- of each post ;)

this has been very specific request, i know, but what you gonna do (: asking wont harm : P

it also displays signatures

 
¥åßßå
user avatar

Posts : 43

Location : 127.0.0.1

Joined : 03/03/08 10:38 am

Posted on : 22/05/08 06:06 pm

Note to self

« <yabs> do you want the plugin to produce the tabs? or do you just want to be able to show "page2 .. 3..4" ?
<yabs> lol
<-- koolatron (n=sean@cpe-066-057-115-047.nc.res.rr.com) has left #b2evolution
<yabs> if you try and post code then use the code plugin ;)
<tilqicom> no no
<tilqicom> :D
<tilqicom> i dont want it to produce anything
<yabs> in that case I'm a tad lost, just add "&page=##" to your links
<tilqicom> just displaying content of a particular page of each post is fine
<tilqicom> it doesnt have to do anything with the page links (:
<yabs> ie, your links <a href="<?php echo url_add_param( $Item->get_permanent_url(), 'page=1" title=" view page 1 ">Page 1</a> ... etc
<yabs> parmanent / permement ... however the hell is spelt :P
<yabs> oops, screwed up the echo :p
<yabs> <a href="<?php echo url_add_param( $Item->get_permanent_url(), 'page=1' ); ?>" title=" view page 1 ">
<tilqicom> yes ? (:
<tilqicom> anyhow :D
<tilqicom> would you like me to visualize it with an obivous example ?
<tilqicom> with a link ? (:
<yabs> it'd need to be a bloody obvious example, I'm brain dead :P
<tilqicom> it is :P
<tilqicom> http://www.filehippo.com/download_gizmoproject/
<yabs> then hit me with it and hope at least one cell is partialy functioning :D
<yabs> and page 2 url == ?
<tilqicom> :))
<yabs> ( page 2 of post )
<tilqicom> no no :D
<tilqicom> forget about everything
<tilqicom> chill out for a sec :)
<tilqicom> just click the link
<yabs> ahhh, demo of what you8're trying to achieve :P
<tilqicom> and i ll explain it bloody simple
<tilqicom> this time :D
<tilqicom> kinda :P
<yabs> k, 2 secs whilst I get a link ;)
<tilqicom> http://www.filehippo.com/download_gizmoproject/
<tilqicom> in this page, you see a green box with links at right sidebar , right ?
<yabs> http://b2evo.astonishme.co.uk/bopit <-- page 1 http://b2evo.astonishme.co.uk/bopit?page=2 <-- page 2
<yabs> so, the code I just showed you would work for the links on your tabs, unless you want the plugin top generate the tabs?
<tilqicom> sheesh :D
<tilqicom> am i spelling it wrong
<tilqicom> it has nothing to do with the pagelinks or the tabs :)
<yabs> ahhh, the light is slowwwwwwwly dawing, yeah, you wanna show a seperate page in sidebar in single post mode
<tilqicom> i ve dealt with them
<tilqicom> yep
<tilqicom> that's it
<tilqicom> that's why i want a widget
<tilqicom> i ll insert it in a container
<yabs> it's been ages since you first told me ...... I'm partially up to speed now
<tilqicom> and the container in the single post mode
<yabs> ok, question
<yabs> on that link, sidebar == page 2 right? ( rehtorical )
<tilqicom> it's about displaying 'the content of a particular page'
<yabs> what do you want sidebar to show when user is on page 2?
<tilqicom> yes thats it
<tilqicom> that green box is page2 contents of each post
<yabs> and you never have page 2 in your tabs?
<tilqicom> i have
<tilqicom> page2 tab
<yabs> ok, so, if user clicks tab 2, what do you want the sidebar to show?
<tilqicom> yea
<tilqicom> :D
<tilqicom> user will already be able to see it with a single click to the page2 tab
<tilqicom> just like you ve mentioned
<yabs> ok, lemme step back and explain
<tilqicom> but i want page2 content to be displayed by default in 'another' container near the post content
<yabs> user visits blog -> is on page one -> has page 2 in sidebar -> has page 2 in tabs -> user clicks page 2 TAB -> what should sidebar show when page 2 is displaying as the post content
<tilqicom> page2 again :)
<yabs> ok, that's simple enough
<tilqicom> the widget will always display page2 of each post
<tilqicom> i ll insert it in a container, near the post content instead of sidebar
<yabs> whatever, makes no difference, just need to know what you expect as behaviour ;)
<tilqicom> 'a widget displaying page2 of each post automagically'
<tilqicom> (:
<yabs> ;) »

I may have opened the door, but you entered of your own free will
image