Item title before category title with sh404sef?

More
12 years 1 month ago #43631 by victorio404
Tried that before asking the question - still getting "not in items view" :(
(I'm also using the code from here: www.flexicontent.org/forum/index ... pic#p21807
to display item title before category title if that makes any difference...)

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #43634 by ggppdk
Hello

if you add the "$view" to the return statement,
then what gets printed:

Replace
return "not in items view";
with
return "not in items view, in view".$view;


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #43638 by victorio404
Result: "not in items view, in view"

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #43640 by ggppdk
Hello

the 'view' is empty ? !

someone has cleared it ?


Replace:
return "not in items view";
with
return "not in items view, view:$view, fcitem_id:$fcitem_id, fccat_id:$fccat_id";

-- If 'fcitem_id', 'fccat_id' get printed, then just try removing the code:
Code:
if ($view!='item' && $view!='article') { return ... }


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #43643 by victorio404
The problem is i'm loading the form with a button and in jcepopup box. If i put the form into the article trough the plugin - it displays the title ok.

So it is my fault i did not explained the situation. Sorry. :oops:

Do you think it could work with the popup too somehow?

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #43670 by ggppdk
Hello

the view should still be 'item'

do the other variables get printed ? (please test what i have suggested in previous answer)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #43681 by victorio404
I did tested. With
Code:
return "not in items view, view:$view, fcitem_id:$fcitem_id, fccat_id:$fccat_id";
- result: "not in items view, view:, fcitem_id:0, fccat_id:0".

If remove
Code:
if ($view!='item' && $view!='article') { return ... }
- result: "-"

I'm calling the form with:
Code:
<a class="jcepopup" href="index.php?option=com_rsform&amp;formId=3&amp;tmpl=component">...

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #43695 by ggppdk
Hello

index.php?option=com_rsform&amp;formId=3&amp;tmpl=component

is not a FLEXIContent URL

the FLEXIcontent code for SH404SEF is called ??

-- maybe replace
return "...";

with:
return;


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #43717 by victorio404
index.php?option=com_rsform&amp;formId=3&amp;tmpl=component is a RSForm url - i'm using it to call the form within a jcepopup box(from within an FC item page).

Sh404sef is being used yes.

Is there a way to call the form within popup box with a Flexicontent url?
In same form i'm using
Code:
//<code> return $_SERVER['HTTP_REFERER']; //</code>
to call the URL the form is sent from and it works fine if the form is sent with no validation error(refresh)

Replacing
return "...";
with:
return;

result is empty

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #43721 by ggppdk
Hello

But why the FLEXIcontent is called, the link is not a FLEXIContent link it is an RSFORM link , right ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save