FLEXIContent - v2.0.0 - final for J2.5 released (r1648)

More
12 years 3 months ago #22006 by Arkadiy
From add() function too
www.flexicontent.org/forum/index.php?f=2...pic&start=290#p21962
But a little like this:
Code:
// Set the layout //Arkadiy add $layout = JRequest::getVar('layout', 'form'); $layout = JRequest::getVar('layout', 'form'); $view->setLayout($layout); // Display the view //Arkadiy replace display() $view->_displayForm(null);
The topic has been locked.
More
12 years 3 months ago #22010 by mijim

About language not set in backend, maybe language file is broken, will test ... we have this issue open:
code.google.com/p/flexicontent/i ... ail?id=344


Hello,
Only to mention that I have the very same issue with a clean install of flexicontent_v2.0_preRC3_r1110_Nightly_Build

This issue does not come up in previous version (flexicontent_v2.0_RC2a_r1057).

Cheers and many thanks for all,
Antoine
The topic has been locked.
More
12 years 3 months ago #22011 by Arkadiy
After the update Flexi to r1113 is trying to delete files in tmpl directories site/views/categories and item. But these files are needed for work.

\administrator\components\com_flexicontent\controller.php
Code:
function deleteOldBetaFiles() { // Check for request forgeries JRequest::checkToken( 'request' ) or jexit( 'Invalid Token' ); jimport('joomla.filesystem.file'); $files = array ( 'author.xml', 'author.php', 'myitems.xml', 'myitems.php', 'default.xml', 'default.php', 'index.html', 'form.php', 'form.xml' ); $catdir = JPath::clean(JPATH_SITE.DS.'components'.DS.'com_flexicontent'.DS.'views'.DS.'category'.DS.'tmpl'); $cattmpl = JFolder::files($catdir); $ctmpl = array_diff($cattmpl,$files); foreach ($ctmpl as $c) { JFile::delete($catdir.DS.$c); } $itemdir = JPath::clean(JPATH_SITE.DS.'components'.DS.'com_flexicontent'.DS.'views'.DS.'items'.DS.'tmpl'); $itemtmpl = JFolder::files($itemdir); $itmpl = array_diff($itemtmpl,$files); foreach ($itmpl as $i) { JFile::delete($itemdir.DS.$i); } $model = $this->getModel('flexicontent'); if ($model->getOldBetaFiles()) { echo '<span class="install-ok"></span>'; } else { echo '<span class="install-notok"></span><span class="button-add"><a id="oldbetafiles" href="#">'.JText::_( 'FLEXI_UPDATE' ).'</span>'; } }
The topic has been locked.
More
12 years 3 months ago #22018 by ggppdk
In administrator/components/com_flexicontent/views/flexicontent/tmpl/default_postinstall.php

make if condition
<?php if(!$this->oldbetafiles) : ?>
to be false:
<?php if( 0 /*!$this->oldbetafiles*/ ) : ?>

but, why not place these files in a template override?
is it because you want to use them with multiple templates and want to avoid copying?


-- 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...
The topic has been locked.
More
12 years 3 months ago #22034 by Arkadiy
Now if you delete these files, an error occurs on the front of the site due to the fact that the replacement of these files in the templates is not possible.
Certainly better to move them into patterns, but until it is done to remove them is impossible.

There is a view form.php, form.xml, they used in the editing of the content from the front.

Move form.php, form.xml into template, works ok. Therefore they must be added to the templates.
The topic has been locked.
More
12 years 3 months ago #22123 by refacil
JOOMLA! 2.5 RELEASED WITH EXTRA FEATURES AND EASY UPDATES
www.joomla.org/announcements/rel ... eased.html

¿FLEXIContent - 2.0 - preRC3 r1110 - [for J1.7] is compatible with joomla 2.5?
The topic has been locked.
Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.304 seconds
Save
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