Please read and follow the COMMON ISSUES first!
Always add your version information in every new post! Thank you!

Form2Content Forum

Questions and answers for Form2Content, a Joomla CCK.
  1. Futuron
  2. Form2Content Related article plugins
  3. Wednesday, 25 May 2016
  4.  Subscribe via email
Hello I use the related article plugin. I want to load the intropart of a article. I do this using this tag in a div:

{ldelim:p }article {$GEKOPPELD_EVENT}{rdelim}{ldelim}introtext{rdelim}{ldelim}/article{rdelim}

Everything looks great, but the links on the image and text (to the whole article) do not work. What am I doing wrong?

Example can be viewed here: http://www.ecicultuurfabriek.nl/agenda/1495-michiel-borstlap-sherry-dyanne-ode-aan-billie-holiday (the Misschien ook interessant part are the loaded articles).

Thanks a lot!
Rob
Accepted Answer
F2C webmaster Accepted Answer Pending Moderation
Hi Rob,

Please follow the Articles Anywhere discussion. It is clear that the F2C Plugin is NOT being rendered by AA. Of course you get a 404 since it isn't a real URL but a plugin code which isn't being substituted by the plugin.

The question is WHY Article Anywhere isn't rendering the plugins (it also happens with other plugins). Therefor for now it seems an AA issue since everything did work before with AA version 4.x.

Regards,
Patrick
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Responses (16)
Futuron Accepted Answer Pending Moderation
Ok this obviously is not only F2C. The tag used here is from NoNumber (Regular Labs nowadays) with articles anywhere. This loads the article with the ID from F2C db lookup field. This might be the problem. Although the layout is shown perfectly, the link does not work. This might have something to do with the SEF plugin from F2C?

I once read there is also a plugin F2C articles anywhere. That might work better?! Is this true? And if so, where can I find this plugin?

Regards Rob
F2C webmaster Accepted Answer Pending Moderation
Hi Rob,

I think there are 3 almost 4 things mixing up here.

1) Are you using F2C Related article plugin as you mention and if so how? Your code shows Regular labs (still have to get used to the name) code. I don't see the array code....
2) Hover the URL and you see F2C SEF code which means it's not triggered. Are you using the F2C Sef SYSTEM plugin or the content one (should be system)?
3) What do you want to display? If just a title with link you can use Regular Labs.
4) F2C articles anywhere might be interesting but comes with no support (or paid support). Again, it depend on what you want to show.

Many options so little more input ;)

Regards,
Patrick
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Futuron Accepted Answer Pending Moderation
Hello Patrick,

Hereby the answers to your questions:

1) True we do use F2C Related article plugin, but it has nothing to do with this problem. Sorry for putting it in this category. That was the reason of my immediate reply where I tell about the use of the Regular Labs plugin.

2) The system plugin is used.

3) I want to show the intro-part of a item. This means a image with a rollover effect, text end links. The example link shows what we want to show. The regular labs plugin provides this, but the SEF url is not working.

4) If it is a solution, might be useful to try. Can it be used aside from the Regular Lab plugin?

The main problem is that the SEF URL is not working. Is that something I can fix? For some reason it takes the URL literally (so with the F2C Sef code in it).

The div code that loads the article intro's:

<div class="uk-grid uk-hidden-small">
<div class="uk-width-2-3">
<div class="uk-grid">
<h2>Misschien ook interessant</h2>
<div class="uk-width-1-2">
{IF $GEKOPPELD_EVENT}
{ldelim}article {$GEKOPPELD_EVENT}{rdelim}{ldelim}introtext{rdelim}{ldelim}/article{rdelim}
{/IF}
</div>
<div class="uk-width-1-2">
{IF $GEKOPPELD_EVENT2}
{ldelim}article {$GEKOPPELD_EVENT2}{rdelim}{ldelim}introtext{rdelim}{ldelim}/article{rdelim}
{/IF}
</div>
</div>
</div>
<div class="uk-width-1-3"></div>
</div>




Regards,
Rob
Futuron Accepted Answer Pending Moderation
Any suggestions? Or is this something F2C SEF does not support?
F2C webmaster Accepted Answer Pending Moderation
Hi Rob,

OK, clear now. I believe there is a setting in Articles Anywhere to render plugins. Have you checked that option?

Regards,
Patrick
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Futuron Accepted Answer Pending Moderation
He Patrick,

I have been looking for this option, but I can not find it. I will open a post on the RL forum aswel. He might find the solution to this problem.

Thnx.
Rob
Futuron Accepted Answer Pending Moderation
Ok found the plugin option. That did not work. Still get the following error when clicking to read more:

Fatal error: Class 'F2cSearch' not found in /home/ecicultuurfabrie/public_html/components/com_form2contentsearch/models/search.php on line 21
F2C webmaster Accepted Answer Pending Moderation
Hi Rob,

The error is second and might be gone if the actual plugin code is rendered. Which is not the case since you can still see this as URL: http://www.ecicultuurfabriek.nl{plgContentF2cSef}1506:joyce-stevens-jazz-and-wine,11:agenda%7B/plgContentF2cSef%7D

Does the F2C plugin work in a normal blog layout of the articles (the ones you are now linking to via AA)?

Regards,
Patrick
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Futuron Accepted Answer Pending Moderation
Hello Patrick,

Yes all the aricle-links work properly. These articles I load are the same as on the homepage. So the plugin does work, but not when rendered in the AA tag.
Futuron Accepted Answer Pending Moderation
I have been discussing this with Peter van Westen (Regular Labs). He believes it has something to do with your plugin. You can follow the discussion here: https://www.regularlabs.com/forum/articlesanywhere-pro/41891-f2c-links-do-not-work

Greets,
Rob
F2C webmaster Accepted Answer Pending Moderation
Hi Rob,

Read it but I am using AA often in combination with F2C without issues.

Example. Please see the 6 safari's at the bottom here:
http://safari.opensourcedesign.nl/namibie/vakantie-reizen

Created using this code: {articles cat:6:random:30}{introtext} {/articles}

Click and see the read more after the text in the popup. Created using href="{$JOOMLA_ARTICLE_LINK_SEF}" in my template.

Check your F2C template output (html) via the Joomla article manager!

Regards,
Patrick
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Futuron Accepted Answer Pending Moderation
The code does nothing strange. See below. I use the same method as you did; I also use {$JOOMLA_ARTICLE_LINK_SEF} in my template. It just does not work.

Here is the code generated in the article.
<div class="uk-grid">
<h2>Misschien ook interessant</h2>
<div class="uk-width-1-2">{article 1515}{introtext}{/article}</div>
<div class="uk-width-1-2">{article 1521}{introtext}{/article}</div>
</div>
F2C webmaster Accepted Answer Pending Moderation
I think it's an AA issue since there where many syntax changes in the new 5.x series.

Everything worked fine before see above but I had to change syntax to:

{articles category="31,22,23,25" ordering="random" limit="6"}[introtext]{/articles}

However even with F2C SEF off I get a blank page! Will let Peter know.
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Futuron Accepted Answer Pending Moderation
I have recreated the same issue in a blank F2C template. Now I get a 404. This is the message I get: The requested URL /{plgContentF2cSef}448:dewolff2,11:agenda{/plgContentF2cSef} was not found on this server.

I created a blank F2C template with a div containing the following AA code:
{ldelim}article 448{rdelim}{ldelim}introtext{rdelim}{ldelim}/article{rdelim}


The output is as expected and looks the way I want. The link does not work. The ID 448 is the Joomla Article ID.
Futuron Accepted Answer Pending Moderation
Clear! So no issue with F2C then. Will close this topic and continue there. Thanks.

Gr,
Rob
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.