I’m almost ashamed to come back here with another question, but I do hope someone can give me a hint so I can go on. I asked my question also on the EE forum, but they “think” code, I have to find a solution within Freeway. I must understand why this does not work, otherwise I’ll get stuck next time again.
I want to trigger a segment part (of the URL of a single entree) in order to show/hide information. This is a common feature in EE.
Click one of the test-images, now the single-entree page appears.
That page shows two fields, a test_image and text. But there is more info in the entree. Like image_2, text_2. I want to show these fields by adding to the URL: #meer The conditional: if {segment_4 !=“”} looks for that part. If segment 4 is valid, the info is shown. Segment 4 is in my case an anchor tag: #meer
On the page is a link (called meer informatie, look down on the page) to this anchor: #meer Clicking on that link does indeed lead to: URL-to-that-page/#meer but the conditional does not react on that at all.
What do I wrong here? Is my methode wrong? I tried to process the request through EE, but that only gives errors: URL not found. So there is my problem. If this is a good methode, how to do this in Freeway? Are there alternatives?
Make the URL go to <http://www.monumentmaker.nl/tempindex.php/mm/g_m/
test_monument_2/meer>, not <http://www.monumentmaker.nl/tempindex.php/
mm/g_m/test_monument_2/#meer> When you use the Anchor, that’s not
part of the segment, that’s the anchor. The page is reacting as
though you went to index.html#meer, not to /meer/ and thus the fourth
segment isn’t actually there.
Walter
On Mar 11, 2008, at 9:26 AM, atelier wrote:
I’m almost ashamed to come back here with another question, but I
do hope someone can give me a hint so I can go on. I asked my
question also on the EE forum, but they “think” code, I have to
find a solution within Freeway. I must understand why this does not
work, otherwise I’ll get stuck next time again.
I want to trigger a segment part (of the URL of a single entree) in
order to show/hide information. This is a common feature in EE.
Click one of the test-images, now the single-entree page appears.
That page shows two fields, a test_image and text. But there is
more info in the entree. Like image_2, text_2. I want to show these
fields by adding to the URL: #meer The conditional: if {segment_4 !
=“”} looks for that part. If segment 4 is valid, the info is shown.
Segment 4 is in my case an anchor tag: #meer
On the page is a link (called meer informatie, look down on the
page) to this anchor: #meer Clicking on that link does indeed lead
to: URL-to-that-page/#meer but the conditional does not react on
that at all.
What do I wrong here? Is my methode wrong? I tried to process the
request through EE, but that only gives errors: URL not found. So
there is my problem. If this is a good methode, how to do this in
Freeway? Are there alternatives?
I use {exp:fetch_current_uri}meer to create my link in Freeway. I use a (brand-new!) plug-in by Mark Bowen which grabs the current URL more info here: Forums | ExpressionEngine
Expression Engine Actions has been out for about a year. I would be interested in seeing some of the sites created with Freeway and EE actions. I recall that OneCreative was working on something. If anyone on this forum has been using Freeway and EE, can you share the results with the Freeway Talk members?