Guest Oscgfx Posted August 5, 2005 Share Posted August 5, 2005 Hi there, Just finished my second theme here: http://www.cubecart-templates.com/orientalsilver/ what im wondering about is the title. Is there anyway for me to remove the copyright notice in the title - currently im just using the {meta_title} tag in my index and cart skin pages. However im allowed to display this without the copyright notice right ? NOTE: I am not asking how to remove copyright from the entire cubecart. Also wouldnt mind any feedback on the design in general however and so was wondering if should have put this in the show off forum but as i actually have a question I felt here was acceptable. Thanks Quote Link to comment Share on other sites More sharing options...
convict Posted August 5, 2005 Share Posted August 5, 2005 Wow What are you using {meta_title} for? Just write simple text {meta_title} is for title bar applicable only PS: and...this is NOT a bug, this is licensing policy Quote Link to comment Share on other sites More sharing options...
Guest Oscgfx Posted August 5, 2005 Share Posted August 5, 2005 Hi - obviously it isnt a bug. I knew someone would misinterpret what i was trying to do here. I was just trying to be able to easily manage the title of the store - as these are skins and i am not actually trying to set up a store. Surely there must be a way of pulling the title without the copyright notice. Does anyone know where CC stores the title variable which can be changed in the admin panel ? I still want to display the copyright notice in the actually title of the page as per the licensing agreement Thinking about it i doubt the creator will want such info to be made publicly availale. Any help is appreciated. Quote Link to comment Share on other sites More sharing options...
Guest OvErDoSe Posted August 5, 2005 Share Posted August 5, 2005 this can be solved with and simple php command. load the meta title then remove the Powered by Cubecart from it with a php command. if you cant find it, I will search for it. it's a basic php command... Quote Link to comment Share on other sites More sharing options...
Guest Oscgfx Posted August 5, 2005 Share Posted August 5, 2005 Wahey I finally did it. It wasn't too hard once i finally figured it out. But then again these things are usually staring you in the face eh ! Quote Link to comment Share on other sites More sharing options...
convict Posted August 5, 2005 Share Posted August 5, 2005 Im not lawyer, just technician There are copuple of methods of pulling the title without the copyright notice. Just open main index.php an there is wanting code if(isset($meta)){ $body->assign("META_TITLE",$config['siteTitle'].c().$meta['siteTitle']); $body->assign("META_DESC",$meta['metaDescription']); $body->assign("META_KEYWORDS",$config['metaKeyWords']); } else { $body->assign("META_TITLE",$config['siteTitle'].c()); $body->assign("META_DESC",$config['metaDescription']); $body->assign("META_KEYWORDS",$config['metaKeyWords']); } c() is responsible for your trable. :errm: Quote Link to comment Share on other sites More sharing options...
convict Posted August 5, 2005 Share Posted August 5, 2005 Wahey I finally did it. It wasn't too hard once i finally figured it out. But then again these things are usually staring you in the face eh ! Congratulations! I'm enjoying technical solution of your demo (stores?) :errm: Quote Link to comment Share on other sites More sharing options...
Guest Oscgfx Posted August 6, 2005 Share Posted August 6, 2005 Im not lawyer, just technician There are copuple of methods of pulling the title without the copyright notice. Just open main index.php an there is wanting code if(isset($meta)){ Â $body->assign("META_TITLE",$config['siteTitle'].c().$meta['siteTitle']); Â $body->assign("META_DESC",$meta['metaDescription']); Â $body->assign("META_KEYWORDS",$config['metaKeyWords']); } else { Â $body->assign("META_TITLE",$config['siteTitle'].c()); Â $body->assign("META_DESC",$config['metaDescription']); Â $body->assign("META_KEYWORDS",$config['metaKeyWords']); } c() is responsible for your trable. Yes thats how i did it. I assigned TITLE - a new tag i created with $config['siteTitle']. I still havent a clue where its stored though Thanks anyway for the help. Quote Link to comment Share on other sites More sharing options...
convict Posted August 6, 2005 Share Posted August 6, 2005 whole $config variable is 'encoded' and stored into database :) Quote Link to comment Share on other sites More sharing options...
Guest Oscgfx Posted August 6, 2005 Share Posted August 6, 2005 Ahh right i see - cheers. :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.