-
AuthorPosts
-
shertmann Friend
shertmann
- Join date:
- September 2008
- Posts:
- 339
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 22
- Thanked:
- 42 times in 26 posts
September 23, 2008 at 5:36 am #133619Well i have finished to make a work and i found interesting eliminating or hiding (because i do not delete any code) from the joomla administration and virtuemart relative of virtuemart and joomla.
the full process:
first step remove the joomla logo and site name in administrator interface:
i went to index.php of joomla administrator then i look for the code that calls the logo of joomla the site name and the joomla version:
find the line 49 near the following code
<span class="version"><?php echo JText::_('Version') ?> <?php echo JVERSION; ?></span><span class="title"><?php echo $this->params->get('showSiteName') ? $mainframe->getCfg( 'sitename' ) : JText::_('Administration'); ?></span></div>
and replace with this<span class="version"><?php /* echo JText::_('Version') */?> <?php /*echo JVERSION; */?></span><span class="title"><?php /*echo $this->params->get('showSiteName') ? $mainframe->getCfg( 'sitename' ) : JText::_('Administration'); */?></span></div>
then look into the folder
administrator/templates/kepri/css/general.cssand inside of this look the following classes
#border-top.h_green div div
#border-top.h_teal div div
#border-top.h_cherry div div
and inside it remove the backgruund url reference, whit this you will eliminate any reference to joomla in your admin(specially good if you do not want that this appear in your works for clients.secon remove joomla footer of administator:
in the same file index.php inside of adminitrator folder find the following line of code
<p class="copyright">
<a href="http://www.joomla.org" target="_blank">Joomla!</a>
<?php echo JText::_('ISFREESOFTWARE') ?>
</p>
and replace it with this<!--p class="copyright">
<a href="http://www.joomla.org" target="_blank">Joomla!</a>
<?php /*echo JText::_('ISFREESOFTWARE') */?>
</p-->
with this the joomla is copyright information free.now we must remove all references to virtuemart version let’s get find the admin.virtuemart.php
inside of the following folder admin/components/con_virtuemart/
and near the line 164 find the following codeif( $vmLayout != 'extended' ) {
echo '<br style="clear:both;"/><div class="smallgrey" align="center">'
.$VMVERSION->PRODUCT.' '.$VMVERSION->RELEASE
.' (<a href="http://virtuemart.net/index2.php?option=com_versions&catid=1&myVersion='.@$VMVERSION->RELEASE.'" onclick="javascript:void window.open(this.href, 'win2', 'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=580,directories=no,location=no'); return false;" title="'.$VM_LANG->_('VM_VERSIONCHECK_TITLE').'" target="_blank">'.$VM_LANG->_('VM_VERSIONCHECK_NOW').'</a>)</div>';
}
and replace with this/*if( $vmLayout != 'extended' ) {
echo '<br style="clear:both;"/><div class="smallgrey" align="center">'
.$VMVERSION->PRODUCT.' '.$VMVERSION->RELEASE
.' (<a href="http://virtuemart.net/index2.php?option=com_versions&catid=1&myVersion='.@$VMVERSION->RELEASE.'" onclick="javascript:void window.open(this.href, 'win2', 'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=580,directories=no,location=no'); return false;" title="'.$VM_LANG->_('VM_VERSIONCHECK_TITLE').'" target="_blank">'.$VM_LANG->_('VM_VERSIONCHECK_NOW').'</a>)</div>';
}*/
then open the file header.php and find the following code<h5><?php echo $VM_LANG->_('VM_YOUR_VERSION') ?></h5>
<a href="http://virtuemart.net/index2.php?option=com_versions&catid=1&myVersion=<?php echo @$VMVERSION->RELEASE ?>" onclick="javascript:void window.open(this.href, 'win2', 'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=580,directories=no,location=no'); return false;" title="<?php echo $VM_LANG->_('VM_VERSIONCHECK_TITLE') ?>" target="_blank">
<?php echo $VMVERSION->PRODUCT .' ' . $VMVERSION->RELEASE .' '. $VMVERSION->DEV_STATUS
?>
</a>
and replace with this<h5><?php /*echo $VM_LANG->_('VM_YOUR_VERSION') */?></h5>
<!--a href="http://virtuemart.net/index2.php?option=com_versions&catid=1&myVersion=<?php /*echo @$VMVERSION->RELEASE */?>" onclick="javascript:void window.open(this.href, 'win2', 'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=580,directories=no,location=no'); return false;" title="<?php /*echo $VM_LANG->_('VM_VERSIONCHECK_TITLE') */?>" target="_blank">
<?php /*echo $VMVERSION->PRODUCT .' ' . $VMVERSION->RELEASE .' '. $VMVERSION->DEV_STATUS
*/?>
</a-->
and voila now you have a joomla admin and virtuemar admin with no references of them. enjoy it..:):):)
2 users say Thank You to shertmann for this useful post
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
September 23, 2008 at 9:30 am #271854great shertmann ! thank you very much ! 😀
shertmann Friendshertmann
- Join date:
- September 2008
- Posts:
- 339
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 22
- Thanked:
- 42 times in 26 posts
September 23, 2008 at 4:50 pm #271927well this is one of the most common issues that peoples always ask so i decide to put my personal solution in here. hope this works and helos everybody:D
mj1256 Friendmj1256
- Join date:
- June 2007
- Posts:
- 1473
- Downloads:
- 10
- Uploads:
- 35
- Thanks:
- 84
- Thanked:
- 225 times in 118 posts
September 23, 2008 at 5:00 pm #271928hainn84, maybe it should be posted as a tutorial?
shertmann Friendshertmann
- Join date:
- September 2008
- Posts:
- 339
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 22
- Thanked:
- 42 times in 26 posts
September 23, 2008 at 5:10 pm #271932well i will like if that happens.
John Wesley Brett ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
October 13, 2008 at 2:46 am #274946How about this one:
VM Admin >> Configuration >> Site tab >> Display tab >> Display footer
Turn it off.
John.
shertmann Friendshertmann
- Join date:
- September 2008
- Posts:
- 339
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 22
- Thanked:
- 42 times in 26 posts
October 13, 2008 at 3:14 am #274956its not only about the footer its removing a virtuemart references at all
John Wesley Brett ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
October 13, 2008 at 4:35 am #274959Sorry,
Wasn’t meaning “it was only about the footer”…just pointing out an obvious area where one could get rid of the most visual sign of VM on a users end. That’s all.
John.
shertmann Friendshertmann
- Join date:
- September 2008
- Posts:
- 339
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 22
- Thanked:
- 42 times in 26 posts
October 13, 2008 at 4:27 pm #275058yes i iunderstand that but the virtuemart signs that appears in the module must be removed in various places.
shertmann Friendshertmann
- Join date:
- September 2008
- Posts:
- 339
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 22
- Thanked:
- 42 times in 26 posts
October 14, 2008 at 12:21 am #275121well in the Gpl there is nothing that says that you must have a link url or logo asociated directly with the source code creator, if you maintain the credits in the source code. that is what says that license. if you can not make modifications as simple as that then is not an GPL/GNU, it will be a propietary so is not open source. many user of GPL/GNU aplications make modifications change the visual aspect but that not violate the license agreement.
well i do not expect that all the thinks i say be acepted by everybody else, in fact i expect the oposite because that is what make one’s to think if you are making the right pace or not.
but if my work makes you think then i can be well served.
sorry if my english is bad but is not my mother language, and sometimes can be a little tricky to put the right ideas in another language.
shertmann Friendshertmann
- Join date:
- September 2008
- Posts:
- 339
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 22
- Thanked:
- 42 times in 26 posts
October 14, 2008 at 1:23 am #275126well first of all i was not selling this as mine i clearly stated to my customer and he knows is joomla+vm. is a matter of visual adaptation just that. i know that too much people out there removes this stuff and offers as if they do this from scratch. weel in that case you mention they alter the extension operation, i do not change any operation of the extension so the situation is very diferent. i only change the visual looks for a better look and feel nothing else
shertmann Friendshertmann
- Join date:
- September 2008
- Posts:
- 339
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 22
- Thanked:
- 42 times in 26 posts
October 14, 2008 at 6:06 am #275160no comments:confused::confused::confused::confused::confused::confused::confused::confused::confused::confused::confused::confused::confused::confused:
-
AuthorPosts
This topic contains 13 replies, has 4 voices, and was last updated by shertmann 15 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum