Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

Atahualpa as a CMS issues


  #1  
Old Oct 15, 2009, 12:00 AM
twola
 
27 posts · Sep 2009
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
  #2  
Old Oct 15, 2009, 02:01 AM
twola
 
27 posts · Sep 2009
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>
  #3  
Old Oct 15, 2009, 02:13 AM
juggledad's Avatar
juggledad
 
23,632 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old Oct 15, 2009, 02:18 AM
twola
 
27 posts · Sep 2009
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.
  #5  
Old Oct 15, 2009, 02:29 AM
twola
 
27 posts · Sep 2009
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.

Last edited by twola; Oct 15, 2009 at 02:31 AM.
  #6  
Old Oct 15, 2009, 02:37 AM
juggledad's Avatar
juggledad
 
23,632 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
please post the url pointing to an example
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Oct 15, 2009, 09:08 AM
twola
 
27 posts · Sep 2009
I Pmed you the URL.
  #8  
Old Oct 15, 2009, 03:05 PM
juggledad's Avatar
juggledad
 
23,632 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Which is a custom page and whei is normal?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #9  
Old Oct 15, 2009, 03:51 PM
twola
 
27 posts · Sep 2009
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)
  #10  
Old Oct 15, 2009, 04:49 PM
juggledad's Avatar
juggledad
 
23,632 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what options do you have set on the smooth slider page?
(it's evening here)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #11  
Old Oct 15, 2009, 05:03 PM
twola
 
27 posts · Sep 2009
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 !
  #12  
Old Oct 16, 2009, 11:56 PM
twola
 
27 posts · Sep 2009
*bumpppp any ideas juggle dad?
  #13  
Old Oct 17, 2009, 12:23 PM
juggledad's Avatar
juggledad
 
23,632 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
can't find the sell uyour ride and list your ride needs a id/password - please set me up with a test id.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
FavIcon Issues dstorm Atahualpa 3 Wordpress theme 7 Oct 11, 2009 09:52 AM
[SOLVED] Atahualpa 3.4.2 speed issues ?? Dr.GameMaker Atahualpa 3 Wordpress theme 7 Jul 26, 2009 03:13 PM
Basic level question - Wordpress as CMS with blog attached tiber Installing & running WordPress 1 Jul 21, 2009 07:12 AM
Forum Issues ldsmedia Atahualpa 3 Wordpress theme 2 Jul 10, 2009 08:16 PM
Excerpts Issues RuthSmith Excerpts, Read more, Pagination 1 Feb 26, 2009 06:49 PM


All times are GMT -6. The time now is 05:18 AM.


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