hi eveyone,
i have a site that users can post images of material before it was just my site url/client/postnumber
example: http://www.slabber.ca/view/stone/1509 .
now i have the clients under a subdomain and it post's like this http://milestone.slabber.ca/view/stone/1509 .
i need some help adding the client name in front of the domain for posting to pintrest, facebook and twitter.
here is the code:
<div id="social">
<a href="http://pinterest.com/pin/create/button/?url=http%3A%2F%2Fslabber.ca<?php echo urlencode(uurl('view/stone/' . $this->stone->id, true)); ?>&media=http%3A%2F%2Fslabber.ca<?php echo urlencode(url(Stock::image(User::id(true), $this->stone->id, 'originals'), true)) ?>&description=<?php echo urlencode(ucwords(strtolower($this->stone->name)) . ' '.ucwords(strtolower($this->stone->category)).' '.($this->stone->is_remnant ? 'remnant' : 'slab') .' sold by ' . $this->user->business . ' | Size: ' . str_replace('inch', '', str_replace('cm', '', str_replace('inches', '', Stock::dimensions($this->stone->width, $this->stone->height, $this->user->use_imperial)))) . ' x ' . Stock::thickness($this->stone->thickness, $this->user->use_imperial)) ?>" class="pin-it-button" count-layout="horizontal">
<img border="0" src="//assets.pinterest.com/images/PinExt.png" title="Pin It" />
</a>
<div class="fb-like" data-href="http://slabber.ca<?php echo uurl('view/stone/' . $this->stone->id, true); ?>" data-send="false" data-layout="button_count" data-width="55" data-show-faces="false" data-font="arial"></div>
<a href="https://twitter.com/share" class="twitter-share-button" data-text="<?php echo (ucwords(strtolower($this->stone->name)) . ' ('.ucwords(strtolower($this->stone->category)).') sold by ' . $this->user->business) ?>" data-lang="en" data-url="http://slabber.ca<?php echo uurl('view/stone/' . $this->stone->id, true) ?>" data-count="horizontal" data-via="slabbercms">Tweet</a>
<?php if (!$this->small): ?>
any help would be great.