Hi,
i have several links which point to the same page but different parts
like:
But i do not know how i manage to display the requested part. Can
someone help?
Bye,
Tino
Hi,
i have several links which point to the same page but different parts
like:
But i do not know how i manage to display the requested part. Can
someone help?
Bye,
Tino
Use <r:content part=“parta” /> to display the part. If you want to
create
an anchor too, either put it in the first containing block of that part,
or
do something like this:
Sean C.
seancribbs.com
I think i didn’t explain my problem so well. I want to display parts
depending on the url. I have a page with e.g. 4 parts. This page will
never be displayed as a whole, but only one part at a time. Or should
i create one page for every part? Would this be a better solution?
Thanks,
Tino
2006/11/30, Sean C. [email protected]:
I think <r:if_url /> would fit my needs, but meanwhile your solution
is should work, too.
Thanks,
Tino
2006/11/30, Sean C. [email protected]:
If you made the ‘parts’ into child pages, you could do this:
<r:children:each>
Go to part <r:slug /> of the
list
</r:children:each>
…
<r:children:each>
Cheers,
Sean
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs