Jump to content

just a little bug


Guest Oscgfx

Recommended Posts

Guest Oscgfx

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

Link to comment
Share on other sites

Guest Oscgfx

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.

Link to comment
Share on other sites

Guest OvErDoSe

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...

Link to comment
Share on other sites

Guest Oscgfx

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 !

Link to comment
Share on other sites

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:

Link to comment
Share on other sites

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:

Link to comment
Share on other sites

Guest Oscgfx

Im not lawyer, just technician :errm:

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...