Can't finish project...

More
8 years 6 months ago #68867 by lipatovroman
Hi!
I finished my project using FlexiContent by 98%.
There are several problems that prevent me from completing the project.
These are known problems:

1. Not correct Google micro data in categories and modules.
Relevant topic: www.flexicontent.org/forum/20-general-su...icrodata-errors.html

2. Templates for related field
Relevant topic: github.com/FLEXIcontent/flexicontent-cck/issues/649

Also we have problems with using this field. We can add itself item as related item.

www.flexicontent.org/forum/20-general-su....html?start=10#65796

And finally, when we adding related items we can't see if item is already added (like in files or images):

dl.dropboxusercontent.com/s/6kkvwfyi0g67...-11%20at%2014.16.jpg

3. Advanced tags options.
www.flexicontent.org/forum/20-general-su...d-view-for-tags.html

4. Not correct images order after adding from loader
www.flexicontent.org/forum/20-general-su...n-gallery-field.html

Please, tell me, what should I do to solve this issues.
Thanks.

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

More
8 years 6 months ago #68868 by ggppdk
Replied by ggppdk on topic Can't finish project...
Hello

4. Not correct images order after adding from loader

1. Not correct Google micro data in categories and modules.


something that is bug get a priority to be fixed
4 will be done next a few days
and 1 during next 10 days (make a reminder)

too many features to support
and almost everything works as intended , except for recent additions
also we try to improve UX so that they are easier to configure


about things that are new features
that is a different topic

e.g. new features:

3. why do the TAGs now (we will be syncing with Joomla tags)
2. why add layouts to relation field now (plus you already have the CUSTOM HTML parameter !)

and instead of the above we finish our endless scroll for templates
or finish reviews ?


-- 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
8 years 6 months ago - 8 years 6 months ago #68879 by lipatovroman

something that is bug get a priority to be fixed
4 will be done next a few days
And 1 during the next 10 days (make a reminder)


Yes, of course.

too many features to support

I do not agree that.

Most of them about fixing existing issues.
But I several times wrote - I'm READY to donate. And I'm READY to be paid subscriber on FlexiContent Pro.





why do the TAGs now ([we will be syncing with Joomla tags]


I can add new DB tables for meta titles and meta description manually.
But I do not want to edit FC core files.

No SEO tags. Google will punish the site for such pages.


why add layouts to relation field now (plus you already have the CUSTOM HTML parameter!)


May be you forgot the reason of issue ...



And topic

www.flexicontent.org/forum/20-general-su...-field-template.html

Yes, I can make it my own. But you said in last year, that it will be done. So, I still waiting.
Last edit: 8 years 6 months ago by lipatovroman.

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

More
8 years 6 months ago - 8 years 6 months ago #68880 by lipatovroman
PS
And yes, we VERY need reviews:



www.flexicontent.org/forum/20-general-su...eviews.html?start=10

And we need endless scroll - but it can wait.

Sorry, that I'm too active. But we are building projects with FC.
When you provides an approximate date for the release of new features - we make plans on this basis.
So, we waiting and waiting.

I want to notice one more time: if you think, that some of my requests should be paid - please tell me.
This will be much more acceptable than waiting for a few months.

Thank you for understanding and for you awesome work.
Last edit: 8 years 6 months ago by lipatovroman.

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

More
8 years 6 months ago #68881 by ggppdk
Replied by ggppdk on topic Can't finish project...
Hello

- will fix the 2 bugs
- about tags will sync with Joomla tags and edit them the same way as we edit Joomla users (via a button that open Joomla user in popup windows) (during next week)

about layout for relation field ,
it would be nice, but you don't really need it (custom HTML is mostly enough), right ?
and it is not prority for us , e.g like syncing with Joomla tags (because many users will find useful)


-- 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
8 years 6 months ago - 8 years 6 months ago #68887 by lipatovroman

about layout for relation field ,
it would be nice, but you don't really need it (custom HTML is mostly enough), right ?


I edited file components/com_flexicontent/classes/flexicontent.fields.php

I added this code:



Is it possible to make same using custom HTML?
Last edit: 8 years 6 months ago by lipatovroman.

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

More
8 years 6 months ago #68888 by ggppdk
Replied by ggppdk on topic Can't finish project...
Hello

you can use as custom HTML
Code:
<a href="__item_url__">{item->title} __REL_TEXT__</a>

and then inside category_items.php and item.php out the field like this:

if ( strpos($item->field->display, '/windows/') !==false)
{
echo str_replace('__REL_TEXT__', ' is windows', $item->field->display);
}
elseif ...
elseid ...
else
{
echo $item->field->display;
}


Just if we get layout it will be done only once inside the layout,

about the method you hacked
it will not be overridable directly,

but if we have layouts you could duplicate the method and customize it ... and call your method instead of custom
but it will be some work to do it because the method is now static ! (maybe in future will provide non-static version)

or just use the str_replace and avoid overriding the method


-- 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
8 years 6 months ago #68889 by ggppdk
Replied by ggppdk on topic Can't finish project...
Hello

i have prepared the relation / relation reverse for using layouts

but note that the "FlexicontentFields::getItemsList" will appear inside the layout
but thinking to expose the array of items to layout

$related_items
$related_items[0]->title
$related_items[0]->url
$related_items[0]->rel_html
...
$related_items[1]->title
$related_items[1]->url
$related_items[1]->rel_html
...

and then further custom work on them via str_replace like what you suggest will be easy !!


-- 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
8 years 6 months ago #68894 by lipatovroman

you can use as custom HTML


Hi!
This method works not correct.

I added custom HTML



Then I added code to item.php:
Code:
<?php if ( strpos($item->fields["related"]->display, '/windows/') !==false) { echo str_replace('__REL_TEXT__', ' for Windows', $item->fields["related"]->display); } elseif ( strpos($item->fields["related"]->display, '/macos/') !==false) { echo str_replace('__REL_TEXT__', ' for macOS', $item->fields["related"]->display); } elseif ( strpos($item->fields["related"]->display, '/android/') !==false) { echo str_replace('__REL_TEXT__', ' for Android', $item->fields["related"]->display); } elseif ( strpos($item->fields["related"]->display, '/ios/') !==false) { echo str_replace('__REL_TEXT__', ' for iOS', $item->fields["related"]->display); }

but all related items have first replacing:

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

More
8 years 6 months ago #68895 by lipatovroman
When I use instead elseIf
Code:
<?php if ( strpos($item->fields["related"]->display, '/windows/') !==false) { echo str_replace('__REL_TEXT__', ' for Windows', $item->fields["related"]->display); } if ( strpos($item->fields["related"]->display, '/macos/') !==false) { echo str_replace('__REL_TEXT__', ' for macOS', $item->fields["related"]->display); } if ( strpos($item->fields["related"]->display, '/android/') !==false) { echo str_replace('__REL_TEXT__', ' for Android', $item->fields["related"]->display); } if ( strpos($item->fields["related"]->display, '/ios/') !==false) { echo str_replace('__REL_TEXT__', ' for iOS', $item->fields["related"]->display); } ?>

FC displays extra link with both replacements:

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