By Kenneth Koppervik on Tuesday, 07 October 2014
Posted in General Issues
Replies 7
Likes 0
Views 836
Votes 0
Hi, i tried duplicating a theme folder in easyblog.

1. Css from orginal does not load. why is that?
2. If i update the system, is my theme safe?
If not, how can i make it safe?
Hello Kenneth,

Thanks for take your time to provide us with the customize file,

I have tried to put all your file to my JoomlaFolder/templates/myTemplate/html/com_easyblog, then i hitting this parse error.
Parse error: syntax error, unexpected '}' in C:\Program Files (x86)\xampp\htdocs\goodjob32.com\templates\protostar\html\com_easyblog\blog.item.php on line 38


You should remove this code from this file -> blog.item.php
					<? /* php if( $row->isFeatured ) { ?>
<!-- Show a featured tag if the entry is featured -->
<sup class="tag-featured"><?php echo Jtext::_('COM_EASYBLOG_FEATURED_FEATURED'); ?></sup>
<?php } */?>

And I also noticed that styles.css file also get loaded in my local, check my screenshot below.
Because if you put your customization file in easyblog theme file, it will not safe. If you trying to update the Easyblog latest version, it will remove with your customization file from the theme, the best way is you should overridden the file from your template.
·
Wednesday, 08 October 2014 17:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Kenneth,

What is your main goal in doing this? If you are just wanting to override the css file, then you should ideally just place your css codes into your template's css file. You don't really need to duplicate the entire theme folder.
·
Tuesday, 07 October 2014 22:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mark,

First i made a duplicate of a an exisisting theme, renamed it and all, but when i made it default, the css would not load. The reason why I did this is because i want to add my own css to make sure its not overwritten if I update the system. Yes i can add it to my template css, but then again why is there a themes system? I was just wondering why its not loading the minute i change name on the theme and the xml file.
And if my new theme is safe if I update. And if no how I can make it safe.

Whitin my theme i also made severals overrides of output so i need to know how to do it correct.
·
Wednesday, 08 October 2014 01:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Kenneth Koppervik,

Sorry for late reply to this,
Is it possible provide us with your Joomla backend and FTP access so we can better have a look?
Also guide us with customize theme file you store at? Please advise.
·
Wednesday, 08 October 2014 11:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex, i attached the themes folder containg all files in the theme.

if i upgrade easyblog now, will it be deleted?
·
Wednesday, 08 October 2014 14:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex, not sure why a php comment leads to parse error, but since im not using that line of code i removed it.

Plus i moved all my files to the html folder of my template and the css to the template custom css file, and it works! And in the html folder i know they are safe
·
Thursday, 09 October 2014 14:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating Kenneth, glad that your issues are resolved now
·
Thursday, 09 October 2014 14:26
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post