Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Template listings


  • Please log in to reply
6 replies to this topic

#1 KamakaZ

KamakaZ

  • Members
  • 739 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Victoria
  • Local time:05:09 AM

Posted 30 March 2009 - 10:25 PM

I have a website that sells web designs/templates... i like the layout and being able to interact with the one a wordpress Here.

I'm mainly only looking to create the preview tab and have similar things happen to the wordpress one.

It looks like it uses a mix of java and flash, is this right?

How would i even start coding something like this? Would each theme have it's own sample site and use an iframe to open the site...?

There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.


BC AdBot (Login to Remove)

 


#2 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:12:09 PM

Posted 30 March 2009 - 10:31 PM

No flash there. It is just an image and a description. The easy way to do that is to store the text and image in a database, and then a mechanism to iterate through them. There is no way one could tell if it uses java; that is a server side language and would leave no traces in the HTML. Perhaps you mean Javascript?

#3 KamakaZ

KamakaZ
  • Topic Starter

  • Members
  • 739 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Victoria
  • Local time:05:09 AM

Posted 30 March 2009 - 10:41 PM

sorry, yes i mean javascript... I've been programming in "java" today... sorry...

i mean the whole action when you click on the preview button, i want a similar thing on my website.

It does use javascript to preview the theme:

<p class="button preview-button"><a class='thickbox' href='http://wp-themes.com/gear?TB_iframe=true&width=600&height=400'>Preview</a></p>
&lt;script type="text/javascript" src="/extend/extend-themes/themes/thickbox/theme-preview.js"></script>


i have no idea how to even start though. i suppose i could borrow their code and mod it!

Edited by KamakaZ, 30 March 2009 - 10:43 PM.

There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.


#4 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:12:09 PM

Posted 30 March 2009 - 11:04 PM

i have no idea how to even start though. i suppose i could borrow their code and mod it!

That's what I would do. Really though, it is not using Javascript to load the template. It is straight up html. Now the href itself may being generated by javascript, but it is equally likely that it is .asp, .php. or any other number of languages.

It is not as hard as you think. They use php, but you can use anything really. :thumbsup: Even servlets or .jsp.

#5 KamakaZ

KamakaZ
  • Topic Starter

  • Members
  • 739 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Victoria
  • Local time:05:09 AM

Posted 30 March 2009 - 11:14 PM

so it's just the button being made by the java script... my website is already using php for other tasks, such as domain name proccessing...

i have a nifty tool that will copy entire websites, including images and any server side processing code in the pages. I might use it and see how they are doing it...

I'll have a crack tonight and see what i can come up with...

Thanks

There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.


#6 KamakaZ

KamakaZ
  • Topic Starter

  • Members
  • 739 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Victoria
  • Local time:05:09 AM

Posted 30 March 2009 - 11:39 PM

could use something like this... i have other websites that are running joomla, could just make a sub directory in this website, names templates and install joomla into there with the mentions module here

http://forum.joomla.org/viewtopic.php?f=46...521&start=0

There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.


#7 jgalty

jgalty

  • Members
  • 5 posts
  • OFFLINE
  •  
  • Local time:02:09 PM

Posted 04 April 2009 - 05:39 PM

You could use something like Highslide you will have to donate if you plan on using it to make money but it's worth checking out. Good luck.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users