Forum Support

Shape 5
April 11, 2021, 09:57:26 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Base URL vs development URL  (Read 404 times)
bbcorner
Jr. Member
**
Offline Offline

Posts: 12



« on: January 26, 2015, 02:13:58 AM »

Hi,

I am developing under http://www.sitename.co.za/site.

The modules references I.E .css and .js are referencing the base URL correct, but the images are not including my development directory (/site)

http://XXXXXX.co.za/site/modules/mod_s5_photo_expression/s5_photo_expression/scroll.js
http://XXXXXX.co.za/modules/mod_s5_photo_expression/s5_images_photo_expression/thumbnail1.jpg

Please advise...

Wayne
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: January 27, 2015, 01:39:04 PM »

Hello,

If you open up the mod_s5_photo_expression.php file you can see why this is happening and you can insert your sub directory in this code:


Code:
$s5_vm_qc_files_thumb = glob("modules/s5_images_photo_expression/thumbnail*");
for ($s5_vm_qc_i_thumb=0; $s5_vm_qc_i_thumb<count($s5_vm_qc_files_thumb); $s5_vm_qc_i_thumb++)
{
$s5_vm_qc_file_thumb = $s5_vm_qc_files_thumb[$s5_vm_qc_i_thumb];
$smallurl_image[$s5_vm_qc_i_thumb + 1] = $s5_vm_qc_file_thumb;
}
$s5_vm_qc_files_large = glob("modules/s5_images_photo_expression/large*");
for ($s5_vm_qc_i_large=0; $s5_vm_qc_i_large<count($s5_vm_qc_files_large); $s5_vm_qc_i_large++)
{
$s5_vm_qc_file_large = $s5_vm_qc_files_large[$s5_vm_qc_i_large];
$largeurl_image[$s5_vm_qc_i_large + 1] = $s5_vm_qc_file_large;
}
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.