Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   Atahualpa as a CMS issues (http://forum.bytesforall.com/showthread.php?t=3892)

twola Oct 15, 2009 12:00 AM

Atahualpa as a CMS issues
 
So we have a full blown site that uses this great theme.

We have a mix of custom PHP pages that use:

<?php
include (TEMPLATEPATH . '/functions/bfa_get_options.php');
get_header();
?>

We also have regular pages using the "create a new page" link.

The thing we are running into is that both types of pages have different CSS. What this means that we tried using the smooth gallery plug in that worked just fine in our PHP pages but dont wish to work on our wordpress pages.

We get javascript errors and the likes.

So the question of the day is how can we have similar CSS on both sorts of pages.



Thanks guys

twola Oct 15, 2009 02:01 AM

This is the junk I get in my posts...


Code:

<div align ="center">
<p><script type="text/javascript"></p>
<p>stepcarousel.setup({</p>
<p>        galleryid: 'smooth_sliderc', //id of carousel DIV</p>
<p>        beltclass: 'smooth_sliderb', //class of inner "belt" DIV containing all the panel DIVs</p>
<p>        panelclass: 'smooth_slideri', //class of panel DIVs each holding content</p>
<p>        autostep: {enable: true, moveby:1, pause:10000},</p>
<p>        panelbehavior: {speed:500, wraparound:false, persist:false},</p>
<p>        defaultbuttons: {enable: true, moveby: 1, leftnav: ['http://sitename.com/wp-content/plugins/smooth-slider/images/button_prev.png', -25, 72.5], rightnav: ['http://sitename.com/wp-content/plugins/smooth-slider/images/button_next.png', 0, 72.5]},</p>
<p>        statusvars: ['imageA', 'imageB', 'imageC'], //register 3 variables that contain current panel (start), current panel (last), and total panels</p>
<p>        contenttype: ['inline'], //content setting ['inline'] or ['external', 'path_to_external_file']</p>
<p>        onslide:function(){</p>
<p>          jQuery("#smooth_sliderc_nav li a").css("fontWeight", "normal");</p>
<p>          jQuery("#smooth_sliderc_nav li a").css("fontSize", "12px");</p>
<p>          var curr_slide = imageA;</p>
<p>            jQuery("#sldr"+curr_slide).css("fontWeight", "bolder");</p>
<p>          jQuery("#sldr"+curr_slide).css("fontSize", "17px");</p>
<p>  }</p>


juggledad Oct 15, 2009 02:13 AM

What version of Atahualpa, WP and PHP?
are you getting this in
A - one of the regular pages using the "create a new page" link.
B - one of the custom PHP pages
or
C - in the normal blog page

twola Oct 15, 2009 02:18 AM

PHP 5
Atahualpa 4.4.4
Wordpress Mu 2.8.4a

This occurs on the home page (created in the admin section)
However it appears fine in any custom pages that I create.


The plug in I am using is Smooth Slider. You can install it and see for yourself.

twola Oct 15, 2009 02:29 AM

Also FYI it is only the home page that I am using that is created using wordpress admin section.

I would have used a custom index.html file (i prefered that)...however it was appearing at a higher execution order than index.php (provided by wordpress) and it was screwing up the child sub blogs.

Thus we had to create the "Home" page and port the code in it. The home page just appears slightly different than the "custom" pages created using :

<?php
include (TEMPLATEPATH . '/functions/bfa_get_options.php');
get_header();
?>

It just appears that the CSS is different on both types of pages.

juggledad Oct 15, 2009 02:37 AM

please post the url pointing to an example

twola Oct 15, 2009 09:08 AM

I Pmed you the URL.

juggledad Oct 15, 2009 03:05 PM

Which is a custom page and whei is normal?

twola Oct 15, 2009 03:51 PM

Juggledad, the link I sent you is the normal page (the one that messes up with the smooth gallery plug in).

If you scroll down and see "Latest Automotive News & Article Publications" well that is supposed to scroll but does not. If you look at the HTML source, you will see why.



If you look in the navigation, "List Your Ride" and "Sell your ride" are custom pages.


The plug in works fine on those (Good morning by the way)

juggledad Oct 15, 2009 04:49 PM

what options do you have set on the smooth slider page?
(it's evening here)

twola Oct 15, 2009 05:03 PM

Default settings that came with it. Only exception is the orange text color. That is all.

I have also put the smooth scroller on the "contact us" page at the bottom, and as you can see that it works there. Just not on the home page (which is word press admin created)

Im so lost !

twola Oct 16, 2009 11:56 PM

*bumpppp any ideas juggle dad?

juggledad Oct 17, 2009 12:23 PM

can't find the sell uyour ride and list your ride needs a id/password - please set me up with a test id.


All times are GMT -6. The time now is 10:54 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.