Jump to content

Search the Community

Showing results for tags 'php'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 16 results

  1. I'm trying to add a span tag around a widget title, but I can't find where Pagelines is generating the code around widget titles. In what file might I find that? Changing the php in the actual widget's files doesn't have any effect so I'm assuming pagelines is overriding it somewhere. Example: The current code is... <h3 class="widget-title">FEATURED PROPERTIES</h3> I need it to be... <h3 class="widget-title"><span>FEATURED PROPERTIES</span></h3>
  2. Hi there, if you're reading this, thank you for reading! I am desperately trying to put two images side by side, with a small margin of space between them. And I would also like to figure out how I would put two horizontal pictures atop each other (like a typical blog post, one pict atop another) but change the image size, ex: The top one would look more square and the bottom would be equal in width but not in height?! Thanks again in advance!! Vanessa
  3. Hi guys I am trying to use the "charts" shortcode in my PHP file my code is echo "[chart data='" . $i . "," . $j . "' bg='F7F9FA' labels='Drinks|Bread' colors='058DC7,50B432' size='488x200' title='Inventory Statics' type='pie']"; while $i and $j are two integers. However, I couldn't get the charts correctly, the image appears like this Could anyone help me please? Thanks
  4. Hi, I just can't figure out why my WP backend si so slow, for the PL part ("PL dashboard", Site options, Page options...). This issue was alrealdy raised in forums (e.g. : http://www.pagelines.com/forum/topic/24964-admin-panel-is-slow/), but I was asked to create a new topic. Anyway, I made so many tests with so many settings I'm a bit lost atm, and it's probably better to start from scratch and to stick to my own situation. 1. My configuration at this very moment is : WP 3.5.1 Pagelines 2.4 All plugins deactivated except Askimet and PL sections Pagelines debug mode enabled : http://www.erwanlescop.fr/?pldebug=1 Shared hosted server (max 80 Mb for PHP RAM) + Cloudflare CDN & WCO enabled Memory limit in wp-config : define('WP_MEMORY_LIMIT', '64M') Php info : http://www.erwanlescop.fr/info.php 2. As a result : Page load time : 1.32 s --> http://tools.pingdom.com/fpt/#!/dUf8tMKpp/http://www.erwanlescop.fr Time from WP frontend to backend : slow, IMO --> video http://screencast.com/t/cNEjyqGs2B Time from "WP dashboard" to "PL dashboard" : very slow, IMO --> video http://screencast.com/t/V6ZvzHxgXBaT Time from "PL dashboard" to "Site options" : very very slow IMO --> video http://screencast.com/t/EM8N9upS Time from "Site options" to "Page options" : VERY VERY VERY slow IMO --> video http://screencast.com/t/5ay6spUas These measurements are not very different with other browsers + I have a pretty good internet connection bandwidth (donwload : 8 MB) + made with nothing else opened than Firefox on my computer. And they are worse with something like twelve well know and reliable plugins activated such as Jetpack or Disqus (whilst I thought for a while that THIS was the problem, versus PL only with no plugins). Hence : 1. Any explanation ? Do I miss something obvious... ? 2. My under development blog is and will remain low trafficked : could you confirm me it IS suppposed to be enough for Pagelines (I read so many many different, contradictory assumptions pertaining RAM requirements in the forums) ? Many many thanks in advance. Best regards.
  5. Price Section Mod

    I'm looking for a resource who can help me modify a Section I bought from Pagelines Store called Pricing. I have added a new field to a copy of the section. The new version works great on my WAMP, but reverts back to the original section when I upload it. It does show up in the store. It is activated and the original one is deactivated. It is showing up in the Drag/Drop area. However there are hash symbols where there should be buttons. I needed to add a PayPal button option. The original only had buttons with URL links. I have attached the modified sections.php file for your reference. The new PayPal buttons work on my local server, but not on my webserver. It works with either type of button on my local server, too. You can find the website here: http://www.bluelogicentertainment.com/wp/pricing/website-packages When it goes live it will be www.bluelogicllc.com Thanks. Taama Forasiepi PS. I there a way to allow for more than one row of items per page? section.php
  6. 2.2 to 2.4 upgrade problem

    Please help. I just upgraded my website to PageLines 2.4 and now it looks like crap. I want it to visually be back the way it was. Can I downgrade to the previous setup? Can I somehow use the new PageLines to make it look simple and great again? When I contact PageLines' Contact Us page I received the following: "...There is a PHP-related issue that occurred during the upgrade (and there is a fix that can be implemented to bring your site back to normal)..." What is this fix that they're referring to? I've attached a screenshot of what the site looked like in its former glory.
  7. Hi, I'm using PageLines 2.4 to develop a site located presently at: http://s4977.sites.pressdns.com/ I'm working with my developer to integrate a web form that uses a php include and jQuery validate. What I'm trying to do: - I want to be able to use the form throughout the site on different pages, on a sidebar, landing pages, and occasionally on a blog post. - I want to use a template bases approach vs. manually adding the custom form code each time - Since the form uses php (and other code) it can't be simply cut/pasted in an html area and work I've tested adding the form to the home page of the site above using a PageLines content section. That gets the job done but it seems like it could be setup with a template or include to be added quickly elsewhere. Perhaps a custom PageLines section? My last point is the crux of my question. What's the best way to integrate this form with PageLines? My developer is familiar with WordPress but not PageLines. I would appreciate any ideas or feedback. Thanks very much. ~ julian form.php
  8. Hello! Friends, I would like to replace the custom logo only for some specific pages, is it possible to do? I've found a hook "pagelines_before_branding_icons", but i don't know if i'm using it right. Here is the code i added to the pagelines-customize/function.php function frontlogo(){ echo '<a id="39" class="plbrand mainlogo-link" title="InteSys" href="http://desenv.intesys.com.br/home/frontmail-email-marketing/"><img class="mainlogo-img" alt="InteSys" src="image link here" /> </a> '; // the page id is 39 and 222. } add_action( 'pagelines_before_branding_icons', 'frontlogo' ); In this case the image is added on all pages and what i wanted to do is replace the current image by another. Any help? Many thanks!
  9. Hi There Although my CSS is improving quickly having customised this site with little help, I am still quite a newbie when it comes doing doing some PHP. Can anyone help with achieving a sidebar customisation on this site http://koruhealing.co.nz/home/ I have attached a layout file to depict what I want to achieve - many thanks
  10. How To : Control Features

    Hello, Hello, Is it possible to get the php code for Features control ? Pause, play, next feature... I need this codes for insert controls button or link into my features (pause, next, etc.) Other question : Is it possible to control features with a script javascript or actionscript ? Is it possible ? How ? Is there an page where find the listing of php code control ? Thank you.
  11. Php Footer Customization

    Hello! I need to put some php code into the footer of my template and i want that this code appear in all the pages. I would like to know where can i do this? Is it possible to do this via pagelines widget, sections etc? or do i have to put this code inside a specific php file?
  12. On adding to the 'pagelines-customize/functions.php' page I have somehow caused my site to crash and it won't let me access anything but the 'pagelines-customize/functions.php' page via the browser back button and no change i make, even my deleting all my additions and returning it to its original state makes any difference. The error message is: Parse error: syntax error, unexpected $end in /home/content/70/10021170/html/wp-content/plugins/pagelines-customize/functions.php on line 61 Very worrying that I can't get into any of the site now. Site is here: www.irishlitsoc.org
  13. Hi, Running Wordpress 3.4.2 Tried to update Pagelines Framework to the latest version. However something went wrong and the site disappeared also lost access to Admin pages with an internal server error. Looked at the logs and saw this error: [19-Oct-2012 13:40:29] PHP Fatal error: Class 'PageLinesNav' not found in /home/hinelega/public_html/wp-content/themes/pagelines/sections/brandnav/section.php on line 18 So I physically disabled Pagelines theme by login in via FTP and adding XXX's into the pagelines directory name forcing the install to revert to Twenty Eleven theme, Admin pages came back up as did the site in Twenty Eleven theme, so data and Wordpress install seems fine. Restored Pagelines framework from backup, however whenever I try to Activate the Framework I get the same error. Deactivated all Plugins, but again same error. Tried restoring the database from the backup and all was good with the database, but again no change. The site is hinelegal.com, (however I am blocking access to it right now). I am now not sure what update had last been done which I restored from my backup. However I was definitely updating to the latest Pagelines update when the error occurred. I'll also mention I am using a child theme with this install in case that is a factor. Any ideas. Thanks, Jamie
  14. I am wondering how I might be able to move different content around and add different elements to the post loop and sing post. for instance I want to move the metabar above the post title. I also want to put the categories and comments down at the bottom of the post loop. Anyone have ideas on how to achieve this. It seems to me that loops would be the easiest way, I'm just not sure where to start. Any help would be greatly appreciated.
  15. Hi All, I use Slidedeck 2 and want to use some shortcode to run in a pop up window use in a lightbox style popup. The code is <?php eco do_shortcode("[slideeck2 id=xxxx]");?> I can not find anywhere in 2.3 to add php to be used in a hook. How do I do that. Also there will I am sure be other bit of php I want to use in time one web site is www.johnnbroome.co.uk If it is a plugin then that's fine. Cheers John
  16. Hello everyone, I would like to translate the "Load More Posts" Postpin section button into French with the following words: "Afficher plus d'articles". I identify the PHP file to edit (...wp-content/plugins/pagelines-sections/pagelines-postpins/section.php) and the two lines I have to modify: jQuery('.fetchpins a').removeClass('loading').text('<?php _e('Load More Posts', 'pagelines');?>'); $next_url = sprintf('<div class="%s fetchlink" %s><a class="btn" href="%s">%s</a></div>', $class, $display, $u, __('Load More Posts', 'pagelines')); The problem is there is an apostrophe in "Afficher plus d'articles" and of course I need to convert this apostrophe into text. Then I try to insert a backslash just before the apostrophe like this: "Afficher plus d'articles". That way the button displays the French words I want but the Postpin section doesn't work anymore. For sure I miss something. Any help please?
×