Upgrade question

iguanashare4743

New Member
YetiShare User
Feb 7, 2015
125
0
0
Hi

can please someone tell me what are the files that i can upload manually to upgrade ! since am using the flow theme and i did a lot of modifications on the images , so if i upgrade the all the script ill loose what i did .


so is it possible for someone to tell me what archives i have to replace only

thank you
 

sukhman21

Member
YetiShare User
YetiShare Supporter
Jan 26, 2015
508
3
18
you would have to upload all the files and then redo all the modifications to your theme again unfortunately. alot of the files have changed so you cant just replace a bunch of files to upgrade to new version..
 

adam

Administrator
Staff member
Dec 5, 2009
2,046
108
63
Hi,

If you do custom changes to the core theme I'd recommend copying it in the themes folder so it's managed separately from 'flow'. To copy:

- In 'themes/' copy and paste 'flow' folder and it's contents.
- Rename to whatever you want to call it, i.e. 'flowcustom'.
- Rename themes/flowcustom/themeFlow.class.php to themes/flowcustom/themeFlowcustom.class.php
- Edit themes/flowcustom/themeFlowcustom.class.php, change:
Code:
class themeFlow extends Theme
to
Code:
class themeFlowcustom extends Theme
- Edit themes/flowcustom/_theme_config.inc.php, set:
Code:
$themeConfig['theme_name'] = 'Flow Custom YetiShare Theme';
$themeConfig['folder_name'] = 'flowcustom';
$themeConfig['theme_description'] = 'Amended flow theme for custom changes.';
- Reloading the theme manager in the admin area should show it as a new theme and allow you to enable it.

So when a new release is out you can upload everything new but still keep your own theme. You'll still need to migrate the changes in the 'flow' itself if you want them, but at least the core script updates will be in place.

I'm also trying to get the changes for the latest release in \install\resources\upgrade_file_diffs\. Hopefully later today they'll be there.

Thanks,
Adam.
 

iguanashare4743

New Member
YetiShare User
Feb 7, 2015
125
0
0
adam said:
Hi,

If you do custom changes to the core theme I'd recommend copying it in the themes folder so it's managed separately from 'flow'. To copy:

- In 'themes/' copy and paste 'flow' folder and it's contents.
- Rename to whatever you want to call it, i.e. 'flowcustom'.
- Rename themes/flowcustom/themeFlow.class.php to themes/flowcustom/themeFlowcustom.class.php
- Edit themes/flowcustom/themeFlowcustom.class.php, change:
Code:
class themeFlow extends Theme
to
Code:
class themeFlowcustom extends Theme
- Edit themes/flowcustom/_theme_config.inc.php, set:
Code:
$themeConfig['theme_name'] = 'Flow Custom YetiShare Theme';
$themeConfig['folder_name'] = 'flowcustom';
$themeConfig['theme_description'] = 'Amended flow theme for custom changes.';
- Reloading the theme manager in the admin area should show it as a new theme and allow you to enable it.

So when a new release is out you can upload everything new but still keep your own theme. You'll still need to migrate the changes in the 'flow' itself if you want them, but at least the core script updates will be in place.

I'm also trying to get the changes for the latest release in \install\resources\upgrade_file_diffs\. Hopefully later today they'll be there.

Thanks,
Adam.
Hi adam

This was so helpful thank you , it worked

but now on Flowcustom i cant see the public files menu and the link checker, while on Flow it shows

what should i do to make it appear on Flowcustom
 

adam

Administrator
Staff member
Dec 5, 2009
2,046
108
63
but now on Flowcustom i cant see the public files menu and the link checker, while on Flow it shows
This is part of the theme code in the latest release so you'll need to manually copy over the new files and changes to the partial/_header & _footer. I'm working on the changes file for the release now so you can use this to see what code has changed. I'll update here when it's available.